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nC,EAAA1oC,OAAFkB,MAAE,WAAAqlG,EAAAO,MAAAP,EAAAO,MAAA,QAAAp+D,EAAA4pD,YAAA,KAAAuU,EAAA,IAAAn+D,EAAAiqD,oBAAA,IAAFzxF,CAmhBw9Q,WAAAqlG,EAAAQ,MAnhBx9Q7lG,MAAE,0BAAAqlG,EAAAS,aAAAT,EAAAS,aAAAT,EAAAhQ,WAAFr1F,CAAE,uBAAAqlG,EAAAU,eAAF/lG,cAAE,kBAmhB4sR,WAAAgmG,GAAAvuE,EAAApmB,GAAA,EAAAomB,IAnhB9sRz3B,MAAE,EAAA0lG,GAAA,cAAF1lG,MAAE,cAAAy3B,GAAFz3B,MAAE,UAAFA,MAAE,IAAAqR,EAAAizF,YAmhB4zQ,CApxBt6Q,MAAM2B,GAAa,CACf,OACA,UACA,aACA,oBACA,eACA,SACA,UACA,uBACA,iBACA,SACA,oBACA,SACA,UACA,iCACA,YACA,MACA,sBACA,sBACA,YACA,cACA,iBACA,mBACA,UACA,cACA,gBACA,iBACA,0BACA,QACA,kBACA,sBACA,sBACA,kBACA,wBACA,sBACA,qBACA,sBACA,4BACA,iBACA,eACA,aACA,aACA,gBACA,eACA,cACA,kBACA,eACA,gBACA,iBACA,aACA,2BACA,2BACA,gCACA,sBACA,oBACA,cACA,mBACA,uBACA,cACA,gBACA,2BACA,uBACA,iBACA,sBACA,QACA,wBACA,gBACA,qBACA,0BACA,oBACA,UACA,kBACA,kBACA,gBACA,aACA,iBACA,oBACA,mBACA,yBACA,aACA,kBACA,mBACA,4BACA,oBACA,sBACA,iBACA,0BACA,iBACA,0BACA,eACA,qBACA,WACA,iBACA,uBAEA,OACA,WACA,cACA,kBACA,aACA,aACA,aACA,iBACA,cACA,iBACA,UACA,WACA,OACA,aACA,cACA,cACA,WACA,aACA,UACA,UACA,OACA,MAGJ,SAAS7rB,GAASgI,GACd,MAAqB,iBAANA,GACL,OAANA,GACAA,EAAE16E,aACiD,WAAnDoE,OAAO6rB,UAAUn0B,SAASygD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AIliF,EAAS,IAAM+uT,EAAU7sO,EAAIliF,EAAS,IAAM,IAAM+uT,EAAU7sO,EAAIliF,EAAS,IAAM+uT,EAAU7sO,EAAIliF,EAAS,IAAM,IAAM+uT,EAAU7sO,EAAIliF,EAAS,KAAO+uT,EAAU7sO,EAAIliF,EAAS,KAAO+uT,EAAU7sO,EAAIliF,EAAS,KAAO+uT,EAAU7sO,EAAIliF,EAAS,KAAO+uT,EAAU7sO,EAAIliF,EAAS,KAAO+uT,EAAU7sO,EAAIliF,EAAS,MAAMolG,cAMzf,KAAI,EAAC+pN,KAAS3mB,GACZ,MAAMv2N,UAAU,+BAGlB,OAAOu2N,CACT,CCPS95O,CAAUwgQ,EACnB,mDCrBA,MAAAE,EAAe,sHCMfC,EAJA,SAASF,EAAS3mB,GAChB,MAAuB,iBAATA,GAAqB8mB,EAAMhqN,KAAKkjM,EAChD,oBCJA,IAAApmS,EAAA,CACA,8BACA,KACA,KACA,MAEA,+BACA,KACA,KACA,MAEA,wBACA,KACA,KACA,MAEA,wBACA,KACA,KACA,MAEA,2BACA,KACA,MAEA,8BACA,KACA,KACA,MAEA,2BACA,KACA,MAEA,+BACA,KACA,KACA,MAEA,2BACA,KACA,MAEA,yBACA,KACA,MAEA,2BACA,KACA,MAEA,uBACA,KACA,MAEA,wBACA,KACA,MAEA,kCACA,KACA,KACA,MAEA,6BACA,KACA,KACA,KACA,MAEA,wBACA,KACA,KACA,MAEA,sBACA,IACA,KAEA,oCACA,KACA,KACA,MAEA,wCACA,KACA,KACA,MAEA,wBACA,IACA,KACA,KAEA,gCACA,KACA,KACA,MAEA,yBACA,KACA,KACA,MAEA,0BACA,KACA,KACA,MAEA,yBACA,KACA,KACA,MAEA,wBACA,KACA,KACA,MAEA,wBACA,IACA,KACA,KAEA,uCACA,KACA,MAEA,gCACA,KACA,KACA,MAEA,yBACA,KACA,MAEA,0BACA,KACA,KACA,MAEA,+BACA,KACA,MAEA,0BACA,KACA,KACA,MAEA,wBACA,IACA,KACA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GAAGrC,GAAUE,GAAkBmC,4BAA4BvC,GAAiBE,GAAUE,GAAkBmC,iBAAiBnC,GAAkB8C,6BACrJ,EACAG,oBAAqBA,IAAM,GAAGnD,GAAUE,GAAkBmC,aAAc,yBAExEe,oBAAqB,aACrBC,0BAA0B,EAC1BC,mCAAmC,EACnCC,sCAAsC,EACtCC,iBAAiB,EACjBC,iBAAkB,GAClBC,oBAAgBl3b,EAChBm3b,WAAW,GAGf,IAAIC,GACH,SAAUA,IACPA,UAAeA,GAAe7e,SAAc,GAAK,WACjD6e,GAAeA,GAAexoP,WAAgB,GAAK,aACnDwoP,GAAeA,GAAerjL,QAAa,GAAK,UAChDqjL,GAAeA,GAAej3Z,KAAU,GAAK,OAJtCi3Z,EAKX,CALC,CAKEA,IAAoC,CAAC,GASpCC,GACH,SAAUA,IACPA,UAAeA,GAAeC,OAAY,GAAK,SAC/CD,GAAeA,GAAeE,SAAc,GAAK,WACjDF,GAAeA,GAAeG,MAAW,GAAK,QAHvCH,EAIX,CAJC,CAIEA,IAAoC,CAAC,GAGxC,MAAMI,GAAc,CAChB,kBACA,cACA,mBACA,kBACA,uBACA,sBACA,oBACA,eACA,qBACA,iBACA,mBACA,oBACA,qBACA,0BACA,WACA,wBACA,yBACA,mBACA,qBACA,oBACA,aACA,sBACA,aACA,eACA,gBACA,gBACA,gBACA,eACA,gBACA,gBACA,UACA,kBACA,iBACA,YACA,mBACA,oBACA,YACA,qBACA,gBACA,sBACA,UACA,0BACA,WACA,eACA,YACA,mBACA,YACA,sBACA,2BACA,gBACA,WACA,kBACA,wBACA,OACA,WACA,WACA,iBACA,iBACA,0BACA,cACA,iBACA,aACA,gBACA,eACA,gBACA,WACA,iBACA,iBACA,eACA,mBACA,WACA,cACA,gBACA,cACA,uBACA,mBACA,aACA,iBACA,gBACA,oBACA,oBACA,4BACA,uBACA,mBACA,kCACA,yBACA,wBACA,iBACA,uBACA,aACA,aACA,YACA,eACA,gBACA,aACA,gBACA,eACA,kBACA,kBACA,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AgD,cAAA,gBAAAvE,gBAAA,mBAAAn2Z,QAAA,CAAAg2Z,eAAA,kBAAAn+Z,mBAAA7C,EAAApM,MAAA,EAAAC,KAAA,EAAAC,OAAA,+QAAAC,SAAA,SAAAC,EAAApmB,IAA2e,GAA3e,EAAAomB,IAtgFjBz3B,cAAE,SAAFA,MAAE,EAAAukc,EAAA,oBAAFvkc,cAAE,EAAAwkc,EAAA,yBAAFxkc,QAsgF4f,EAAAy3B,EAAA,OAAAkub,GAtgF5f3ld,MAAE,GAAFA,cAAE,mBAAAqR,GAAA83b,cAAA93b,GAAA83b,cAAAwc,GAsgFic,GAAA/zW,aAAA,CAAivB5+E,KAAuK4xb,GAAqMY,MAC7nD,OA9BKC,EAAmB,KAkDnBG,GAAqB,MAA3B,MAAMA,GACFC,2BACA14T,UACAx7H,SACAmza,iBACAie,gBACAhgb,SACA+ga,kBAAY,EACZG,OACAC,UACAzxZ,MACAuxZ,QACAvnc,SACAymd,MACA93b,YAAM,EACN24a,cAAe,EACf+hB,mBAAoB,EACpB5V,qBACA6V,UACAC,WACA,aAAI7C,GACA,OAAOvjd,KAAKomd,UAChB,CACA,SAAI1nX,CAAMthG,GACN,MAAMipd,EAAU,CAEZ,UACA,gBACA,mBACA,QACA,SACA,SACA,WACA,OACA,OACA,UACA,UACA,UACA,gBACA,sBACA,cACA,mBACA,oBACA,oBACA,iBACA,eACA,UACA,UACA,UACA,UACA,UACA,iBACA,UACA,UACA,cACA,eACA,WACA,eACA,qBACA,cACA,SACA,eACA,SACA,gBACA,IACA,SACA,QACA,OACA,iBACA,SACA,OACA,WACA,QACA,OACA,UACA,UACA,WACA,iBACA,OACA,SACA,MACA,OACA,QACA,MACA,SACA,SACA,OACA,WACA,QACA,QACA,UACA,MACA,QACA,QAKJ,IAFajpd,EAAM0L,MAAM,KAAKsH,OAAQq5J,GAAQA,EAAI3vK,OAAS,GACxCqyH,MAAOs9C,GAAQA,EAAInkG,WAAW,QAAUmkG,EAAInkG,WAAW,MAAQ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CoY,GAAA,CAAUrmB,MAAAiO,GAAA4lC,KAAAi+B,IAAmB,EAAIrqB,GAAA,CADf85a,CAAAl7c,GAAAohC,IAAAx5C,GAAAm3E,GAAAz5E,IAAAsC,KAAA4lC,KAAA5lC,GAAAjO,MAAA,EAAwD,EAE3J,2DAkEA,mBAAAyhe","names":["invalidTimingValue","exp","ɵRuntimeError","ngDevMode","optimizeGroupPlayer","players","length","NoopAnimationPlayer","ɵAnimationGroupPlayer","normalizeKeyframes$1","normalizer","keyframes","preStyles","Map","postStyles","errors","normalizedKeyframes","previousOffset","previousKeyframe","forEach","kf","offset","get","isSameOffset","normalizedKeyframe","val","prop","normalizedProp","normalizedValue","normalizePropertyName","ɵPRE_STYLE","AUTO_STYLE","normalizeStyleValue","set","push","animationFailed","listenOnPlayer","player","eventName","event","callback","onStart","copyAnimationEvent","onDone","onDestroy","e","phaseName","makeAnimationEvent","element","triggerName","fromState","toState","totalTime","disabled","data","_data","getOrSetDefaultValue","map","key","defaultValue","value","parseTimelineCommand","command","separatorPos","indexOf","substring","slice","documentElement","document","getParentElement","parent","parentNode","host","_CACHED_BODY","_IS_WEBKIT","containsElement","elm1","elm2","invokeQuery","selector","multi","Array","from","querySelectorAll","elem","querySelector","NoopAnimationDriver","validateStyleProperty","getBodyNode","body","style","result","containsVendorPrefix","charAt","toUpperCase","query","computeStyle","animate","duration","delay","easing","previousPlayers","scrubberAccessRequested","static","this","ɵfac","__ngFactoryType__","ɵprov","i0","token","factory","AnimationDriver","NOOP","AnimationStyleNormalizer","ONE_SECOND","ENTER_CLASSNAME","LEAVE_CLASSNAME","NG_TRIGGER_CLASSNAME","NG_TRIGGER_SELECTOR","NG_ANIMATING_CLASSNAME","NG_ANIMATING_SELECTOR","resolveTimingValue","matches","match","_convertTimeValueToMS","parseFloat","unit","resolveTiming","timings","allowNegativeValues","hasOwnProperty","parseTimeExpression","delayMatch","easingVal","containsErrors","startIndex","negativeStepValue","negativeDelayValue","splice","setStyles","styles","formerStyles","camelProp","dashCaseToCamelCase","has","eraseStyles","_","normalizeAnimationEntry","steps","isArray","sequence","PARAM_REGEX","RegExp","extractStyleParams","params","exec","lastIndex","interpolateParams","original","str","replace","varName","localVal","invalidParamValue","toString","DASH_CASE_REGEXP","input","m","visitDslNode","visitor","node","context","type","AnimationMetadataType","Trigger","visitTrigger","State","visitState","Transition","visitTransition","Sequence","visitSequence","Group","visitGroup","Animate","visitAnimate","Keyframes","visitKeyframes","Style","visitStyle","Reference","visitReference","AnimateChild","visitAnimateChild","AnimateRef","visitAnimateRef","Query","visitQuery","Stagger","visitStagger","invalidNodeType","window","getComputedStyle","DIMENSIONAL_PROP_SET","Set","WebAnimationsStyleNormalizer","propertyName","userProvidedProperty","normalizedProperty","strVal","trim","valAndSuffixMatch","invalidCssUnitValue","ANY_STATE","TRUE_BOOLEAN_VALUES","FALSE_BOOLEAN_VALUES","makeLambdaFromStates","lhs","rhs","LHS_MATCH_BOOLEAN","RHS_MATCH_BOOLEAN","lhsMatch","rhsMatch","SELF_TOKEN_REGEX","buildAnimationAst","driver","metadata","warnings","AnimationAstBuilderVisitor","build","constructor","_driver","AnimationAstBuilderContext","_resetContextStyleTimingState","currentQuerySelector","collectedStyles","currentTime","queryCount","depCount","states","transitions","name","invalidTrigger","definitions","def","stateDef","split","n","transition","invalidDefinition","options","styleAst","astParams","containsDynamicStyles","missingSubs","sub","add","size","invalidState","values","animation","matchers","parseTransitionExpr","transitionValue","expressions","parseInnerTransitionStr","eventStr","parseAnimationAlias","alias","invalidTransitionAlias","invalidExpression","separator","expr","normalizeAnimationOptions","s","furthestTime","step","innerAst","Math","max","timingAst","constructTimingAst","makeTimingAst","strValue","some","v","ast","dynamic","currentAnimateTimings","styleMetadata","isEmpty","newStyleData","_styleAst","isEmptyStep","_makeStyleAst","_validateStyleAst","metadataStyles","styleTuple","Object","entries","collectedEasing","styleData","delete","endTime","startTime","tuple","collectedEntry","updateCollectedStyle","invalidParallelAnimation","validateStyleParams","invalidStyleParams","invalidKeyframes","totalKeyframesWithOffsets","offsets","offsetsOutOfOrder","keyframesOutOfRange","offsetVal","consumeOffset","obj","invalidOffset","keyframeOffsetsOutOfOrder","generatedOffset","keyframesMissingOffsets","limit","animateDuration","i","durationUpToThisFrame","parentSelector","currentQuery","includeSelf","normalizeSelector","hasAmpersand","find","optional","originalSelector","invalidStagger","currentTransition","unsupportedCSSPropertiesFound","normalizeParams","createTimelineInstruction","preStyleProps","postStyleProps","subTimeline","ElementInstructionMap","_map","append","instructions","existingInstructions","clear","ENTER_TOKEN_REGEX","LEAVE_TOKEN_REGEX","buildAnimationTimelines","rootElement","enterClassName","leaveClassName","startingStyles","finalStyles","subInstructions","AnimationTimelineBuilderVisitor","buildKeyframes","AnimationTimelineContext","currentTimeline","delayNextStep","timelines","filter","timeline","containsAnimation","lastRootTimeline","allowOnlyTimelineStyles","elementInstructions","innerContext","createSubContext","_visitSubInstructions","transformIntoNewTimeline","previousNode","_applyAnimationRefDelays","animationsRefsOptions","animationRefOptions","animationDelay","animationDelayValue","instruction","instructionTimings","appendInstructionToTimeline","updateOptions","subContextCount","ctx","snapshotCurrentStyles","DEFAULT_NOOP_PREVIOUS_NODE","applyStylesToKeyframe","innerTimelines","mergeTimelineCollectedStyles","_visitTiming","incrementTime","hasCurrentStyleProperties","forwardFrame","applyEmptyStep","innerTimeline","forwardTime","elms","currentQueryTotal","sameElementTimeline","currentQueryIndex","parentContext","tl","abs","maxTime","currentStaggerTime","startingTime","_enterClassName","_leaveClassName","initialTimeline","TimelineBuilder","skipIfExists","newOptions","optionsToUpdate","newParams","paramsToUpdate","keys","_copyOptions","oldParams","newTime","target","fork","updatedTimings","builder","SubTimelineBuilder","stretchStartingKeyframe","time","results","elements","invalidQuery","_elementTimelineStylesLookup","_previousKeyframe","_currentKeyframe","_keyframes","_styleSummary","_localTimelineStyles","_pendingStyles","_backFill","_currentEmptyStepKeyframe","_globalTimelineStyles","_loadKeyframe","hasPreStyleStep","_updateStyle","flattenStyles","allStyles","allProperties","getFinalKeyframe","properties","details1","details0","finalKeyframes","keyframe","finalKeyframe","preProps","postProps","kf0","kf1","_stretchStartingKeyframe","super","newKeyframes","startingGap","newFirstKeyframe","oldFirstKeyframe","roundOffset","oldOffset","decimalPoints","mult","pow","round","createTransitionInstruction","isRemovalTransition","fromStyles","toStyles","queriedElements","EMPTY_OBJECT","AnimationTransitionFactory","_triggerName","_stateStyles","currentState","nextState","oneOrMoreTransitionsMatch","matchFns","fn","buildStyles","stateName","styler","undefined","currentOptions","nextOptions","skipAstBuild","transitionAnimationParams","currentStateStyles","nextAnimationParams","nextStateStyles","preStyleMap","postStyleMap","isRemoval","animationOptions","applyParamDefaults","elm","userParams","defaults","AnimationStateStyles","defaultParams","combinedParams","AnimationTrigger","_normalizer","transitionFactories","balanceProperties","fallbackTransition","createFallbackTransition","containsQueries","matchTransition","f","matchStyles","stateMap","key1","key2","EMPTY_INSTRUCTION_MAP","TimelineAnimationEngine","bodyNode","_animations","_playersById","register","id","registerFailed","_buildPlayer","create","autoStylesMap","inst","missingOrDestroyedAnimation","createAnimationFailed","destroy","_getPlayer","index","missingPlayer","listen","baseEvent","args","play","pause","reset","restart","finish","init","setPosition","QUEUED_CLASSNAME","DISABLED_CLASSNAME","EMPTY_PLAYER_ARRAY","NULL_REMOVAL_STATE","namespaceId","setForRemoval","setForMove","hasAnimation","removedBeforeQueried","NULL_REMOVED_QUERIED_STATE","REMOVAL_FLAG","StateValue","isObj","normalizeTriggerValue","absorbOptions","VOID_VALUE","DEFAULT_STATE_VALUE","AnimationTransitionNamespace","hostElement","_engine","_triggers","_queue","_elementListeners","_hostClassName","addClass","phase","missingTrigger","missingEvent","isTriggerEventValid","unsupportedTriggerEvent","listeners","triggersWithStates","statesByElement","afterFlush","_getTrigger","trigger","unregisteredTrigger","defaultToFallback","TransitionAnimationPlayer","objEquals","a","b","k1","k2","reportError","playersOnElement","playersByElement","queued","isFallbackTransition","totalQueuedPlayers","removeClass","deregister","entry","clearElementCache","elementPlayers","_signalRemovalForInnerTriggers","namespaces","fetchNamespacesByElement","ns","triggerLeaveAnimation","afterFlushAnimationsDone","destroyAfterComplete","triggerStates","previousTriggersValues","state","markElementAsRemoved","processLeaveNode","prepareLeaveAnimationListeners","elementStates","visitedTriggers","listener","removeNode","engine","childElementCount","containsPotentialParentTransition","totalAnimations","currentPlayers","playersByQueriedElement","removalFlag","destroyInnerAnimations","_onRemovalComplete","insertNode","drainQueuedTransitions","microtaskId","destroyed","markedForDestroy","sort","d0","d1","p","TransitionAnimationEngine","onRemovalComplete","newHostElements","disabledNodes","_namespaceLookup","_namespaceList","_flushFns","_whenQuietFns","namespacesByHostElement","collectedEnterElements","collectedLeaveElements","queuedPlayers","createNamespace","_balanceNamespaceList","collectEnterElement","namespaceList","found","ancestor","ancestorNs","unshift","registerTrigger","_fetchNamespace","stateValue","isElementNode","insertBefore","details","markElementAsDisabled","hostNS","_buildInstruction","subTimelines","skipBuildAst","containerElement","destroyActiveAnimationsForElement","finishActiveQueriedAnimationOnElement","whenRenderingDone","Promise","resolve","classList","contains","flush","cleanupFns","_flushAnimations","quietFns","triggerTransitionsFailed","skippedPlayers","skippedPlayersMap","queuedInstructions","allPreStyleElements","allPostStyleElements","disabledElementsSet","nodesThatAreDisabled","allTriggerElements","enterNodeMap","buildRootMap","enterNodeMapIds","nodes","root","className","allLeaveNodes","mergedLeaveNodes","leaveNodesWithoutAnimations","leaveNodeMapIds","leaveNodeMap","allPlayers","erroneousTransitions","previousValue","nodeIsOrphaned","stringMap","setVal","transitionFailed","allPreviousPlayersMap","animationElementMap","_beforeAnimationBuild","_getPreviousPlayers","prevPlayer","replaceNodes","replacePostStylesAsPre","postStylesMap","cloakAndComputeStyles","preStylesMap","post","pre","rootPlayers","subPlayers","NO_PARENT_ANIMATION_ELEMENT_DETECTED","overrideTotalTime","parentWithAnimation","parentsToAdd","detectedParent","innerPlayer","_buildAnimation","setRealPlayer","parentPlayers","parentPlayer","playersForElement","syncPlayerEvents","queriedPlayerResults","queriedInnerElements","j","queriedPlayers","activePlayers","removeNodesAfterAnimationDone","isQueriedElement","toStateValue","queriedElementPlayers","isRemovalAnimation","targetNameSpaceId","targetTriggerName","timelineInstruction","realPlayer","getRealPlayer","beforeDestroy","allQueriedPlayers","allConsumedElements","allSubElements","allNewPlayers","flattenGroupPlayers","finalPlayers","_flattenGroupPlayersRecur","wrappedPlayer","deleteOrUnsetInMap","currentValues","_player","_containsRealPlayer","_queuedCallbacks","callbacks","triggerCallback","_queueEvent","hasStarted","getPosition","nodeType","cloakElement","oldValue","display","valuesMap","elementPropsMap","defaultStyle","cloakVals","failedElements","props","roots","rootMap","nodeSet","localRootMap","getRoot","remove","postEntry","preEntry","AnimationEngine","doc","_triggerCache","_transitionEngine","_timelineEngine","componentId","cacheKey","triggerBuildFailed","buildTrigger","onInsert","onRemove","disableAnimations","disable","process","property","action","eventPhase","cb","SpecialCasedStyles","initialStylesByElement","WeakMap","_element","_startStyles","_endStyles","_state","initialStyles","_initialStyles","start","filterNonAnimatableStyles","isNonAnimatableStyle","WebAnimationsPlayer","_specialStyles","_onDoneFns","_onStartFns","_onDestroyFns","_initialized","_finished","_started","_destroyed","_originalOnDoneFns","_originalOnStartFns","currentSnapshot","_duration","_delay","_onFinish","_preparePlayerBeforeStart","domPlayer","_triggerWebAnimation","_finalKeyframe","onFinish","addEventListener","removeEventListener","_resetDomPlayerState","_convertKeyframesToObject","kfs","frame","fromEntries","cancel","methods","WebAnimationsDriver","validateAnimatableStyleProperty","playerOptions","fill","previousStyles","previousWebAnimationPlayers","allowPreviousPlayerStylesMerge","normalizeKeyframes","balancePreviousStylesIntoKeyframes","startingKeyframe","missingStyleProps","specialStyles","packageNonAnimatableStyles","startStyles","endStyles","DISABLE_ANIMATIONS_FLAG","BaseAnimationRenderer","delegate","_onDestroy","ɵtype","destroyNode","queueMicrotask","createElement","namespace","createComment","createText","appendChild","newChild","refChild","isMove","removeChild","oldChild","isHostElement","selectRootElement","selectorOrNode","preserveContent","nextSibling","setAttribute","el","removeAttribute","setStyle","flags","removeStyle","setProperty","setValue","AnimationRenderer","resolveElementFromTarget","parseTriggerCallbackName","dotIndex","scheduleListenerCallback","AnimationRendererFactory","_zone","_currentId","_microtaskId","_animationCallbacksBuffer","_rendererCache","_cdRecurDepth","createRenderer","cache","renderer","onRendererDestroy","animationTriggers","begin","_scheduleCountTask","count","run","animationCallbacksBuffer","end","runOutsideAngular","SHARED_ANIMATION_PROVIDERS","provide","ɵAnimationStyleNormalizer","useFactory","instantiateDefaultStyleNormalizer","ɵWebAnimationsStyleNormalizer","ɵAnimationEngine","useClass","InjectableAnimationEngine","ngOnDestroy","DOCUMENT","i1","RendererFactory2","instantiateRendererFactory","zone","ɵAnimationRendererFactory","deps","ɵDomRendererFactory2","NgZone","BROWSER_ANIMATIONS_PROVIDERS","ɵWebAnimationsDriver","ANIMATION_MODULE_TYPE","useValue","BROWSER_NOOP_ANIMATIONS_PROVIDERS","BrowserAnimationsModule","withConfig","config","ngModule","providers","ɵmod","ɵinj","imports","BrowserModule","OperatorSelectedGuard","locationStateQuery","navController","canActivate","_next","operatorIsSelected$","pipe","tap","operatorIsSelected","navigateRoot","i2","core","jDH","providedIn","RideOpsKeySetGuard","rideOpsKeyIsSet$","rideOpsKeySet","routes","path","loadChildren","__webpack_require__","then","bind","DashboardModule","OperatorsPageModule","SetupPageModule","RideOpsKeyNotSetGuard","rideOpsKeyNotSet","ManualsPageModule","NotesPageModule","redirectTo","pathMatch","AppRoutingModule","$C","G2t","RouterModule","forRoot","preloadingStrategy","PreloadAllModules","AppComponent","updateService","raygunService","locationStateService","activate","i3","VBU","selectors","decls","vars","consts","template","rf","Observable","prototype","firstAsync","firstValueFrom","Date","addHours","hours","setTime","getTime","httpInterceptorProviders","HTTP_INTERCEPTORS","AuthInterceptor","alertController","translocoService","operatorService","_this","handleUnauthorized","_ref","_asyncToGenerator","error","originalRequest","status","url","pop","currentOperator","operator$","headerUserId","headers","showUnauthorizedModalAndClearOperator","send","Error","httpErrorResponse","_x","_x2","apply","arguments","unauthorizedModalVisible","logoutOperator","alert","header","translate","message","buttons","present","onDidDismiss","intercept","request","next","_this2","combineLatest","rideOpsKey$","take","mergeMap","rideOpsKey","operator","handle","includes","pin","authenticatedRequest","clone","setHeaders","_ref3","_x3","i4","i5","rg4js","environment","buildNumber","excludedHostnames","RaygunErrorHandler","handleError","console","TranslocoHttpLoader","http","getTranslation","lang","TranslocoRootModule","provideTransloco","availableLangs","label","defaultLang","fallbackLang","missingHandler","useFallbackTranslation","reRenderOnLangChange","prodMode","isProduction","loader","TranslocoModule","preLoadTranslocoLanguage","APP_INITIALIZER","preloadLanguage","languageService","location","location$","availableLanguages","getAvailableLangs","x","language","setActiveLang","load","fallbackLangs","LocationStateQuery","TranslocoService","LanguageService","StorageConfigToken","InjectionToken","NoopStorage","Storage","defineDriver","iteratorCallback","setEncryptionKey","provideStorage","platformId","storageConfig","isPlatformServer","IonicStorageModule","PLATFORM_ID","ServiceLocator","AssignmentModule","AssigneePickerModalService","AssetPickerModalService","AssignmentSolutionDetailsModalService","AssignmentService","AssignmentModalService","CommonModule","FormsModule","ReactiveFormsModule","IonicModule","ComponentsModule","QuillViewComponent","AttachmentsComponent","QuillEditorComponent","AppModule","injector","bootstrap","ErrorHandler","RouteReuseStrategy","IonicRouteStrategy","provideHttpClient","withInterceptorsFromDi","mode","innerHTMLTemplatesEnabled","QuillModule","ServiceWorkerModule","enabled","ChecklistModule","NgxExtendedPdfViewerModule","AvatarComponent","FallbackProfileImage","utilityService","setImage","file","getImageUrl","ngOnChanges","_changes","onError","ngOnInit","_angular_core__WEBPACK_IMPORTED_MODULE_2__","inputs","features","_c0","ScannerModule","ScannerModalService","SignatureModule","SignatureModalService","FileUploadsModule","FileUploadsModalService","ImageViewerModule","ImageViewerModalService","TextEditorComponent","modalId","save","modalController","dismiss","text","modules","toolbar","list","$event","TextEditorModalService","cssClass","component","componentProps","TextEditorModule","OperatorLoginModal","ChangePinCodeModal","UserPickerModal","LanguagePickerModalModule","DirectivesModule","LastUpdatedComponentModule","_c1","ctx_r0","positionsWithAttendant$","_c2","timeLoggedIn_r2","minutes","_c3","CurrentUserComponent_div_0_div_6_span_1_Template","CurrentUserComponent_div_0_div_6_span_2_Template","CurrentUserComponent_div_0_div_6_span_3_Template","CurrentUserComponent_div_0_span_4_Template","CurrentUserComponent_div_0_div_6_Template","operator_r3","tmp_4_0","timeLoggedIn$","profileImage","CurrentUserComponent","selectOperator$","positions$","positions","position","attendant","interval","startWith","_ticks","loggedIn","now","TimeSpanModel","fromMinutes","CurrentUserComponent_div_0_Template","environmentName$","EnvironmentBarComponent","environmentQuery","environment$","isNotProduction$","EnvironmentState","Production","_angular_core__WEBPACK_IMPORTED_MODULE_3__","EnvironmentBarComponent_div_1_Template","EnvironmentBarComponent_div_3_Template","__decorate","Inject","EnvironmentQuery","GroupingComponent","_angular_core__WEBPACK_IMPORTED_MODULE_0__","ngContentSelectors","icon","data_r2","minutesSinceLastUpdate","LastUpdatedComponent_Conditional_0_Conditional_1_Template","LastUpdatedComponent_Conditional_0_Conditional_2_Template","LastUpdatedComponent_Conditional_0_Conditional_3_Template","LastUpdatedComponent_Conditional_0_Conditional_4_Template","showWarning","LastUpdatedComponent","warningThreshold","data$","lastUpdated","getMinutesSince","_angular_core__WEBPACK_IMPORTED_MODULE_1__","LastUpdatedComponent_Conditional_0_Template","tmp_0_0","_r1","ctx_r1","dispatches","_r3","riders","CloseLocationComponent","uiQuery","checklistModalService","allowChangingDispatchesWhenClosingLocation$","allowChangingRidersWhenClosingLocation$","initialize","getDispatches","getRiders","close","isClosing","inputCycles","inputRiders","closingChecklist","closingChecklist$","show","closeLocation","askForLogout","backdropDismiss","role","handler","dispatches$","riders$","i6","i7","CloseLocationComponent_app_grouping_5_Template","CloseLocationComponent_app_grouping_7_Template","template_r2","$implicit","ctx_r2","toggleTemplate","DownLocationComponent_ng_container_4_app_grouping_1_ion_button_2_ion_icon_1_Template","color","selectedTemplate","DownLocationComponent_ng_container_4_app_grouping_1_ion_button_2_Template","templates_r4","DownLocationComponent_ng_container_4_app_grouping_1_Template","DownLocationComponent","apiService","templates$","downtimeTemplates$","saving","description","startDowntime","down","categories","setLocationAsdown","DownLocationComponent_ng_container_4_Template","downLocation","LocationStatusComponent_ion_fab_2_ion_button_4_Template","LocationStatusComponent_ion_fab_2_ion_button_6_Template","locationState$","LocationStatusComponent","selectState$","LocationStatusComponent_ion_fab_2_Template","currentUrl_r3","allowNavigation_r4","_c4","_r5","statistics","_c5","MenuBarComponent_div_0_ng_container_3_div_7_Template","MenuBarComponent_div_0_ng_container_3_div_9_Template","showNotesIcon$","allowStatisticsForOperator$","settings","MenuBarComponent_div_0_ng_container_3_Template","currentUrl$","MenuBarComponent","router","events","NavigationEnd","urlAfterRedirects","noteTypes$","noteTypes","isDeleted","allowNavigation$","toPromise","SettingsComponent","StatisticsComponent","MenuBarComponent_div_0_Template","number_r2","select","selectedValue","NumberGridComponent_div_0_div_1_Template","numbers","NumberGridComponent","selectedValueChange","EventEmitter","destroyed$","ReplaySubject","configurationObservable","numberGridConfiguration$","cartsInUse$","seatsUnavailable$","takeUntil","subscribe","configure","emit","configuration","cartsInUse","seatsUnavailable","amount","direction","reverse","populateEmptyColumns","emptyColumns","columnsPerRow","concat","complete","outputs","NumberGridComponent_div_0_Template","NumberGridComponent_div_1_Template","NumberSelectorComponent","model","thousands","hundreds","tens","single","addType","setValueFromModel","subtractType","setModelFromValue","subtract","valueString","String","padStart","parseInt","retry","OfflineMessageComponent","showRetry","OfflineMessageComponent_ion_button_7_Template","selectedOperator","modal","OperatorLoginComponent","login","assign","exception","HttpErrorResponse","showErrorAlert","pinCodeInput","_ref2","authenticationError","_angular_core__WEBPACK_IMPORTED_MODULE_4__","viewQuery","PinCodeInputComponent","done","digit","PinCodeInputComponent_ion_icon_3_Template","PinCodeInputComponent_ion_icon_4_Template","PinCodeInputComponent_ion_icon_5_Template","PinCodeInputComponent_ion_icon_6_Template","PinCodeInputComponent_ion_icon_7_Template","PinCodeInputComponent_ion_icon_8_Template","PinCodeInputComponent_ion_icon_9_Template","PinCodeInputComponent_ion_icon_10_Template","setDashboardStatistics","dashboardStatisticsMetricName$","uiService","languagePickerModal","factoryResetService","changePinCodeModal","locationChangeService","valuePickerModalService","widgetOptions$","locked$","currentLanguage$","langChanges$","dashboardStatisticsMetric$","selectedMetric","metric","StatisticsMetrics","changeLanguage","metricPickerSettings","title","setDashboardStatisticsMetric","changeLocation","tryHideModal","startLocationChange","factoryReset","changePin","requireCurrentPin","setRidersWidgetVisibility","setRidersVisible","detail","checked","setQueueWidgetVisibility","setQueueTimeVisible","setInputCyclesOnClose","setAllowChangingDispatchesWhenClosingLocation","setInputRidersOnClose","setAllowChangingRidersWhenClosingLocation","i8","i9","i10","i11","_angular_core__WEBPACK_IMPORTED_MODULE_7__","SettingsComponent_ion_item_8_Template","visible","queueTime","postfix","StatisticsNumberComponent_ng_container_0_span_4_Template","digitsInfo","StatisticsNumberComponent","StatisticsNumberComponent_ng_container_0_Template","StatisticsNumberComponent_span_1_Template","StatisticsTimeComponent_ng_container_0_span_1_Template","StatisticsTimeComponent_ng_container_0_span_2_Template","StatisticsTimeComponent_ng_container_0_span_3_Template","StatisticsTimeComponent_ng_container_0_span_4_Template","showHours","showMinutes","seconds","StatisticsTimeComponent","StatisticsTimeModel","totalSeconds","StatisticsTimeComponent_ng_container_0_Template","StatisticsTimeComponent_span_1_Template","floor","getStatistics","StatisticsMetric","CapacityUtilization","DispatchUtilization","Dispatches","Riders","AverageDispatchTime","Uptime","today","rideUtilization","lastHour","userShift","cartUtilization","averageTime","uptime","offline","newMetric","None","StatisticsComponent_app_offline_message_10_Template","StatisticsComponent_table_11_Template","NgLetDirective","viewContainer","ngLet","hasView","createEmbeddedView","ngTemplateContextGuard","_directive","FsC","ApiService","loadingController","postToBackend","endpoint","payload","api","response","getFromBackend","_x4","_x5","_x6","getNotesSummary","page","waitForNonStaleResults","currentPage","pageSize","_x7","locationSummary","memberships","assignmentDefinitionSettings","assignmentCategories","assets","showLoader","assignees","definition","targets","getCriticalResults","parameters","startOfDay","items","_ref10","userId","HttpHeaders","user","operation","_x8","_x9","signInAttendant","_ref11","_x10","_x11","signOutAttendant","_ref13","_x12","_x13","logout","hasAttendants","logoutRequest","when","toISOString","signoutAllAttendants","timeout","open","dispatchesAtClose","ridersAtClose","rideOpsSettings","carts","seats","rideOpsSettings$","extraDispatches","extraRiders","dispatchRequest","dispatchUnitCapacity","dispatchUnitsAvailable","totalUnavailableCapacity","createDowntime","downtimeDescription","downtimeCategories","getDowntimeTemplates","statisticsCall","_ref22","timeZone","Intl","DateTimeFormat","resolvedOptions","startOfShift","getLibrary","getChecklist","activity","uploadFiles$","files","tags","FormData","switchMap","Tags","join","reportProgress","observe","setHours","_activeRequests","_ref25","_loader","_x14","_angular_core__WEBPACK_IMPORTED_MODULE_9__","FactoryResetService","uiStore","actionsStore","environmentStore","locationStateStore","checklistStore","checklistProgressStore","fileTranslationsStore","fileUploadsStore","storageService","nuke","loading","reload","IdleService","activityEvents","fromEvent","listenForSuspend","log","visibilityState","isInactiveAfterMilliseconds","isInactive$","merge","throttleTime","scheduler","asyncScheduler","duration$","timer","throttle","durationSelector","operate","source","subscriber","leading","trailing","hasValue","sendValue","throttled","isComplete","endThrottling","unsubscribe","cleanupThrottling","startThrottle","innerFrom","createOperatorSubscriber","closed","of","distinctUntilChanged","shareReplay","globalThis","self","global","ExceptionCode","Unimplemented","Unavailable","CapacitorException","code","createCapacitor","win","_a","_b","_c","_d","_e","capCustomPlatform","CapacitorCustomPlatform","cap","Capacitor","Plugins","capPlatforms","CapacitorPlatforms","getPlatform","currentPlatform","defaultGetPlatform","androidBridge","webkit","messageHandlers","bridge","getPlatformId","isNativePlatform","defaultIsNativePlatform","isPluginAvailable","pluginName","plugin","registeredPlugins","platforms","getPluginHeader","PluginHeaders","h","registerPlugin","defaultRegisterPlugin","jsImplementations","registeredPlugin","warn","proxy","platform","pluginHeader","jsImplementation","loadPluginImplementation","web","createPluginMethodWrapper","wrapper","impl","createPluginMethod","methodHeader","rtype","nativePromise","nativeCallback","defineProperty","writable","configurable","addListener","removeListener","addListenerNative","call","callbackId","Proxy","convertFileSrc","filePath","err","pluginMethodNoop","_target","reject","Exception","DEBUG","isLoggingEnabled","isNative","initCapacitorGlobal","WebPlugin","retainedEventArguments","windowListeners","listenerFunc","firstListener","windowListener","registered","addWindowListener","sendRetainedArgumentsForEvent","_ref5","removeAllListeners","removeWindowListener","notifyListeners","retainUntilConsumed","hasListeners","registerWindowListener","windowEventName","pluginEventName","unimplemented","msg","unavailable","_this3","arg","encode","encodeURIComponent","decodeURIComponent","escape","decode","CapacitorCookiesPluginWeb","getCookies","cookies","cookie","cookieMap","setCookie","encodedKey","encodedValue","expires","domain","deleteCookie","clearCookies","toUTCString","clearAllCookies","_this4","readBlobAsBase64","_ref6","blob","reader","FileReader","onload","base64String","onerror","readAsDataURL","CapacitorHttpPluginWeb","requestInit","buildRequestInit","extra","output","method","normalizeHttpHeaders","originalKeys","k","toLocaleLowerCase","reduce","acc","URLSearchParams","form","Headers","JSON","stringify","webFetchExtra","urlParams","buildUrlParams","shouldEncode","accumulator","item","substr","shouldEncodeUrlParams","fetch","contentType","responseType","ok","json","_this5","_this6","put","_this7","patch","_this8","_this9","CameraSource","Prompt","Camera","Photos","CameraDirection","Rear","Front","CameraResultType","Uri","Base64","DataUrl","CameraWeb","getPhoto","webUseInput","fileInputExperience","actionSheet","promptLabelHeader","cancelable","promptLabelPhoto","promptLabelPicture","cameraExperience","pickImages","_options","multipleFileInputExperience","customElements","cameraModal","facingMode","componentOnReady","_ref4","photo","_getCameraPhoto","cleanup","hidden","format","resultType","dataUrl","b64","webPath","URL","createObjectURL","accept","capture","click","multiple","photos","saved","onloadend","r","checkPermissions","navigator","permissions","camera","requestPermissions","pickLimitedLibraryPhotos","getLimitedLibraryPhotos","ImageService","fileUploadsService","fileTranslationsService","getPhotoFromCamera","resizeImage","revokeObjectURL","getImagesFromGallery","imagePromises","all","removeImage","deleteFiles","imageSource","_reject","img","Image","width","targetWidth","height","targetHeight","ratio","min","imageWidth","imageHeight","canvas","getContext","drawImage","toBlob","quality","src","languages","islangDefinitionArray","firstItem","LocationChangeService","checklistStateService","prefix","locationChanged$","Subject","allowLocationSwitch","showError","currentLocation","availableLocations","getAvailableLocations","targetLocation","selectLocation","loadingModal","showLoadingModal","ui","getSnapshot","locationState","locationStatus","getLocationStatus","operators","createError","missingCompetencies","saveState","lastQueueTimeUpdate","lastQueueTimeUpdate$","lastRidersUpdate","lastRidersUpdate$","setState","setCurrentOperator","revertLocationChange","getState","parse","localStorage","getItem","resetRideOpsState","updateLocationStatus","savedState","setSnapshot","setRideOpsState","clearPreopeningChecklistSubmitted","setItem","locations","snapshots","_ref7","_angular_core__WEBPACK_IMPORTED_MODULE_10__","OperatorService","operatorLoginModal","changePinModal","actionsService","transloco","currentOperator$","selectOperator","hasPinCode","showMissingPinCodeAlert","requiredCompetencies","requiredCompetencies$","showMissingCompetenciesAlert","showPinCodeModal","selectAttendant","ridePosition","requiredCompetenciesForAttendants$","populateMissingCompetencies","competency","competencies","identifier","setAttendantOnPosition","removeAttendantOnPosition","skipNavigate","addSignOutAction","clearOperator","pinCodeUsed","showChangePinCodeModal","alertNewPin","missingCompetenciesString","missingCompetency","RaygunService","activated","trackActiveOperator","trackNavigationChanges","configureForActiveEnvironment","customData","isAnonymous","fullName","NavigationError","backendEnvironment","isDevelopment","Development","disableErrorTracking","StorageService","storage","_storage","_storageIsReady","getBlobWithKey","deletePromises","UpdateService","updateAlertId","updates","versionUpdates","blockForUpdate","isEnabled","checkForUpdate","unrecoverable","_event","showUnrecoverableError","UtilityService","currentDateFormat","currentTimeFormat","currentTimeFormatWithSeconds","currentLocale","fileIdentifier","preset","frontEnd","getFileUrl","dataURLtoFile","dataurl","filename","File","formatDate","formatTime","withSeconds","formatDateTime","secondsSinceValue","getSecondsSince","since","secondsSinceDate","dateTimeSettings","dateFormat","useTwentyFourHourClock","ActionType","CREATE_DISPATCH","UPDATE_QUEUE_TIME","CREATE_NOTE","SIGN_OUT","ActionsService","INIT_INTERVAL_MS","MAX_INTERVAL_MS","actionSentToServer$","addCreateNoteAction","uuidv4","actionType","payLoad","store","update","addEntities","addCreateDispatchAction","updateDispatchesAndRiders","addUpdateQueueTimeAction","queueTimeInMinutes","updateQueueTime","sendActions","selectFirst","_environment","concatMap","getEndpointUrl","getRequest","success","deleteEntities","retryBackoff","initialInterval","maxInterval","resetOnSuccess","getCreateDispatchRequest","getUpdateQueueTimeRequest","getCreateNoteRequest","getSignoutRequest","_angular_core__WEBPACK_IMPORTED_MODULE_15__","createStore","withEntities","ActionsStore","persistState","localStorageStrategy","debounceTime","configurations","Staging","getAvailableEnvironments","withProps","createInitialState","hostname","EnvironmentStore","FileTranslationsService","removeTranslations","translations","fileTranslation","FileTranslationsStore","FileUploadsQuery","selectMany","ids","FileUploadsService","currentUploadProgress$","BehaviorSubject","upload","reponse","HttpEventType","Response","UploadProgress","loaded","total","fileUpload","updateEntities","_angular_core__WEBPACK_IMPORTED_MODULE_13__","FileUploadsStore","getValue","downtime","preopeningChecklist$","preopeningChecklist","createdDowntimesAreBlocking$","createdDowntimesAreBlocking","operatorDateTimeSettings$","locationIsOpen$","apiKey","rideOpsKeyAndOperator$","locationProperties$","locationProperties","locationName$","isClearedForOperation$","isClearedForOperationDetails","isClearedForOperation","isClearedForPreopening$","isClearedForPreopening","isClearedForOperationDetails$","messageForOperatorWhenNotReadyForOperation$","messageForOperatorWhenNotReadyForOperation","messageForOperatorWhenNoCriticalForOperationChecklistsPlanned$","messageForOperatorWhenNoCriticalForOperationChecklistsPlanned","mandatoryPositionsWithoutAttendant$","mandatory","isSafeToOperate$","isDown","mandatoryPositionsWithoutAttendant","locationIsSet$","canLogout$","operators$","downtime$","requiredCompetenciesForAttendants","noteTemplates$","noteTemplates","downtimeTemplates","lastQueueUpdate","lastServerUpdate$","lastServerUpdate","lastUpdateFailed$","lastUpdateFailed","attendants$","attendants","allowStatisticsForOperator","dispatchUpdateWarningThreshold$","dispatchUpdateWarningThreshold","minumumSecondsBetweenDispatches$","minumumSecondsBetweenDispatches","AlertService","showWarningNotClearedForOperation","alertNoLongerClearedForOperation","alertLocationNoLongerOpen","showErrorWhileClosingLocationAlert","showErrorWhileOpeningLocationAlert","LocationStateService","alertService","idleService","isActivated","ttlConfig","cached$","resetCache","clearTimeout","cacheTimer","setCached","setTimeout","openLocation","removeAllAttendantsOnPosistions","updated","posistion","setRideOpsKey","setLocation","newRidePosition","setPinForOperator","listenForLanguageChanges","languageAndOperator","scannerCode","snapshot","isCached","isInactive","preopeningChecklists","checklists","assignments","hasBlockingDowntime","dispatchUnits","queueTimeUpdateWarningThreshold","maximumQueueTimeMinutes","queueTimeStepSizeMinutes","lockDeviceSettings","deviceSettings","allowChangingDispatchesWhenClosingLocation","allowChangingRidersWhenClosingLocation","showQueueTimeWidget","showDispatchWidget","maximumRidersPerDispatch","dispatchWidgetType","dispatchGridNumberDirection","dispatchMetric","LocationStateStore","elfMigration","akitaStores","akitaData","checklist","checklistProgress","fileUploads","entities","fileTranslations","actions","removeItem","UiQuery","widgetOptions","lockedSettings","maximumCapacityPerDispatch$","capacityPerDispatch","defaultCartsHasBeenSet$","defaultCartsHasBeenSet","numberGridConfiguration","amountConfigured","dashboardStatisticsMetric","_angular_core__WEBPACK_IMPORTED_MODULE_6__","UiService","listenForLocationStateChanges","setLockedUI","setUnlockedUI","setDefaultCarts","setDefaultNumberGridAmount","setRidersMode","setRidersInputMetric","setNumberGridConfiguration","updateSeatsUnavailable","totalCapacity","calculateSeatsUnavailable","increaseCartsInUse","decreaseCartsInUse","UIStore","assignee_r2","removeAssignee","AssigneePickerModalComponent_ion_button_16_ion_icon_2_Template","AssigneePickerModalComponent_ion_button_16_ion_icon_3_Template","startsWith","user_r5","_r4","selectAssignee","AssigneePickerModalComponent_ion_list_27_ion_item_1_Template","filteredUsers","usergroup_r7","_r6","AssigneePickerModalComponent_ion_list_28_ion_item_1_Template","filteredUserGroups","AssigneePickerModalComponent","singleSelect","segmentChoice","searchWord","users","userGroups","assignee","onSearchChange","toggleChoice","possibleAssignees","AssigneePickerModalComponent_ion_button_16_Template","AssigneePickerModalComponent_ion_list_27_Template","AssigneePickerModalComponent_ion_list_28_Template","modalcontroller","assigneeSelectionMode","addLeadingZeros","number","targetLength","formatISO","date","_date","toDate","isNaN","RangeError","representation","tzOffset","dateDelimiter","timeDelimiter","day","getDate","month","getMonth","getFullYear","getTimezoneOffset","absoluteOffset","trunc","getHours","getMinutes","getSeconds","typeToPos","year","hour","minute","second","dtfCache","newDateUTC","fullYear","millisecond","utcDate","setUTCFullYear","setUTCHours","MILLISECONDS_IN_HOUR","MILLISECONDS_IN_MINUTE","patterns","timezone","timezoneZ","timezoneHH","timezoneHHMM","tzParseTimezone","timezoneString","isUtcDate","validateTimezone","NaN","isValidTimezoneIANAString","timeZoneString","validIANATimezoneCache","toUtcDate","getMilliseconds","calcOffset","fixOffset","utcGuess","o2","o3","tokens","tzTokenizeDate","dtf","getDateTimeFormat","testDateFormatted","hourCycle","hour12","partsOffset","formatted","formatToParts","filled","pos","hackyOffset","parsed","asUTC","asTS","over","getTimezoneOffsetInMilliseconds","UTC","tzPattern","DEFAULT_ADDITIONAL_DIGITS","dateTimePattern","datePattern","plainTime","YY","YYY","YYYY","YYYYY","MM","DDD","MMDD","Www","WwwD","HH","HHMM","HHMMSS","argument","TypeError","additionalDigits","Number","dateStrings","splitDateString","dateString","timeString","parts","restDateString","parseYear","patternYYY","patternYYYYY","yearString","centuryString","parseDate","week","validateDate","dayOfYear","validateDayOfYearDate","isLeapYear","isLeapYearIndex","validateWeekDate","dayOfISOWeekYear","dayOfWeek","timestamp","parseTime","validateTime","isoWeekYear","diff","getUTCDay","setUTCDate","getUTCDate","DAYS_IN_MONTH","DAYS_IN_MONTH_LEAP_YEAR","toZonedTime","offsetMilliseconds","d","resultDate","setFullYear","getUTCFullYear","getUTCMonth","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","AssignmentFormService","createAssignmentForm","assignment","solution","userTimeZone","startTimeForPicker","endTimeForPicker","FormGroup","FormControl","Validators","required","attachments","definitionState","definitionPriority","priority","asset","definitionCategories","createDateRangeValidator","AssignmentFromForm","assignmentForm","controls","getUTCISOStringFromLocalDateTimeString","triggeredBy","dateTimeString","fromZonedTime","utc","dateRange","assignee_r1","AssignmentAssigneesComponent_Conditional_6_For_2_Template","_forTrack0","AssignmentAssigneesComponent_Conditional_6_ForEmpty_3_Template","AssignmentAssigneesComponent","assigneePickerModalService","selectAssignees","onWillDismiss","onTouched","onFormChange","_description","writeValue","registerOnChange","registerOnTouched","setDisabledState","isDisabled","NG_VALUE_ACCESSOR","useExisting","forwardRef","AssignmentAssigneesComponent_Conditional_5_Template","AssignmentAssigneesComponent_Conditional_6_Template","AssignmentAssetComponent","assetPickerModalService","selectAsset","AssignmentAssetComponent_Conditional_5_Template","AssignmentAssetComponent_Conditional_6_Template","solve","AssignmentSolutionComponent_Conditional_0_Conditional_6_Template","AssignmentSolutionComponent_Conditional_0_Conditional_7_Template","AssignmentSolutionComponent","assignmentSolutionDetailsModalService","defintion","SolutionDetailsModalComponent","_solution","AssignmentSolutionComponent_Conditional_0_Template","AssignmentSolutionComponent_Conditional_1_Template","AssignmentModalComponent_ion_content_8_Conditional_2_Conditional_1_Template","AssignmentModalComponent_ion_content_8_Conditional_2_Conditional_2_Template","state_r2","AssignmentModalComponent_ion_content_8_ion_item_16_ion_select_option_4_Template","compareWith","priority_r3","AssignmentModalComponent_ion_content_8_Conditional_18_Conditional_0_ion_select_option_4_Template","priorities","AssignmentModalComponent_ion_content_8_Conditional_18_Conditional_1_ion_text_6_Template","AssignmentModalComponent_ion_content_8_Conditional_18_Conditional_1_ion_text_7_Template","AssignmentModalComponent_ion_content_8_Conditional_18_Conditional_0_Template","AssignmentModalComponent_ion_content_8_Conditional_18_Conditional_1_Template","category_r4","AssignmentModalComponent_ion_content_8_ion_item_21_ion_select_option_5_Template","category_r5","AssignmentModalComponent_ion_content_8_Conditional_22_ion_select_option_5_Template","categorySelectionType","AssignmentModalComponent_ion_content_8_Conditional_23_Conditional_6_Template","AssignmentModalComponent_ion_content_8_Conditional_23_Conditional_13_Template","AssignmentModalComponent_ion_content_8_Conditional_2_Template","AssignmentModalComponent_ion_content_8_ion_item_16_Template","AssignmentModalComponent_ion_content_8_ion_item_17_Template","AssignmentModalComponent_ion_content_8_Conditional_18_Template","AssignmentModalComponent_ion_content_8_Conditional_19_Template","AssignmentModalComponent_ion_content_8_Conditional_20_Template","AssignmentModalComponent_ion_content_8_ion_item_21_Template","AssignmentModalComponent_ion_content_8_Conditional_22_Template","AssignmentModalComponent_ion_content_8_Conditional_23_Template","AssignmentModalComponent_ion_content_8_ng_template_28_Template","AssignmentModalComponent_ion_content_8_ng_template_30_Template","viewConfig","showPriority","showAssignee","showCategories","showDefinitionCategories","showDateTime","invalid","AssignmentModalComponent","assignmentFormService","ready","assignmentWithData","createAssignmentViewConfig","deadline","o1","ionViewDidEnter","setFocus","AssignmentModalComponent_ion_content_8_Template","AssignmentModalComponent_ion_footer_9_Template","assignmentModal","state_r3","changeState","SolutionDetailsModalComponent_ion_item_14_ion_select_option_4_Template","formGroup","valid","setValidators","requireDocumentation","updateValueAndValidity","definitionStateValidtor","SolutionDetailsModalComponent_ion_item_14_Template","endOfDay","addDays","constructFrom","setDate","actionSheetController","checklistProgressQuery","assignmentModalService","createAssignment","questionId","checklist$","initialState","initialPriority","default","organization","origin","question","schedule","option","triggerCondition","createAssignmentFromTrigger","references","condition","right","deadlineUnit","deadlineAmount","assignToPerformingUser","fromTrigger","subscribers","requireNoIntervention","openAssignment","getDefinitions","selectDefinition","disableDefaultDefinition","defaultDefinition","cancelButton","definitionButtons","ElementType","TextElement","ImageElement","SelectQuestion","TextQuestion","ImageQuestion","DateTimeQuestion","NumberQuestion","SliderQuestion","EmailQuestion","ScannerQuestion","DurationQuestion","SignatureQuestion","UnknownQuestion","SelectQuestionGroup","isObject","extend","ssrDocument","activeElement","blur","nodeName","getElementById","createEvent","initEvent","children","childNodes","getElementsByTagName","createElementNS","importNode","hash","href","pathname","protocol","search","getDocument","ssrWindow","userAgent","history","replaceState","pushState","go","back","CustomEvent","getPropertyValue","screen","matchMedia","requestAnimationFrame","cancelAnimationFrame","getWindow","Dom7","makeReactive","proto","__proto__","arrayFlat","arr","res","arrayFilter","$","html","toCreate","tempParent","innerHTML","qsa","arrayUnique","uniqueArray","noTrigger","shortcut","eventHandler","on","Methods","classes","classNames","c","hasClass","toggleClass","toggle","attr","attrs","getAttribute","attrName","removeAttr","transform","transitionDuration","eventType","targetSelector","handleLiveEvent","eventData","dom7EventData","is","parents","handleEvent","dom7LiveListeners","proxyListener","dom7Listeners","off","handlers","dom7proxy","evt","bubbles","dataIndex","dispatchEvent","transitionEnd","dom","fireCallBack","outerWidth","includeMargins","offsetWidth","outerHeight","offsetHeight","box","getBoundingClientRect","top","scrollY","scrollTop","clientTop","left","scrollX","scrollLeft","clientLeft","css","each","textContent","webkitMatchesSelector","msMatchesSelector","child","previousSibling","eq","returnIndex","els","tempDiv","firstChild","prepend","nextElementSibling","nextAll","nextEls","prev","previousElementSibling","prevAll","prevEls","closest","foundElements","methodName","nextTick","o","isNode","HTMLElement","to","noExtend","nextSource","keysArray","nextIndex","len","nextKey","desc","getOwnPropertyDescriptor","enumerable","__swiper__","setCSSProperty","varValue","animateCSSModeScroll","swiper","targetPosition","side","startPosition","speed","wrapperEl","scrollSnapType","cssModeFrameID","dir","isOutOfBound","current","progress","easeProgress","cos","PI","currentPosition","scrollTo","y","overflow","support","deviceCached","browser","getSupport","calcSupport","smoothScroll","touch","DocumentTouch","passiveListener","supportsPassive","opts","gestures","transitionEmit","runCallbacks","activeIndex","previousIndex","onTouchStart","touchEventsData","touches","animating","preventInteractionOnTransition","cssMode","loop","loopFix","originalEvent","$targetEl","touchEventsTarget","isTouchEvent","which","button","isTouched","isMoved","swipingClassHasValue","noSwipingClass","eventPath","composedPath","shadowRoot","noSwipingSelector","noSwiping","closestElement","base","__closestFrom","assignedSlot","getRootNode","allowClick","swipeHandler","currentX","targetTouches","pageX","currentY","pageY","startX","startY","edgeSwipeDetection","iOSEdgeSwipeDetection","edgeSwipeThreshold","iOSEdgeSwipeThreshold","innerWidth","preventDefault","allowTouchCallbacks","isScrolling","startMoving","touchStartTime","updateSize","swipeDirection","threshold","allowThresholdMove","focusableElements","touchStartForcePreventDefault","allowTouchMove","touchStartPreventDefault","isContentEditable","freeMode","onTouchMove","rtlTranslate","rtl","targetTouch","changedTouches","preventedByNestedSwiper","touchReleaseOnEdges","isVertical","maxTranslate","minTranslate","diffX","diffY","sqrt","touchAngle","isHorizontal","atan2","touchMoveStopPropagation","nested","stopPropagation","startTranslate","getTranslate","setTransition","$wrapperEl","allowMomentumBounce","grabCursor","allowSlideNext","allowSlidePrev","setGrabCursor","touchRatio","currentTranslate","disableParentSwiper","resistanceRatio","resistance","followFinger","watchSlidesProgress","updateActiveIndex","updateSlidesClasses","updateProgress","setTranslate","onTouchEnd","slidesGrid","touchEndTime","timeDiff","pathTree","updateClickedSlide","lastClickTime","currentPos","stopIndex","groupSize","slidesSizesGrid","slidesPerGroupSkip","slidesPerGroup","increment","rewindFirstIndex","rewindLastIndex","rewind","isBeginning","virtual","slides","isEnd","longSwipesMs","longSwipes","slideTo","longSwipesRatio","shortSwipes","navigation","nextEl","prevEl","onResize","breakpoints","setBreakpoint","snapGrid","updateSlides","slidesPerView","centeredSlides","autoplay","running","paused","watchOverflow","checkOverflow","onClick","preventClicks","preventClicksPropagation","stopImmediatePropagation","onScroll","newProgress","previousTranslate","translatesDiff","dummyEventAttached","dummyEventListener","touchEvents","device","domMethod","swiperMethod","passiveListeners","passive","move","updateOnWindowResize","ios","android","isGridEnabled","grid","rows","initialSlide","resizeObserver","createElements","autoHeight","setWrapperSize","virtualTranslate","effect","breakpointsBase","spaceBetween","slidesPerGroupAuto","centeredSlidesBounds","slidesOffsetBefore","slidesOffsetAfter","normalizeSlideIndex","centerInsufficientSlides","roundLengths","simulateTouch","uniqueNavElements","slideToClickedSlide","preloadImages","updateOnImagesReady","loopAdditionalSlides","loopedSlides","loopedSlidesLimit","loopFillGroupWithBlank","loopPreventsSlide","maxBackfaceHiddenSlides","containerModifierClass","slideClass","slideBlankClass","slideActiveClass","slideDuplicateActiveClass","slideVisibleClass","slideDuplicateClass","slideNextClass","slideDuplicateNextClass","slidePrevClass","slideDuplicatePrevClass","wrapperClass","runCallbacksOnInit","_emitClasses","moduleExtendParams","allModulesParams","moduleParamName","moduleParams","auto","prototypes","eventsEmitter","eventsListeners","once","onceHandler","__emitterProxy","onAny","eventsAnyListeners","offAny","$el","clientWidth","clientHeight","getDirectionLabel","marginRight","getDirectionPropertyValue","swiperSize","wrongRTL","isVirtual","previousSlidesLength","slidesLength","offsetBefore","offsetAfter","previousSnapGridLength","previousSlidesGridLength","slidePosition","prevSlideSize","virtualSize","marginLeft","marginBottom","marginTop","gridEnabled","slideSize","initSlides","shouldResetSlideSize","slide","updateSlide","slideStyles","currentTransform","currentWebKitTransform","webkitTransform","paddingLeft","paddingRight","boxSizing","swiperSlideSize","updateWrapperSize","newSlidesGrid","slidesGridItem","slideIndex","Bi","allSlidesSize","slideSizeValue","maxSnap","snap","allSlidesOffset","snapIndex","addToSnapGrid","addToSlidesGrid","updateSlidesOffset","backFaceHiddenClass","hasClassBackfaceClassAdded","updateAutoHeight","activeSlides","newHeight","getSlideByIndex","visibleSlides","ceil","swiperSlideOffset","offsetLeft","offsetTop","updateSlidesProgress","offsetCenter","visibleSlidesIndexes","slideOffset","slideProgress","originalSlideProgress","slideBefore","slideAfter","originalProgress","wasBeginning","wasEnd","realIndex","activeSlide","nextSlide","prevSlide","emitSlidesClasses","newActiveIndex","previousRealIndex","previousSnapIndex","skip","initialized","slideFound","clickedSlide","clickedIndex","getSwiperTranslate","axis","matrix","curTransform","transformMatrix","curStyle","currentStyle","WebKitCSSMatrix","MozTransform","OTransform","MsTransform","msTransform","m41","m42","byController","translateTo","translateBounds","internal","newTranslate","isH","behavior","onTranslateToWrapperTransitionEnd","transitionStart","initial","indexAsNumber","isFinite","normalizedTranslate","normalizedGrid","normalizedGridNext","t","_immediateVirtual","_swiperImmediateVirtual","onSlideToWrapperTransitionEnd","slideToLoop","newIndex","slideNext","perGroup","slidesPerViewDynamic","_clientLeft","slidePrev","normalize","normalizedSnapGrid","prevSnap","prevSnapIndex","prevIndex","slideReset","slideToClosest","currentSnap","slideToIndex","loopCreate","$selector","blankSlidesNum","blankNode","prependSlides","appendSlides","cloneNode","loopDestroy","moving","isLocked","cursor","unsetGrabCursor","attachEvents","detachEvents","breakpoint","getBreakpoint","currentBreakpoint","breakpointParams","originalParams","wasMultiRow","isMultiRow","wasEnabled","emitContainerClasses","wasModuleEnabled","isModuleEnabled","enable","directionChanged","needsReLoop","changeDirection","containerEl","currentHeight","innerHeight","points","point","minRatio","wasLocked","lastSlideIndex","addClasses","suffixes","prepareClasses","resultClasses","autoheight","centered","removeClasses","images","loadImage","imageEl","srcset","sizes","checkForComplete","image","onReady","imagesLoaded","imagesToLoad","currentSrc","extendedDefaults","Swiper","swipers","getDevice","overrides","calcDevice","ua","screenWidth","screenHeight","ipad","ipod","iphone","windows","macos","os","getBrowser","calcBrowser","isSafari","toLowerCase","isWebView","test","__modules__","mod","extendParams","swiperParams","passedParams","velocity","desktop","touchEventsTouch","touchEventsDesktop","clickTimeout","velocities","setProgress","cls","getSlideClasses","slideEl","view","exact","spv","breakLoop","translated","newDirection","needUpdate","currentDirection","changeLanguageDirection","mount","mounted","getWrapperSelector","deleteInstance","cleanStyles","deleteProps","object","extendDefaults","newDefaults","installModule","use","module","prototypeGroup","protoMethod","Resize","observer","animationFrame","resizeHandler","orientationChangeHandler","ResizeObserver","newWidth","contentBoxSize","contentRect","inlineSize","blockSize","unobserve","Observer","observers","attach","MutationObserver","WebkitMutationObserver","mutations","observerUpdate","attributes","childList","characterData","observeParents","observeSlideChildren","containerParents","disconnect","core_core","createElementIfNotDefined","checkProps","classesToSelector","_c6","a0","loopSlides","_c7","_c8","_c9","SwiperComponent_ng_container_1_Template","SwiperComponent_div_2_Template","SwiperComponent_div_3_Template","SwiperComponent_6_ng_template_0_Template","SwiperComponent_6_Template","SwiperComponent_7_ng_template_0_Template","SwiperComponent_7_Template","SwiperComponent_8_ng_template_0_Template","SwiperComponent_8_Template","SwiperComponent_ng_template_11_div_0_div_1_ng_template_1_Template","SwiperComponent_ng_template_11_div_0_div_1_Template","slide_r1","zoomContainerClass","slideData","SwiperComponent_ng_template_11_div_0_ng_container_2_ng_template_1_Template","SwiperComponent_ng_template_11_div_0_ng_container_2_Template","SwiperComponent_ng_template_11_div_0_Template","slideKey_r3","class","zoom","virtualIndex","autoplayDelay","SwiperComponent_ng_template_11_Template","paramsList","isShowEl","coerceBooleanProperty","nativeElement","ignoreNgOnChanges","getParams","rest","allowedParams","_key","SwiperSlideDirective","isActive","isPrev","isNext","isVisible","isDuplicate","ngClass","_zoom","_classNames","_hasClass","ɵdir","SwiperComponent","_ngZone","elementRef","_changeDetectorRef","_platformId","showNavigation","showPagination","showScrollbar","s__beforeBreakpoint","s__containerClasses","s__slideClass","s__swiper","s_activeIndexChange","s_afterInit","s_autoplay","s_autoplayStart","s_autoplayStop","s_autoplayPause","s_autoplayResume","s_beforeDestroy","s_beforeInit","s_beforeLoopFix","s_beforeResize","s_beforeSlideChangeStart","s_beforeTransitionStart","s_breakpoint","s_changeDirection","s_click","s_doubleTap","s_doubleClick","s_destroy","s_fromEdge","s_hashChange","s_hashSet","s_imagesReady","s_init","s_keyPress","s_lazyImageLoad","s_lazyImageReady","s_loopFix","s_momentumBounce","s_navigationHide","s_navigationShow","s_navigationPrev","s_navigationNext","s_observerUpdate","s_orientationchange","s_paginationHide","s_paginationRender","s_paginationShow","s_paginationUpdate","s_progress","s_reachBeginning","s_reachEnd","s_realIndexChange","s_resize","s_scroll","s_scrollbarDragEnd","s_scrollbarDragMove","s_scrollbarDragStart","s_setTransition","s_setTranslate","s_slideChange","s_slideChangeTransitionEnd","s_slideChangeTransitionStart","s_slideNextTransitionEnd","s_slideNextTransitionStart","s_slidePrevTransitionEnd","s_slidePrevTransitionStart","s_slideResetTransitionStart","s_slideResetTransitionEnd","s_sliderMove","s_sliderFirstMove","s_slidesLengthChange","s_slidesGridLengthChange","s_snapGridLengthChange","s_snapIndexChange","s_tap","s_toEdge","s_touchEnd","s_touchMove","s_touchMoveOpposite","s_touchStart","s_transitionEnd","s_transitionStart","s_update","s_zoomChange","s_swiper","s_lock","s_unlock","_activeSlides","containerClasses","slidesChanges","calcLoopedSlides","swiperRef","detectChanges","updateVirtualSlides","virtualData","currentVirtualData","lazy","currentNext","_navigation","currentPrev","_prevElRef","pagination","_pagination","_paginationElRef","scrollbar","_scrollbar","_scrollbarElRef","_virtual","updateSwiper","prevElRef","_setElement","nextElRef","_nextElRef","scrollbarElRef","paginationElRef","containerClass","ref","updateObj","updateInitSwiper","ngAfterViewInit","childrenSlidesInit","initSwiper","slidesEl","changes","isSwiperActive","emitter","_containerClasses","_slideClasses","virtualSlide","isVirtualEnabled","extendWith","renderExternal","renderExternalUpdate","isPlatformBrowser","changedParams","thumbs","updateParameter","render","controller","control","newValue","currentValue","slidesPerViewParams","breakpointOnlyParams","isCurrentParamObj","ɵcmp","contentQueries","dirIndex","_t","first","hostVars","hostBindings","a11y","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","keyboard","mousewheel","parallax","slidesTemplate_r5","dependencies","encapsulation","changeDetection","SwiperModule","element_r1","isVisible$","ChecklistComponent_For_2_Conditional_0_Case_1_Template","ChecklistComponent_For_2_Conditional_0_Case_2_Template","ChecklistComponent_For_2_Conditional_0_Case_3_Template","ChecklistComponent_For_2_Conditional_0_Case_4_Template","ChecklistComponent_For_2_Conditional_0_Case_5_Template","ChecklistComponent_For_2_Conditional_0_Case_6_Template","ChecklistComponent_For_2_Conditional_0_Case_7_Template","ChecklistComponent_For_2_Conditional_0_Case_8_Template","ChecklistComponent_For_2_Conditional_0_Case_9_Template","ChecklistComponent_For_2_Conditional_0_Case_10_Template","ChecklistComponent_For_2_Conditional_0_Case_11_Template","tmp_12_0","ChecklistComponent_For_2_Conditional_1_Case_0_Template","ChecklistComponent_For_2_Conditional_1_Case_1_Template","tmp_11_0","ChecklistComponent_For_2_Conditional_2_Case_0_Template","ChecklistComponent_For_2_Conditional_0_Template","ChecklistComponent_For_2_Conditional_1_Template","ChecklistComponent_For_2_Conditional_2_Template","stereotype","ChecklistComponent","ChecklistComponent_For_2_Template","manuals","videos","links","DocumentationComponent_ion_toolbar_0_ion_button_2_Template","DocumentationComponent_ion_toolbar_0_ion_button_3_Template","DocumentationComponent_ion_toolbar_0_ion_button_4_Template","documentation","DocumentationComponent","manual","getManualName","selection","showSelection","getUrl","video","getName","link","reference","section","version","valuePickerModal","DocumentationComponent_ion_toolbar_0_Template","ElementTemplateComponent","ElementTemplateComponent_ion_card_0_Template","url_r2","ReferenceImagesComponent_ion_item_0_2_ng_template_0_Template","ReferenceImagesComponent_ion_item_0_2_Template","urls","ReferenceImagesComponent","changeDetector","markForCheck","ReferenceImagesComponent_ion_item_0_Template","ImageElementComponent","ImageElementComponent_app_element_template_0_Template","translatedText","TextElementComponent","TextElementComponent_app_element_template_0_Template","PositionService","getCurrentPosition","geolocation","watchPosition","longitude","coords","latitude","accuracy","QuestionComponent","checklistProgressService","ChecklistProgressStateService","ChecklistProgressStateQuery","positionService","assignmentService","assignmentTriggers","setAnswers","answers","answer","checkAssignmentTriggers","formAnswer","answered","adHocScheduleSlots","getAdHocScheduleSlots","triggersOnAnswers","comparer","assignmentForTriggerExists","assignmentsFromtriggers","assignmentsFormControl","orphaned","onlySelf","emitEvent","slotTriggers","triggers","_answer","questionFormControl","onCommentChange","commentModel","CommentComponent","showComment","activateComment","onChange","_comment","CommentComponent_ion_textarea_0_Template","assignment_r2","AssignmentsComponent_Conditional_0_ion_item_4_Template","visibleAssignment","AssignmentsComponent","filterVisibleAssignments","createButton","editAssignment","editedAssignment","findIndex","updateForm","editButton","removeButton","_assignments","AssignmentsComponent_Conditional_0_Template","_r2","getImage","getFromGallery","QuestionTemplateComponent_ion_fab_4_ion_fab_button_4_Template","QuestionTemplateComponent_ion_fab_4_ion_fab_button_5_Template","QuestionTemplateComponent_ion_fab_4_ion_fab_button_6_Template","allowComments","allowImageAttachment","allowCameraRoll","QuestionTemplateComponent","commentComponent","activateAttachments","attachmentsComponent","assignmentsComponents","showMoreButton","commentControl","comment","attachmentFormControl","statusChanges","untilDestroyed","ControlContainer","FormGroupDirective","QuestionTemplateComponent_ion_fab_4_Template","QuestionTemplateComponent_app_reference_images_7_Template","translatedDescription","settings_r3","firstDayOfWeek","hourCycle$","presentation","UntilDestroy","DateTimeQuestionComponent","dateTimeSettings$","includeTime","DateTimeQuestionComponent_app_question_template_0_Template","minimum","maximum","NumberQuestionComponent_div_5_span_1_Template","NumberQuestionComponent_div_5_span_2_Template","NumberQuestionComponent_div_5_span_3_Template","NumberQuestionComponent","isInvalidRange","NumberQuestionComponent_div_5_Template","SliderQuestionComponent","pinFormatter","getStepForSlider","isDecimal","numDecimals","limitDecimalsLength","maxNumDecimals","slider_r2","option_r2","selectQuestionOption","SelectQuestionComponent_Conditional_1_ion_item_0_ion_icon_3_Template","isOptionSelected","showTrigger","SelectQuestionComponent_Conditional_1_ion_item_0_Template","option_r5","SelectQuestionComponent_Conditional_2_ion_col_2_ion_icon_3_Template","SelectQuestionComponent_Conditional_2_ion_col_2_Template","SelectQuestionComponent","currentAnswers","isOptionAlreadySelected","variation","showAssignmentTrigger","refersToThisOption","isSingleLineMode","SelectQuestionComponent_Conditional_1_Template","SelectQuestionComponent_Conditional_2_Template","TextQuestionComponent","ionTextArea","EmailQuestionComponent","inputField","checkValidity","IonInput","getInputElement","UnknownQuestionComponent","toggleAccept","UnsupportedQuestionsService","unsupportedAnswerValue","takePhoto","imgUrl","ImageQuestionComponent","imageService","mobaroImage","setImageFromAnswer","imageAnswer","uuidValidate","imageBlob","ImageQuestionComponent_ion_img_1_Template","ImageQuestionComponent_div_2_Template","ScannerQuestionComponent","scannerModalService","verifyAnswer","validation","scan","scannerModal","hasAnswer","isVerified","ScannerQuestionComponent_ion_icon_2_Template","edit","time_r3","stop","DurationQuestionComponent","pickerController","setTimerObserveable","timer$","start$","diffMilliseconds","timerStarted","stop$","createColumn","digits","suffix","column","selectedIndex","columns","picker","DurationQuestionComponent_div_2_Template","DurationQuestionComponent_ion_button_4_Template","DurationQuestionComponent_ion_button_5_Template","DurationQuestionComponent_ion_button_6_Template","fadeInOnEnter","opacity","fadeOutOnLeave","scaleOut","NotificationService","toastController","showErrorToast","uploadProgress$","FileUploadComponent","notificationService","fileId","isUploading$","file$","standalone","FileUploadComponent_div_3_Template","signatureImage","SignatureQuestionComponent","signatureModalService","signatureFile$","openSignModal","setSignatureFromAnswer","signatureAnswer","SignatureQuestionComponent_ion_img_2_Template","PaginationComponent_ng_container_6_ng_container_2_Template","PaginationComponent_ng_container_6_ng_template_4_Template","page_r1","isCompleted$","unanswered_r2","PaginationComponent","goTo","previous","previousPage","isFirstPage","nextPage","isLastPage","onPageSelected","pageId","pages","PaginationComponent_ng_container_6_Template","SelectQuestionGroupComponent","SwiperCore","Pagination","pfx","bulletElement","clickable","hideOnClick","renderBullet","renderProgressbar","renderFraction","renderCustom","progressbarOpposite","dynamicBullets","dynamicMainBullets","formatFractionCurrent","formatFractionTotal","bulletClass","bulletActiveClass","modifierClass","currentClass","totalClass","hiddenClass","progressbarFillClass","progressbarOppositeClass","clickableClass","lockClass","horizontalClass","verticalClass","paginationDisabledClass","bullets","bulletSize","dynamicBulletIndex","isPaginationDisabled","setSideBullets","$bulletEl","paginationType","firstIndex","midIndex","bullet","$bullet","bulletIndex","$firstDisplayedBullet","$lastDisplayedBullet","dynamicBulletsLength","bulletsOffset","offsetProp","progressbarDirection","scale","scaleX","scaleY","paginationHTML","numberOfBullets","_s","targetEl","isHidden","Navigation","getEl","toggleEl","disabledClass","tagName","$nextEl","$prevEl","onPrevClick","onNextClick","navigationDisabledClass","ChecklistModalService","VideoPlayerModule","ChecklistModalComponent","attachment_r3","ctx_r3","imageSrc","AttachmentsComponent_div_0_ion_thumbnail_5_Template","imageViewerModalService","showAttachments","onAttachmentsChange","cameraRoll","attachment","imageUrl","loadAttachments","imageSrcPromises","_attachments","AttachmentsComponent_div_0_Template","LoadingService","createLoader","FileTranslationsQuery","ChecklistService","checklistProgressStateService","fileTranslationsQuery","fileUploadsQuery","submit","checklistForm","visiblePages","convertToResult","resultId","setPreopeningChecklistSubmitted","clearProgress","getAssignmentTrigger","translateChecklist","translateLocalized","record","translatedName","questionElement","parseDocumentation","flatMap","mapDocumentation","sectionId","sections","versions","flat","responses","getValuesFromForm","translateImages","pageVisibility","elementVisibility","visible$","visbleElements","started","scheduleUnit","visibleElements","storageDriver","deployVersion","imagesThatCantbeTranslated","imagesNotTranslated","fu","mapImageAttachment","imageAttachment","translation","imageAttachments","_value","ia","ExhaustiveError","throwExhaustiveError","isBefore","dateToCompare","_dateToCompare","containsAll","sourceProperties","comparisonProperties","every","containsAny","LogicService","evaluateRequirementTriggerLogic","logicProperties","triggerObservables","evaluateLogicalConditions","conditions","mapOperator","isTriggered","requireComment","requirePhoto","questionFormGroup","attachmentsControl","updateValidators","clearValidators","triggerResults","triggerResult","evaluatePageLogic","elementsVisible","logic","bufferSize","refCount","evaluateElementLogic","isPageVisible$","isElementVisible$","isElementAndPageVisible$","isPageVisible","isElementVisible","logicObserverables","evaluateAnswerCondition","formControl","answerObservable","valueChanges","answerValidator","createAnswerValidationFunction","createEqualityComparisonFunction","testValue","isNumber","createNumberComparisonFunction","answerValue","createTimeComparisonFunction","selectedDate","pointInPast","pointInFuture","isAfter","createSmileyComparisonFunction","createAnsweredComparisonFunction","defer","formQuestion","evaluateDateTimeCondition","timeNow","weekday","currentIsoWeekday","getDay","evaluatePropertyCondition","testValues","evaluateStateCondition","evaluateMembershipCondition","evaluateVisibilityCondition","elementVisible$","getLogicProperties","pageLogicalConditionsWithMembership","elementLogicalConditionsWithMembership","goToPage","activePage","visiblePages$","ChecklistModalComponent_1","returnCodes","submitted","loadingService","checklistService","logicService","activePageId$","submitting","imagesThatCantBeTranslated","checklistSubmitDelayMessage","subHeader","currentIndex","createForm","FormRecord","createFormGroup","addControl","getFormValue","resultValues","elementIds","initializeChecklistLogic","requirementTriggers","questionElementIds","questions","elementId","saveFormOnChanges","setResponses","responses$","formValue","patchValue","activePageId","currentPageId","ChecklistModalComponent_ng_container_0_Template","unsupportedQuestionsService","checkForUnsupportedQuestions","UnsupportedElementsCheckResult","Continue","setActiveChecklist","_angular_core__WEBPACK_IMPORTED_MODULE_5__","supportedElements","unsupportedQuestions","getUnsupportedQuestions","showUpdateRequired","Cancel","alertUnsupportedQuestions","isElementSupported","getTop","q","checklistProgressStateStore","newChecklist","clearResponsesSetAsUnsupported","currentPageIndex","responsesSetAsNotSupported","checklistElements","nowSupportedQuestionIds","notSupportedResponse","ChecklistProgressStateStore","ChecklistStateQuery","checklistStateStore","preopeningChecklistSubmitted$","preopeningChecklistSubmitted","ChecklistStateService","checklistStateQuery","shouldClearPreopeningChecklistSubmittedOn","completed","validUntil","addMinutes","addMilliseconds","millisecondsInMinute","maxAgeMinutes","ChecklistStateStore","QueueWidgetSettingsComponent","popoverController","hide","showSettings","queueTimeSpan","QueueWidgetComponent_ion_card_0_div_5_Template","queueTimeChanged","QueueWidgetComponent_ion_card_0_div_14_Template","lastUpdatedIsExpired$","lastUpdated$","settings_r4","showSettings$","stepSize","QueueWidgetComponent","locked","settings$","_tick","translucent","QueueWidgetComponent_ion_card_0_Template","NoteTemplateComponent","templatesExist$","templates","NoteEditorComponent","NoteEditorComponentMode","Create","NoteTemplateComponent_div_0_Template","operator_r2","UserPickerComponent_ng_container_3_ion_card_2_ion_button_2_Template","UserPickerComponent_ng_container_3_ion_card_2_app_avatar_3_Template","model_r4","currentOperatorId","userSearch","UserPickerComponent_ng_container_3_ion_card_2_Template","UserPickerComponent_ng_container_3_div_3_Template","UserPickerComponent","searchValue$","operatorsWithMissingCompetencies","setup","searchValue","sortByCurrentOperatorAndName","localeCompare","UserPickerComponent_ng_container_3_Template","isLast_r2","breadcrumb_r1","goBack","node_r6","expand","AssetPickerModalComponent_ion_item_19_p_4_Template","choose","AssetPickerModalComponent","nodeTree","currentNode","noAsset","assetHierarchy","AssetPickerModalComponent_span_17_Template","AssetPickerModalComponent_ion_item_18_Template","AssetPickerModalComponent_ion_item_19_Template","ChangePinCodeComponent","ChangePinCodeState","ChooseNew","currentPin","onCurrentPinEntered","showCurrentPinIncorrectAlert","newPin","onNewPinEntered","ConfirmNew","onNewPinConfirmationEntered","showConfirmationPinDoesNotMatchAlert","onPinCodeEntered","EnterCurrent","ChangePinCodeComponent_div_2_Template","ChangePinCodeComponent_div_3_Template","ChangePinCodeComponent_div_4_Template","FileUploadsComponent","fileuploads","_currentProgress","currentProgress","ImageViewerComponent","LanguagePickerModal","ValuePickerModule","AutoFocusDirective","elementReference","noteTemplate","template_r3","selectTemplate","NoteEditorComponent_ng_container_6_ng_container_1_app_grouping_1_ion_button_2_ion_icon_1_Template","NoteEditorComponent_ng_container_6_ng_container_1_app_grouping_1_ion_button_2_Template","NoteEditorComponent_ng_container_6_ng_container_1_app_grouping_1_Template","NoteEditorComponent_ng_container_6_ng_container_1_Template","type_r5","NoteEditorComponent_ng_container_9_ion_select_option_4_Template","types_r6","_r7","_r8","formBuilder","group","typeValueChanges$","typeValue","isCreateMode","getDefaultNoteType","isDefault","noteType","note","View","NoteEditorComponent_span_3_Template","NoteEditorComponent_span_4_Template","NoteEditorComponent_span_5_Template","NoteEditorComponent_ng_container_6_Template","NoteEditorComponent_ng_container_9_Template","NoteEditorComponent_ion_button_12_Template","NoteEditorComponent_ion_button_13_Template","NoteEditorComponent_ion_button_14_Template","Html5QrcodeSupportedFormats","QR_CODE","AZTEC","CODABAR","CODE_39","CODE_93","CODE_128","DATA_MATRIX","MAXICODE","ITF","EAN_13","EAN_8","PDF_417","RSS_14","RSS_EXPANDED","UPC_A","UPC_E","UPC_EAN_EXTENSION","html5QrcodeSupportedFormatsTextMap","isValidHtml5QrcodeSupportedFormats","Html5QrcodeScanType","SCAN_TYPE_CAMERA","SCAN_TYPE_FILE","Html5QrcodeConstants","GITHUB_PROJECT_URL","SCAN_DEFAULT_FPS","DEFAULT_DISABLE_FLIP","DEFAULT_REMEMBER_LAST_CAMERA_USED","DEFAULT_SUPPORTED_SCAN_TYPE","QrcodeResultFormat","formatName","Html5QrcodeResultFactory","createFromText","decodedText","createFromQrcodeResult","qrcodeResult","Html5QrcodeErrorTypes","UNKWOWN_ERROR","IMPLEMENTATION_ERROR","NO_CODE_FOUND_ERROR","Html5QrcodeErrorFactory","createFrom","errorMessage","BaseLoggger","verbose","logError","isExperimental","logErrors","isNullOrUndefined","Html5QrcodeStrings","codeParseError","errorGettingUserMedia","onlyDeviceSupportedError","cameraStreamingNotSupported","unableToQuerySupportedDevices","insecureContextCameraQueryError","scannerPaused","Html5QrcodeScannerStrings","scanningStatus","idleStatus","errorStatus","permissionStatus","noCameraFoundErrorStatus","lastMatch","codeScannerTitle","cameraPermissionTitle","cameraPermissionRequesting","noCameraFound","scanButtonStopScanningText","scanButtonStartScanningText","torchOnButton","torchOffButton","torchOnFailedMessage","torchOffFailedMessage","scanButtonScanningStarting","textIfCameraScanSelected","textIfFileScanSelected","selectCamera","fileSelectionChooseImage","fileSelectionChooseAnother","fileSelectionNoImageSelected","anonymousCameraPrefix","dragAndDropMessage","dragAndDropMessageOnlyImages","loadingImage","cameraScanAltText","fileScanAltText","LibraryInfoStrings","poweredBy","reportIssues","VideoConstraintsUtil","isMediaStreamConstraintsValid","videoConstraints","logger","bannedkeysSet","_i","keysInVideoConstraints_1","ZXingHtml5QrcodeDecoder","requestedFormats","formatMap","ZXing","reverseFormatMap","createReverseFormatMap","formats","createZXingFormats","hints","POSSIBLE_FORMATS","TRY_HARDER","decodeAsync","zxingDecoder","luminanceSource","binaryBitmap","toHtml5QrcodeSupportedFormats","debugData","createDebugData","zxingFormat","zxingFormats","requestedFormats_1","requestedFormat","decoderName","BarcodeDetectorDelegate","isSupported","createBarcodeDetectorFormats","detector","BarcodeDetector","thisArg","_arguments","P","generator","fulfilled","rejected","throw","adopt","__awaiter","barcodes","largestBarcode","g","sent","trys","ops","verb","return","Symbol","iterator","op","__generator","detect","selectLargestBarcode","rawValue","maxArea","barcodes_1","barcode","area","boundingBox","barcodeDetectorFormat","Html5QrcodeShim","useBarCodeDetectorIfSupported","EXECUTIONS_TO_REPORT_PERFORMANCE","executions","executionResults","wasPrimaryDecoderUsedInLastDecode","primaryDecoder","secondaryDecoder","performance","getDecoder","possiblyLogPerformance","decodeRobustlyAsync","error_1","executionTime","possiblyFlushPerformanceReport","sum","__extends","extendStatics","setPrototypeOf","__","AbstractCameraCapability","track","getCapabilities","constraint","applyConstraints","advanced","getSettings","ZoomFeatureImpl","_super","AbstractRangeCameraCapability","failIfNotSupported","capability","TorchFeatureImpl","CameraCapabilitiesImpl","zoomFeature","torchFeature","RenderedCameraImpl","parentElement","mediaStream","isClosed","surface","createVideoElement","videoElement","muted","playsInline","setupSurface","onabort","onVideoStart","onRenderSurfaceReady","srcObject","renderedCamera","aspectRatioConstraint","aspectRatio","getFirstTrackOrFail","failIfClosed","getVideoTracks","resume","onResumeCallback","$this","onVideoResume","isPaused","getSurface","getRunningTrackCapabilities","getRunningTrackSettings","applyVideoConstraints","constraints","tracksToClose","tracksClosed","videoTrack","removeTrack","CameraImpl","mediaDevices","getUserMedia","audio","CameraFactory","CameraRetriever","retrieve","getCamerasFromMediaDevices","mst","MediaStreamTrack","getSources","getCamerasFromMediaStreamTrack","rejectWithError","isHttpsOrLocalhost","closeActiveStreams","devices","devices_1","stream","tracks_1","enumerateDevices","kind","deviceId","sourceInfos","sourceInfos_1","sourceInfo","Html5QrcodeScannerState","UNKNOWN","NOT_STARTED","SCANNING","PAUSED","StateManagerImpl","onGoingTransactionNewState","directTransition","newState","failIfTransitionOngoing","validateTransition","startTransition","execute","tempNewState","failIfNewStateIs","disallowedStatesToTransition","disallowedStatesToTransition_1","StateManagerProxy","stateManager","canScanFile","isScanning","isStrictlyScanning","StateManagerFactory","Constants","DEFAULT_WIDTH","DEFAULT_WIDTH_OFFSET","FILE_SCAN_MIN_HEIGHT","FILE_SCAN_HIDDEN_CANVAS_PADDING","MIN_QR_BOX_SIZE","SHADED_LEFT","SHADED_RIGHT","SHADED_TOP","SHADED_BOTTOM","SHADED_REGION_ELEMENT_ID","VERBOSE","BORDER_SHADER_DEFAULT_COLOR","BORDER_SHADER_MATCH_COLOR","InternalHtml5QrcodeConfig","fps","disableFlip","qrbox","isShadedBoxEnabled","Html5Qrcode","configOrVerbosityFlag","canvasElement","scannerPausedUiElement","hasBorderShaders","borderShaders","qrMatch","qrRegion","lastScanImageFile","configObject","qrcode","getSupportedFormats","getUseBarCodeDetectorIfSupported","shouldScan","stateManagerProxy","cameraIdOrConfig","qrCodeSuccessCallback","qrCodeErrorCallback","qrCodeErrorCallbackInternal","internalConfig","clearElement","videoConstraintsAvailableAndValid","areVideoConstraintsEnabled","toScanningStateChangeTransaction","createVideoConstraints","cameraRenderingOptions","renderingCallbacks","viewfinderWidth","viewfinderHeight","setupUi","foreverScan","catch","shouldPauseVideo","showPausedState","transitionToScanning","hidePausedState","toStoppedStateTransaction","foreverScanTimeout","childElement","removeQrRegion","scanFile","imageFile","showImage","scanFileV2","html5qrcodeResult","possiblyCloseLastScanImageFile","inputImage","containerWidth","containerHeight","computeCanvasDrawConfig","visibleCanvas","createCanvasElement","context_1","padding","hiddenImageWidth","hiddenImageHeight","hiddenCanvasWidth","hiddenCanvasHeight","hiddenCanvas","onstalled","onsuspend","getCameras","getRenderedCameraOrFail","getRunningTrackCameraCapabilities","videoConstaints","formatsToSupport","supportedFormats","experimentalFeatures","validateQrboxSize","qrboxSize","validateQrboxConfig","configWidth","qrDimensions","toQrdimensions","validateMinSize","shouldShadingBeApplied","defaultQrRegion","getShadedRegionBounds","willReadFrequently","possiblyInsertShadingElement","createScannerPausedUiElement","innerText","zIndex","background","textAlign","scanContext","possiblyUpdateShaders","widthRatio","videoWidth","heightRatio","videoHeight","triggerNextScan","getTimeoutFps","isSuccessfull","finally","facingModeKey","deviceIdKey","allowedFacingModeValues_1","exactKey","isValidFacingModeValue","formerImageWidth","formerImageHeight","shader","backgroundColor","customId","canvasWidth","canvasHeight","shadingElement","rightLeftBorderSize","topBottomBorderSize","borderLeft","borderRight","borderTop","borderBottom","bottom","insertShaderBorders","largeSize","shaderElem","isLeft","SVG_XML_PREFIX","ASSET_CAMERA_SCAN","ASSET_FILE_SCAN","ASSET_INFO_ICON_16PX","PersistedDataFactory","createDefault","hasPermission","lastUsedCameraId","PersistedDataManager","LOCAL_STORAGE_KEY","hasCameraPermissions","getLastUsedCameraId","setHasPermission","setLastUsedCameraId","resetLastUsedCameraId","LibraryInfoDiv","infoDiv","renderInto","border","fontSize","borderRadius","fontWeight","projectLink","breakElemFirst","breakElemSecond","reportIssueLink","LibraryInfoIcon","onTapIn","onTapOut","isShowingInfoIcon","infoIcon","alt","onmouseover","onHoverIn","onmouseout","onHoverOut","onclick","LibraryInfoContainer","CameraPermissions","hasPermissions","ScanTypeSelector","supportedScanTypes","validateAndReturnScanTypes","getDefaultScanType","hasMoreThanOneScanType","isCameraScanRequired","isCameraScanType","scanType","isFileScanType","maxExpectedValues","supportedScanTypes_1","PublicUiElementIdAndClasses","ALL_ELEMENT_CLASS","CAMERA_PERMISSION_BUTTON_ID","CAMERA_START_BUTTON_ID","CAMERA_STOP_BUTTON_ID","TORCH_BUTTON_ID","CAMERA_SELECTION_SELECT_ID","FILE_SELECTION_BUTTON_ID","ZOOM_SLIDER_ID","SCAN_TYPE_CHANGE_ANCHOR_ID","TORCH_BUTTON_CLASS_TORCH_ON","TORCH_BUTTON_CLASS_TORCH_OFF","BaseUiElementFactory","elementType","TorchController","torchCapability","buttonController","onTorchActionFailureCallback","isTorchOn","isTorchEnabled","flipState","isTorchOnExpected","updateUiBasedOnLatestSettings","propagateFailure","setText","TorchButton","torchButton","torchController","torchButtonOptions","updateTorchCapability","getTorchButton","FileSelectionUi","showOnRender","onFileSelected","fileBasedScanRegion","createFileBasedScanRegion","fileScanLabel","getFileScanInputId","fileSelectionButton","setInitialValueToButton","fileScanInput","setImageNameToButton","createDragAndDropMessage","fileBasedScanRegionActiveBorder","fileBasedScanRegionDefaultBorder","dataTransfer","isAnyFileImage","isShowing","resetValue","margin","maxWidth","imageFileName","start8Chars","length_1","last8Chars","newText","initialText","CameraSelectionUi","cameras","selectElement","cameraSelectionContainer","numCameras","selectCameraString","anonymousCameraId","name_1","hasSingleItem","cameraSelectUi","CameraZoomUi","onChangeCallback","zoomElementContainer","rangeInput","rangeText","renderOnCreate","outline","zoomString","onValueChange","setValues","minValue","maxValue","setOnCameraZoomValueChangeCallback","removeOnCameraZoomValueChangeCallback","cameraZoomUi","Html5QrcodeScannerStatus","STATUS_DEFAULT","STATUS_SUCCESS","STATUS_WARNING","STATUS_REQUESTING_PERMISSION","Html5QrcodeScanner","lastMatchFound","cameraScanImage","fileScanImage","fileSelectionUi","createConfig","scanTypeSelector","currentScanType","sectionSwapAllowed","persistedDataManager","rememberLastUsedCamera","setHeaderMessage","container","createBasicLayout","html5Qrcode","getScanRegionId","toHtml5QrcodeFullConfig","getHtml5QrcodeOrFail","emptyHtmlContainer","mainContainer","resetBasicLayout","createHeader","qrCodeScanRegion","scanRegionId","minHeight","insertCameraScanImageToScanRegion","insertFileScanImageToScanRegion","qrCodeDashboard","dashboardId","getDashboardId","setupInitialDashboard","dashboard","createSection","createSectionControlPanel","createSectionSwap","headerMessageContainer","getHeaderMessageContainerId","getDashboardSectionId","createCameraListUi","scpCameraScanRegion","requestPermissionContainer","requestPermissionButton","showHideScanTypeSwapLink","createPermissionButtonIfNotExists","createPermissionButton","resetHeaderMessage","renderCameraSelection","getCameraPermissionButtonId","createPermissionsUi","sectionControlPanel","getDashboardSectionCameraScanRegionId","renderFileScanUi","cameraActionContainer","cameraActionStartButton","cameraActionStopButton","resetCameraActionStartButton","shouldShow","cameraId","toHtml5QrcodeCameraScanConfig","cameraCapabilities","showTorchButtonIfSupported","createAndShowTorchButtonIfSupported","showZoomSliderIfSupported","zoomCapability","zoomValue","defaultZoom","defaultZoomValueIfSupported","clip","renderCameraZoomUiIfSupported","TEXT_IF_CAMERA_SCAN_SELECTED","TEXT_IF_FILE_SCAN_SELECTED","switchContainer","switchScanTypeLink","getDashboardSectionSwapLinkId","textDecoration","clearScanRegion","getCameraScanRegion","startCameraScanIfPermissionExistsOnSwap","permissionButton","messageText","scannerStatus","messageDiv","getHeaderMessageDiv","shouldDisplay","getDashboardSectionSwapLink","ScannerComponent","cameraScanConfig","html5QrCode","ScannerComponent_ion_button_3_Template","Point","pressure","distanceTo","equals","other","velocityFrom","Bezier","fromPoints","widths","c2","calculateControlPoints","c3","c1","s1","s2","s3","dx1","dy1","dx2","dy2","m1","m2","l1","l2","tx","ty","startPoint","control2","control1","endPoint","startWidth","endWidth","px","py","cx","cy","xdiff","ydiff","SignatureEventTarget","_et","EventTarget","SignaturePad","_drawingStroke","_isEmpty","_lastPoints","_lastVelocity","_lastWidth","_handleMouseDown","_strokeBegin","_handleMouseMove","_strokeMoveUpdate","_handleMouseUp","_strokeEnd","_handleTouchStart","_handleTouchMove","_handleTouchEnd","_handlePointerStart","_handlePointerMove","_handlePointerEnd","velocityFilterWeight","minWidth","minDistance","dotSize","penColor","compositeOperation","wait","storedContext","storedArgs","later","remaining","_strokeUpdate","_ctx","fillStyle","clearRect","fillRect","_reset","_getPointGroupOptions","fromDataURL","devicePixelRatio","xOffset","yOffset","crossOrigin","toDataURL","encoderOptions","btoa","toSVG","touchAction","msTouchAction","userSelect","isIOS","PointerEvent","_handlePointerEvents","_handleMouseEvents","_handleTouchEvents","ownerDocument","fromData","pointGroups","_fromData","_drawCurve","_drawDot","toData","pointGroupOptions","newPointGroup","_createPoint","clientX","clientY","force","lastPointGroup","lastPoints","lastPoint","isLastPointTooClose","curve","_addPoint","globalCompositeOperation","rect","_calculateCurveWidths","shift","_strokeWidth","_drawCurveSegment","moveTo","arc","widthDelta","drawSteps","beginPath","tt","ttt","u","uu","uuu","closePath","drawCurve","drawDot","basicPoint","includeBackgroundColor","maxX","maxY","svg","toFixed","circle","outerHTML","SignatureComponent","resizeCanvas","canvasRef","initSignaturePad","signaturePad","signatureFile","ValuePickerModalService","ValuePickerComponent","showBackdrop","searchPlaceholder","element_r4","searchTerm","filteredElements","ValuePickerComponent_ion_toolbar_8_Template","ValuePickerComponent_ion_item_11_Template","videoUrl","VideoPlayerComponent","sanitizer","providerSettings","videoId","bypassSecurityTrustResourceUrl","VideoPlayerComponent_div_1_Template","VideoPlayerComponent_div_2_Template","VideoPlayerModalService","totalMinutes","patchEsm","promiseResolve","bootstrapLazy","closing","handlePhoto","handleNoDeviceError","noDevicesText","noDevicesButtonText","photoSrc","showShutterOverlay","flashIndex","hasCamera","rotation","deviceError","defineCustomElements","enableProdMode","enableElfProdMode","__NgCli_bootstrap_1","bootstrapModule","LIFECYCLE_WILL_ENTER","LIFECYCLE_DID_ENTER","LIFECYCLE_WILL_LEAVE","LIFECYCLE_DID_LEAVE","LIFECYCLE_WILL_UNLOAD","getIonPageElement","Config","configObj","fallback","getBoolean","getNumber","getPlatforms","setupPlatforms","isPlatform","winOrPlatform","Ionic","detectPlatforms","customPlatformMethods","PLATFORMS_MAP","customMethod","isIpad","testUserAgent","isMobile","isAndroid","isHybrid","isCordova","isCapacitorNative","cordova","phonegap","PhoneGap","capacitor","phablet","smallest","largest","tablet","isAndroidTablet","electron","pwa","mobile","mobileweb","hybrid","animationPrefix","setStyleProperty","animationName","webkitAnimationName","getAnimationPrefix","addClassToArray","classNameToAppend","createAnimation","animationId","_easing","_iterations","_fill","_direction","parentAnimation","forceDirectionValue","forceDurationValue","forceDelayValue","ani","beforeAddClasses","beforeRemoveClasses","beforeStylesValue","afterAddClasses","afterRemoveClasses","afterStylesValue","numAnimationsRunning","shouldForceLinearEasing","shouldForceSyncPlayback","willComplete","finished","shouldCalculateNumAnimations","onFinishCallbacks","onFinishOneTimeCallbacks","onStopOneTimeCallbacks","childAnimations","stylesheets","_beforeAddReadFunctions","_beforeAddWriteFunctions","_afterAddReadFunctions","_afterAddWriteFunctions","webAnimations","supportsAnimationEffect","AnimationEffect","supportsWebAnimations","Element","getWebAnimations","clearCallback","callbackToRemove","callbackObjects","callbackObject","oneTimeCallback","cleanUpElements","cleanUpStyleSheets","stylesheet","getFill","getDirection","getEasing","getDuration","getIterations","getDelay","animationFinish","afterAnimation","currentStep","elementClassList","onFinishCallback","initializeAnimation","beforeAnimation","iterations","onfinish","setAnimationStep","getComputedTiming","updateWebAnimation","updateTiming","deep","toggleAnimationName","pauseAnimation","sync","onStopCallback","onStop","firstFrame","It","lastFrame","fromTo","fromValue","toValue","clearStyleSheets","childAnimation","cleanUp","keyframeValues","different","keyframeEffect","setKeyframes","newEffect","KeyframeEffect","getTiming","updateKeyframes","addAnimation","animationToAdd","addElement","animationFill","animationDirection","animationIterations","animationDuration","animationEasing","getKeyframes","afterAddRead","readFn","afterAddWrite","writeFn","afterClearStyles","propertyNames","afterStyles","afterRemoveClass","afterAddClass","beforeAddRead","beforeAddWrite","beforeClearStyles","beforeStyles","beforeRemoveClass","beforeAddClass","isRunning","progressStart","forceLinearEasing","progressStep","progressEnd","playTo","dur","sanitizeDOMString","untrustedString","IonicSafeString","isSanitizerEnabled","documentFragment","createDocumentFragment","workingDiv","blockedTags","blockedTag","getElementsToRemove","elementIndex","childElements","getElementChildren","childIndex","sanitizeElement","dfChildren","fragmentDiv","getInnerDiv","NamedNodeMap","attribute","attributeName","allowedAttributes","attributeValue","propertyValue","sanitizerEnabled","setupConfig","ENABLE_HTML_CONTENT_DEFAULT","attachComponent","cssClasses","inline","attachViewToDom","detachComponent","removeViewFromDom","CoreDelegate","BaseComponent","userComponent","userComponentProps","ChildComponent","app","GestureDelegate","ctrl","disableScroll","canStart","captured","release","enableScroll","BlockerDelegate","block","gesture","disableGesture","unblock","enableGesture","BACKDROP_NO_SCROLL","GESTURE_CONTROLLER","GestureController","gestureId","requestedStart","disabledGestures","disabledScroll","createGesture","newID","createBlocker","gestureName","maxPriority","capturedId","isCaptured","isScrollDisabled","shouldUseCloseWatcher","_index_a5d50daf_js__WEBPACK_IMPORTED_MODULE_0__","w","blockHardwareBackButton","startHardwareBackButton","busy","backButtonCallback","ev","executeAction","handlerRegister","processHandlers","selectedHandler","MIN_SAFE_INTEGER","watcher","configureWatcher","CloseWatcher","onclose","OVERLAY_BACK_BUTTON_PRIORITY","MENU_BACK_BUTTON_PRIORITY","transitionEndAsync","expectedDuration","unRegTrans","animationTimeout","unregister","onTransitionEnd","resolvedEl","raf","hasLazyBuild","stencilEl","inheritAttributes","attributeObject","hasAttribute","ariaAttributes","inheritAriaAttributes","ignoreList","attributesToInherit","ael","_ael","rel","_rel","getElementRoot","__zone_symbol__requestAnimationFrame","hasShadowDom","attachShadow","focusVisibleElement","focus","renderHiddenInput","always","clamp","assert","actual","reason","pointerCoord","isEndSide","isRTL","debounceEvent","_original","debounce","func","shallowEqualStringMap","map1","map2","keys1","baseAnimation","isIos","menuOverlayAnimation","menu","closedX","openedX","menuAnimation","backdropAnimation","menuInnerEl","getIonMode","backdropEl","menuPushAnimation","contentOpenedX","menuClosedX","contentAnimation","contentEl","menuRevealAnimation","contentOpen","menuController","createMenuController","menuAnimations","menus","menuEl","getOpen","shouldEnable","swipeGesture","isOpen","_ref8","logOnMultipleSideMenus","waitUntilReady","menuRefs","printIonWarning","sideMenuRefs","menuId","_ref9","_getOpenSync","getMenus","getMenusSync","isAnimating","isAnimatingSync","registerAnimation","_setOpen","_ref12","shouldOpen","animated","openedMenu","setOpen","_isOpen","predicate","instance","openMenu","_createAnimation","menuCmp","animationBuilder","_register","_unregister","__defProp","Build","isDev","isBrowser","isServer","isTesting","hostRefs","getHostRef","registerInstance","lazyInstance","hostRef","$lazyInstance$","isMemberInElement","memberName","consoleError","cmpModules","modeResolutionChain","HYDRATE_ID","SLOT_FB_CSS","XLINK_NS","head","plt","$flags$","$resourcesUrl$","jmp","h2","ce","setPlatformHelpers","helpers","supportsListenerOptions","supportsListenerOptions2","supportsConstructableStylesheets","CSSStyleSheet","replaceSync","queuePending","queueDomReads","queueDomWrites","queueTask","queue","write","consume","readTask","writeTask","getAssetPath","assetUrl","EMPTY_OBJ","isComplexType","queryNonceMetaTagContent","doc2","__export","unwrap","unwrapErr","isOk","isErr","newVal","vnodeData","slotName","simple","lastSimple","vNodeChildren","walk","$text$","newVNode","classData","vdomFnUtils","vnode","$attrs$","$children$","$key$","$name$","tag","$tag$","$elm$","Host","convertToPublic","convertToPrivate","vattrs","vchildren","vkey","vname","vtag","vtext","clientHydrate","parentVNode","childRenderNodes","slotNodes","shadowRootNodes","hostElm","hostId","childNodeType","childIdSplt","childVNode","$hostId$","$nodeId$","$depth$","$index$","nodeValue","initializeDocumentHydrate","orgLocNodes","setMode","getMode","$modeName$","getElement","$hostElement$","composed","rootAppliedStyles","addStyle","styleContainerNode","cmpMeta","scopeId2","getScopeId","styleElm","appliedStyles","nonce","$nonce$","adoptedStyleSheets","cmp","$tagName$","setAccessor","isSvg","isProp","ln","oldClasses","parseClassList","newClasses","removeProperty","isComplex","xlink","removeAttributeNS","setAttributeNS","endsWith","CAPTURE_EVENT_SUFFIX","CAPTURE_EVENT_REGEX","parseClassListRegex","updateElement","oldVnode","newVnode","isSvgMode2","oldVnodeAttrs","newVnodeAttrs","sortedAttrNames","attrNames","scopeId","contentRef","hostTagName","useNativeShadowDom","checkSlotFallbackVisibility","checkSlotRelocate","isSvgMode","createElm","oldParentVNode","newParentVNode","parentElm","newVNode2","childNode","oldVNode","createTextNode","isDef","updateElementScopeIds","relocateToHostRoot","contentRefNode","childNodeArray","putBackInOriginalLocation","recursive","oldSlotChildNodes","parentReferenceNode","referenceNode","addVnodes","before","vnodes","startIdx","endIdx","containerElm","removeVnodes","nullifyVNodeRefs","isSameVnode","leftVNode","rightVNode","isInitialRender","oldChildren","newChildren","defaultHolder","updateChildren","oldCh","newCh","elmToMove","oldStartIdx","newStartIdx","idxInOld","oldEndIdx","oldStartVnode","oldEndVnode","newEndIdx","newStartVnode","newEndVnode","updateFallbackSlotVisibility","siblingNode","relocateNodes","markSlotContentForRelocation","hostContentNodes","isNodeLocatedInSlot","relocateNodeData","$nodeToRelocate$","$slotRefNode$","relocateNode","nodeToRelocate","vNode","newNode","inserted","findScopeIds","scopeIds","iterateChildNodes","Boolean","attachToAncestor","ancestorComponent","$onRenderResolve$","scheduleUpdate","isInitialLoad","$ancestorComponent$","dispatch","dispatchHooks","maybePromise","$queuedListeners$","safeCall","enqueue","updateComponent","isPromisey","err2","rc","$cmpMeta$","attachStyles","callRender","childrenPromises","postUpdate","postUpdateComponent","renderVdom","renderFnResults","$vnode$","rootVnode","isHost","$attrsToReflect$","propName","relocateData","orgLocationNode","slotRefNode","parentNodeRef","insertBeforeNode","refNode","addHydratedFlag","$onReadyResolve$","appDidLoad","$onInstanceResolve$","forceUpdate","isConnected","who","proxyComponent","Cstr","$members$","$watchers$","watchers","members","memberFlags","$instanceValues$","oldVal","parsePropertyValue","propValue","propType","areBothNaN","watchMethods","watchMethodName","_a2","$onInstancePromise$","_a3","attrNameToPropName","attributeChangedCallback","flags2","callbackName","observedAttributes","initializeComponent","hmrVersionId","$lazyBundleId$","CstrImport","loadModule","exportName","bundleId","importedModule","endLoad","isProxied","endNewInstance","fireConnectedCallback","whenDefined","localName","computeMode","endRegisterStyles","registerStyle","cssText","allowCS","setContentReference","contentRefElm","disconnectInstance","disconnectedCallback","$rmListeners$","rmListener","$onReadyPromise$","patchCloneNode","HostElementPrototype","orgCloneNode","srcNode","isShadowDom","clonedNode","slotted","nonStencilNode","stencilPrivates","privateField","__appendChild","patchSlotAppendChild","getSlotName","slotNode","getHostSlotNode","slotChildNodes","getHostSlotChildNodes","appendAfter","insertedNode","patchSlotRemoveChild","ElementPrototype","__removeChild","toRemove","existingNode","patchSlotPrepend","originalPrepend","slotPlaceholder","patchSlotAppend","patchSlotInsertAdjacentHTML","originalInsertAdjacentHtml","insertAdjacentHTML","patchSlotInsertAdjacentText","insertAdjacentText","patchSlotInsertAdjacentElement","originalInsertAdjacentElement","insertAdjacentElement","patchTextContent","hostElementPrototype","descriptor","Node","getAllChildSlotNodes","slotContent","tmp","textNode","patchChildSlotNodes","FakeNodeList","childNodesFn","__lookupGetter__","slot","slotRefNodes","hostName","lazyBundles","cmpTags","exclude","customElements2","metaCharset","dataStyles","deferredConnectedCallbacks","appLoadFallback","isBootstrapping","resourcesUrl","baseURI","hasSlotRelocation","lazyBundle","compactMeta","$listeners$","HostElement","hasRegisteredEventListeners","registerHost","delegatesFocus","connectedCallback","addHostEventListeners","endConnected","initializeClientHydrate","$orgLocNodes$","orgLocationId","shadowRootNode","patchPseudoShadowDom","descriptorPrototype","define","attachParentListeners","getHostListenerTarget","hostListenerProxy","hostListenerOpts","listenerOpts","__zone_symbol__addEventListener","_sPassive","Document","hasCapturedPan","hasStartedPan","hasFiredStart","isMoveQueued","finalConfig","gesturePriority","maxAngle","onWillStart","onEnd","notCaptured","onMove","blurOnStart","velocityX","velocityY","deltaX","deltaY","pan","createPanRecognizer","thresh","radians","isDirX","maxCosine","dirty","isPan","distance","hypotenuse","cosine","isGesture","fireOnMove","tryToCapturePan","fireOnStart","blurActiveElement","pointerUp","tmpHasCaptured","tmpHasFiredStart","calcGestureData","pointerEvents","createPointerEvents","pointerDown","pointerMove","rmTouchStart","rmTouchMove","rmTouchEnd","rmTouchCancel","rmMouseStart","rmMouseMove","rmMouseUp","lastTouchEvent","handleTouchStart","handleTouchEnd","handleMouseDown","handleMouseUp","stopTouch","stopMouse","timeStamp","updateDetail","abortGesture","prevX","prevY","prevT","timeDelta","moveFocus","tabIndex","offsetParent","LAST_FOCUS","focusController","referenceEl","activeEl","focusManagerPriorities","lastFocus","content","headingOne","beforeTransition","runTransition","afterTransition","enteringEl","leavingEl","setZIndex","showGoBack","setPageHidden","getAnimationBuilder","noAnimation","iosTransitionAnimation","mdTransitionAnimation","waitForReady","trans","baseEl","fireWillEvents","didComplete","playTransition","progressCallback","fireDidEvents","hasCompleted","focusManagerEnabled","defaultDeep","deepWait","deepReady","notifyViewReady","viewIsReady","promise","lifecycle","waitForMount","__registerHost","printIonError","printRequiredElementError","targetSelectors","IONIC_PREFIX","IONIC_SESSION_KEY","defaultMode","userConfig","platformHelpers","_ce","configStr","sessionStorage","configFromSession","persistConfig","configFromURL","saveConfig","isIonicElement","isAllowedIonicModeValue","elmMode","getClonedElement","shadow","getLargeTitle","refEl","tabs","activeTab","getBackButton","backDirection","buttonsList","parentHeader","activeHeader","backButton","buttonsCollapse","animateBackButton","rootAnimation","backButtonEl","backButtonBox","backButtonTextEl","backButtonTextBox","largeTitleEl","largeTitleTextBox","BACK_BUTTON_START_OFFSET","TEXT_ORIGIN_X","ICON_ORIGIN_X","CONTAINER_ORIGIN_X","WIDTH_SCALE","HEIGHT_SCALE","TEXT_START_SCALE","TEXT_END_SCALE","doTitleAndButtonTextsMatch","LARGE_TITLE_SIZE_OFFSET","backButtonIconBox","CONTAINER_START_TRANSLATE_X","CONTAINER_END_TRANSLATE_X","CONTAINER_START_TRANSLATE_Y","CONTAINER_END_TRANSLATE_Y","CONTAINER_KEYFRAMES","TEXT_KEYFRAMES","ICON_KEYFRAMES","enteringBackButtonTextAnimation","enteringBackButtonIconAnimation","enteringBackButtonAnimation","clonedBackButtonEl","clonedBackButtonTextEl","clonedBackButtonIconEl","At","animateLargeTitle","largeTitleBox","ORIGIN_X","TITLE_START_OFFSET","START_TRANSLATE_Y","END_TRANSLATE_X","START_SCALE","END_SCALE","END_TRANSLATE_Y","KEYFRAMES","clonedTitleEl","clonedLargeTitleAnimation","Ie","navEl","EASING","OPACITY","TRANSFORM","CENTER","OFF_RIGHT","OFF_LEFT","headerEls","enteringToolBarEls","enteringContentAnimation","navDecorAnimation","OFF_OPACITY","enteringTransitionEffectEl","enteringTransitionCoverEl","enteringTransitionShadowEl","enteringTransitionEffect","enteringTransitionCover","enteringTransitionShadow","enteringContentHasLargeTitle","forward","backward","createLargeTitleTransition","enteringBackButton","leavingLargeTitle","enteringLargeTitle","leavingBackButton","shouldAnimationForward","shouldAnimationBackward","leavingLargeTitleBox","enteringBackButtonBox","enteringBackButtonTextEl","enteringBackButtonTextBox","leavingLargeTitleTextBox","enteringLargeTitleBox","leavingBackButtonBox","leavingBackButtonTextEl","leavingBackButtonTextBox","enteringLargeTitleTextBox","enteringToolBarEl","enteringToolBar","enteringTitle","enteringToolBarButtons","inactiveHeader","buttonsToAnimate","isCollapseButton","enteringToolBarItems","enteringToolBarBg","enteringBackBtnText","leavingContent","leavingContentEl","leavingToolBarEls","leavingHeaderEls","leavingPage","leavingTransitionEffectEl","leavingTransitionCoverEl","leavingTransitionShadowEl","leavingTransitionEffect","leavingTransitionCover","leavingTransitionShadow","leavingToolBarEl","leavingToolBar","leavingTitle","leavingToolBarButtons","leavingToolBarItems","leavingToolBarItemEls","leavingToolBarBg","leavingBackBtnText","OFF_BOTTOM","ionPageElement","enteringToolbarEle","rootTransition","focusableQueryString","focusFirstDescendant","fallbackElement","firstInput","focusElementInContext","focusLastDescendant","hostToFocus","elementToFocus","radioGroup","lastOverlayIndex","lastId","activeAnimations","createController","createOverlay","dismissOverlay","getPresentedOverlay","prepareOverlay","connectListeners","overlayIndex","setOverlayId","hasController","getAppRoot","focusElementInOverlay","overlay","trapKeyboardFocus","lastOverlay","FOCUS_TRAP_DISABLE_CLASS","trapShadowFocus","trapScopedFocus","overlayRoot","overlayWrapper","BACKDROP","overlayTag","getPresentedOverlays","getOverlays","isOverlayHidden","overlays","setRootAriaHidden","iosEnterAnimation","mdEnterAnimation","presented","hideUnderlyingOverlaysFromScreenReaders","hideAnimatingOverlayFromScreenReaders","willPresent","willPresentShorthand","enterAnimation","overlayAnimation","didPresent","didPresentShorthand","restoreElementFocus","keyboardClose","overlayEl","previousElement","iosLeaveAnimation","mdLeaveAnimation","overlaysNotToast","willDismiss","willDismissShorthand","leaveAnimation","GESTURE","didDismiss","didDismissShorthand","revealOverlaysToScreenReaders","activeAni","_x15","_x16","_x17","eventMethod","onceEvent","isCancel","defaultGate","OVERLAY_GESTURE_PRIORITY","createDelegateController","workingDelegate","coreDelegate","getDelegate","_x18","createTriggerController","destroyTriggerInteraction","removeClickListener","addClickListener","triggerEl","openOverlay","newTopMostOverlay","presentedOverlay","nextPresentedOverlay","currentOverlay","_oldValue","visibilityStyle","BUILD","hotModuleReplacement","processMod","Drivers","SecureStorage","IndexedDB","LocalForage","LocalStorage","defaultConfig","storeName","dbKey","driverOrder","_db","_secureStorageDriver","actualConfig","_config","db","setDriver","assertDb","iterate","buildEntities","idKey","asObject","entity","checkPluck","pluck","isFunction","EntitiesRef","entitiesKey","idsKey","idKeyRef","entitiesPropsFactory","feature","capitalize","propsFactory","initialValue","Jt","defaultEntitiesRef","idsToRemove","coerceArray","newEntities","newIds","Reflect","deleteProperty","setEvent","In","On","getIdKey","asArray","throwIfEntityExists","throwIfDuplicateIdKey","check","Xt","Ot","getEntity$1","hasEntity","toModel","updater","coerceIds","updatedEntities","untilEntitiesChanges","selectAllEntities","getEntity","isUndefined","filtered","distinctUntilArrayItemChanged","selectManyByPredicate","filteredEntities","propsArrayFactory","merged","preStoreInit","runGuard","initialized$","loadFromStorageSubscription","saveToStorageSubscription","updatedValue","preStorageUpdate","asObservable","createStorage","batchInProgress","batchDone$","inProgress","elfHooksRegistry","ElfHooks","registerPreStoreUpdate","preStoreUpdate","registerPreStateInit","preStateInit","registry","registryActions","emitEvents","Store","storeDef","getConfig","_setEvent","events$","getInitialState","addStore","reducers","reducer","combine","observables","hasChange","buffer","removeStore","storeConfig","propsFactories","createState","mapFn","prevCollection","currentCollection","propsFactoryInitialValue","normalizedKey","Lt","arrayAdd","arrayRemove","arrayToggle","predicateOrIds","arrayUpdate","inArray","toArray","newItem","__DEV__","exponentialBackoffDelay","iteration","maxRetries","Infinity","shouldRetry","backoffDelay","retryWhen","notifier","innerSub","errors$","syncResub","subscribeForRetryWhen","attempt","iif","trueResult","falseResult","throwError","exports","CustomError","_newTarget","fixProto","fixStack","captureStackTrace","getKind","ArgumentException","IllegalArgumentException","BinaryBitmap","binarizer","getWidth","getHeight","getBlackRow","row","getBlackMatrix","isCropSupported","getLuminanceSource","crop","newSource","createBinarizer","isRotateSupported","rotateCounterClockwise","rotateCounterClockwise45","ChecksumException","getChecksumInstance","Binarizer","System","arraycopy","srcPos","dest","destPos","currentTimeMillis","IndexOutOfBoundsException","ArrayIndexOutOfBoundsException","Arrays","fillWithin","fromIndex","toIndex","rangeCheck","arrayLength","asList","cols","createInt32Array","Int32Array","hashCode","fillUint8Array","copyOf","newLength","copyOfUint8Array","newArray","Uint8Array","copyOfRange","copy","binarySearch","ar","comparator","numberComparator","Integer","numberOfTrailingZeros","numberOfLeadingZeros","toHexString","toBinaryString","intNumber","bitCount","truncDivision","dividend","divisor","num","radix","MIN_VALUE_32_BITS","MAX_VALUE","MAX_SAFE_INTEGER","BitArray","bits","makeArray","getSize","getSizeInBytes","ensureCapacity","newBits","flip","getNextSet","bitsOffset","currentBits","getNextUnset","setBulk","setRange","firstInt","lastInt","isRange","mask","appendBit","bit","appendBits","numBits","numBitsLeft","appendBitArray","otherSize","xor","toBytes","bitOffset","array","numBytes","theByte","getBitArray","oldBitsLen","leftOffset","currentInt","nextInt","DecodeHintType","OTHER","PURE_BARCODE","CHARACTER_SET","ALLOWED_LENGTHS","ASSUME_CODE_39_CHECK_DIGIT","ASSUME_GS1","RETURN_CODABAR_START_END","NEED_RESULT_POINT_CALLBACK","ALLOWED_EAN_EXTENSIONS","DecodeHintType$1","FormatException","getFormatInstance","CharacterSetValueIdentifiers","Cp437","ISO8859_1","ISO8859_2","ISO8859_3","ISO8859_4","ISO8859_5","ISO8859_6","ISO8859_7","ISO8859_8","ISO8859_9","ISO8859_10","ISO8859_11","ISO8859_13","ISO8859_14","ISO8859_15","ISO8859_16","SJIS","Cp1250","Cp1251","Cp1252","Cp1256","UnicodeBigUnmarked","UTF8","ASCII","Big5","GB18030","EUC_KR","CharacterSetECI","valueIdentifier","valuesParam","otherEncodingNames","VALUE_IDENTIFIER_TO_ECI","NAME_TO_ECI","VALUES_TO_ECI","otherName","getValueIdentifier","getCharacterSetECIByValue","characterSet","getCharacterSetECIByName","UnsupportedOperationException","StringEncoding","bytes","encoding","encodingName","customDecoder","TextDecoder","shouldDecodeOnFallback","decodeFallback","customEncoder","TextEncoder","encodeFallback","encodingCharacterSet","isDecodeFallbackSupported","fromCharCode","Uint16Array","charList","unescape","uintArray","charCodeAt","StringUtils","castAsNonUtf8Char","ISO88591","guessEncoding","canBeISO88591","canBeShiftJIS","canBeUTF8","utf8BytesLeft","utf2BytesChars","utf3BytesChars","utf4BytesChars","sjisBytesLeft","sjisKatakanaChars","sjisCurKatakanaWordLength","sjisCurDoubleBytesWordLength","sjisMaxKatakanaWordLength","sjisMaxDoubleBytesWordLength","isoHighOther","utf8bom","ASSUME_SHIFT_JIS","SHIFT_JIS","PLATFORM_DEFAULT_ENCODING","p0","p1","p2","p3","p4","toPrecision","toExponential","ch","getBytes","getCharCode","getCharAt","charCode","GB2312","EUC_JP","StringBuilder","enableDecoding","appendChars","deleteCharAt","setCharAt","setLengthToZero","insert","BitMatrix","rowSize","parseFromBooleanArray","imageI","parseFromString","stringRepresentation","setString","unsetString","bitsPos","rowStartPos","rowLength","nRows","unset","getRowSize","rowArray","getRow","setRegion","setRow","rotate180","topRow","bottomRow","getEnclosingRectangle","x32","theBits","getTopLeftOnBit","getBottomRightOnBit","lineSeparator","buildToString","NotFoundException","getNotFoundInstance","GlobalHistogramBinarizer","luminances","EMPTY","buckets","LUMINANCE_BUCKETS","initArrays","localLuminances","localBuckets","LUMINANCE_SHIFT","blackPoint","estimateBlackPoint","center","getMatrix","luminanceSize","Uint8ClampedArray","numBuckets","maxBucketCount","firstPeak","firstPeakSize","secondPeak","secondPeakScore","distanceToBiggest","score","temp","bestValley","bestValleyScore","fromFirst","LUMINANCE_BITS","HybridBinarizer","MINIMUM_DIMENSION","subWidth","BLOCK_SIZE_POWER","BLOCK_SIZE_MASK","subHeight","blackPoints","calculateBlackPoints","newMatrix","calculateThresholdForBlock","maxYOffset","BLOCK_SIZE","maxXOffset","yoffset","xoffset","z","blackRow","thresholdBlock","stride","yy","xx","pixel","MIN_DYNAMIC_RANGE","average","averageNeighborBlackPoint","LuminanceSource","sourceRow","luminance","InvertedLuminanceSource","invertedMatrix","invert","HTMLCanvasElementLuminanceSource","tempCanvasElement","makeBufferFromCanvasImageData","imageData","getImageData","toGrayscaleBuffer","imageBuffer","grayscaleBuffer","gray","rotate","getTempCanvasElement","angle","tempContext","angleRadians","DEGREE_TO_RADIANS","sin","VideoInputDevice","groupId","toJSON","BrowserCodeReader","timeBetweenScansMillis","_hints","_stopContinuousDecode","_stopAsyncDecode","_timeBetweenDecodingAttempts","hasNavigator","isMediaDevicesSuported","canEnumerateDevices","timeBetweenDecodingAttempts","millis","listVideoInputDevices","videoDevices","getVideoInputDevices","findDeviceById","decodeFromInputVideoDevice","videoSource","decodeOnceFromVideoDevice","decodeOnceFromConstraints","decodeOnceFromStream","attachStreamToVideo","decodeOnce","decodeFromInputVideoDeviceContinuously","callbackFn","decodeFromVideoDevice","decodeFromConstraints","decodeFromStream","decodeContinuously","stopAsyncDecode","stopContinuousDecode","prepareVideoElement","addVideoSource","playVideoOnLoadAsync","playVideoOnLoad","videoEndedListener","stopStreams","videoCanPlayListener","tryPlayVideo","isVideoPlaying","ended","readyState","getMediaElement","mediaElementId","mediaElement","decodeFromImage","decodeFromImageUrl","decodeFromImageElement","decodeFromVideo","decodeFromVideoUrl","decodeFromVideoElement","decodeFromVideoContinuously","decodeFromVideoUrlContinuously","decodeFromVideoElementContinuously","prepareImageElement","task","imageElement","isImageLoaded","_decodeOnLoadImage","_decodeFromVideoElementSetup","_decodeOnLoadVideo","_decodeOnLoadVideoContinuously","decodeTask","imageLoadedListener","naturalWidth","HTMLImageElement","HTMLVideoElement","retryIfNotFound","retryIfChecksumOrFormatError","createBinaryBitmap","decodeBitmap","_isHTMLVideoElement","drawFrameOnCanvas","srcElement","dimensions","canvasElementContext","sx","sy","sWidth","sHeight","dx","dy","dWidth","dHeight","captureCanvasContext","drawImageOnCanvas","naturalHeight","getCaptureCanvasContext","getCaptureCanvas","hybridBinarizer","captureCanvas","createCaptureCanvas","_destroyCaptureCanvas","_destroyVideoElement","_destroyImageElement","videoPlayingEventListener","cleanVideoSource","Result","rawBytes","resultPoints","resultMetadata","getText","getRawBytes","getNumBits","getResultPoints","getBarcodeFormat","getResultMetadata","putMetadata","putAllMetadata","addResultPoints","newPoints","oldPoints","allPoints","getTimestamp","BarcodeFormat","BarcodeFormat$1","ResultMetadataType","ORIENTATION","BYTE_SEGMENTS","ERROR_CORRECTION_LEVEL","ISSUE_NUMBER","SUGGESTED_PRICE","POSSIBLE_COUNTRY","PDF417_EXTRA_METADATA","STRUCTURED_APPEND_SEQUENCE","STRUCTURED_APPEND_PARITY","ResultMetadataType$1","DecoderResult","byteSegments","ecLevel","structuredAppendSequenceNumber","structuredAppendParity","setNumBits","getByteSegments","getECLevel","getErrorsCorrected","errorsCorrected","setErrorsCorrected","getErasures","erasures","setErasures","getOther","setOther","hasStructuredAppend","getStructuredAppendParity","getStructuredAppendSequenceNumber","AbstractGenericGF","expTable","logTable","addOrSubtract","GenericGFPoly","field","coefficients","coefficientsLength","firstNonZero","getCoefficients","getDegree","isZero","getCoefficient","degree","evaluateAt","multiply","smallerCoefficients","largerCoefficients","sumDiff","lengthDiff","getZero","aCoefficients","aLength","bCoefficients","bLength","product","aCoeff","multiplyScalar","scalar","multiplyByMonomial","coefficient","divide","quotient","remainder","denominatorLeadingTerm","inverseDenominatorLeadingTerm","inverse","degreeDifference","term","iterationQuotient","buildMonomial","alphaPower","ArithmeticException","GenericGF","primitive","generatorBase","zero","one","getOne","getGeneratorBase","AZTEC_DATA_12","AZTEC_DATA_10","AZTEC_DATA_6","AZTEC_PARAM","QR_CODE_FIELD_256","DATA_MATRIX_FIELD_256","AZTEC_DATA_8","MAXICODE_FIELD_64","ReedSolomonException","IllegalStateException","ReedSolomonDecoder","received","twoS","poly","syndromeCoefficients","noError","evalResult","syndrome","sigmaOmega","runEuclideanAlgorithm","omega","errorLocations","findErrorLocations","errorMagnitudes","findErrorMagnitudes","R","rLast","tLast","rLastLast","tLastLast","dltInverse","degreeDiff","sigmaTildeAtZero","errorLocator","numErrors","errorEvaluator","xiInverse","denominator","Table","UPPER","LOWER","MIXED","DIGIT","PUNCT","BINARY","Decoder","detectorResult","ddata","getBits","rawbits","extractBits","correctedBits","correctBits","convertBoolArrayToByteArray","getEncodedData","decoderResult","highLevelDecode","endIndex","latchTable","shiftTable","readCode","charCount","getCharacter","getTable","table","UPPER_TABLE","LOWER_TABLE","MIXED_TABLE","PUNCT_TABLE","DIGIT_TABLE","gf","codewordSize","getNbLayers","numDataCodewords","getNbDatablocks","numCodewords","dataWords","ex","stuffedBits","dataWord","compact","isCompact","layers","baseMatrixSize","alignmentMap","totalBitsInLayer","matrixSize","origCenter","newOffset","rowOffset","low","high","columnOffset","readByte","boolArr","byteArr","MathUtils","aX","aY","bX","bY","xDiff","yDiff","Float","floatToIntBits","ResultPoint","getX","getY","orderBestPatterns","zeroOneDistance","oneTwoDistance","zeroTwoDistance","pointA","pointB","pointC","crossProductZ","pattern1","pattern2","DetectorResult","getPoints","AztecDetectorResult","nbDatablocks","nbLayers","WhiteRectangleDetector","initSize","INIT_SIZE","halfsize","leftInit","rightInit","upInit","downInit","up","sizeExceeded","aBlackPointFoundOnBorder","atLeastOneBlackPointFoundOnBorder","atLeastOneBlackPointFoundOnRight","atLeastOneBlackPointFoundOnBottom","atLeastOneBlackPointFoundOnLeft","atLeastOneBlackPointFoundOnTop","rightBorderNotWhite","containsBlackPoint","bottomBorderNotWhite","leftBorderNotWhite","topBorderNotWhite","maxSize","getBlackPointOnSegment","centerEdges","dist","xStep","yStep","yi","yj","zi","zj","xi","xj","ti","tj","CORR","fixed","horizontal","GridSampler","checkAndNudgePoints","nudged","PerspectiveTransform","a11","a21","a31","a12","a22","a32","a13","a23","a33","quadrilateralToQuadrilateral","x0","y0","x1","y1","x2","y2","x3","y3","x0p","y0p","x1p","y1p","x2p","y2p","x3p","y3p","qToS","quadrilateralToSquare","squareToQuadrilateral","times","transformPoints","transformPointsWithValues","xValues","yValues","dx3","dy3","buildAdjoint","DefaultGridSampler","sampleGrid","dimensionX","dimensionY","p1ToX","p1ToY","p2ToX","p2ToY","p3ToX","p3ToY","p4ToX","p4ToY","p1FromX","p1FromY","p2FromX","p2FromY","p3FromX","p3FromY","p4FromX","p4FromY","sampleGridWithTransform","Float32Array","iValue","GridSamplerInstance","setGridSampler","newGridSampler","gridSampler","getInstance","toResultPoint","Detector","EXPECTED_CORNER_BITS","detectMirror","isMirror","pCenter","getMatrixCenter","bullsEyeCorners","getBullsEyeCorners","extractParameters","corners","getMatrixCornerPoints","nbDataBlocks","isValidPoint","nbCenterLayers","sides","sampleLine","getRotation","parameterData","correctedData","getCorrectedParameterData","cornerBits","idx","numECCodewords","parameterWords","pina","pinb","pinc","pind","pouta","getFirstDifferent","poutb","poutc","poutd","distancePoint","isWhiteOrBlackRectangle","pinax","pinbx","pincx","pindx","expandSquare","pointD","cornerPoints","getDimension","topLeft","topRight","bottomRight","bottomLeft","sampler","dimension","distanceResultPoint","moduleSize","cInit","getColor","colorModel","iMax","errRatio","isValid","oldSide","newSide","centerx","centery","result0","result2","AztecReader","reportFoundResultPoints","rpcb","foundPossibleResultPoint","OneDReader","doDecode","rotatedImage","orientation","tryHarder","rowStep","maxLines","middle","rowStepsAboveOrBelow","rowNumber","newHints","hint","decodeRow","recordPattern","counters","numCounters","isWhite","counterPosition","recordPatternInReverse","numTransitionsLeft","last","patternMatchVariance","pattern","maxIndividualVariance","patternLength","POSITIVE_INFINITY","unitBarWidth","totalVariance","counter","scaledPattern","variance","Code128Reader","findStartPattern","patternStart","bestVariance","MAX_AVG_VARIANCE","bestMatch","startCode","CODE_START_A","CODE_START_C","CODE_PATTERNS","MAX_INDIVIDUAL_VARIANCE","decodeCode","convertFNC1","startPatternInfo","currentRawCodesIndex","rawCodes","codeSet","CODE_CODE_A","CODE_START_B","CODE_CODE_B","CODE_CODE_C","isNextShifted","lastStart","nextStart","lastCode","checksumTotal","multiplier","lastCharacterWasPrintable","upperMode","shiftUpperMode","CODE_STOP","CODE_FNC_1","CODE_FNC_2","CODE_FNC_3","CODE_FNC_4_A","CODE_SHIFT","CODE_FNC_4_B","lastPatternSize","resultLength","rawCodesSize","Code39Reader","usingCheckDigit","extendedMode","decodeRowResult","theCounters","decodedChar","findAsteriskPattern","toNarrowWidePattern","patternToChar","resultString","ALPHABET_STRING","decodeExtended","ASTERISK_ENCODING","copyWithin","wideCounters","maxNarrowCounter","minCounter","totalWideCountersWidth","CHARACTER_ENCODINGS","encoded","decoded","ITFReader","narrowLineWidth","startRange","decodeStart","endRange","decodeEnd","decodeMiddle","allowedLengths","DEFAULT_ALLOWED_LENGTHS","lengthOK","maxAllowedLength","payloadStart","payloadEnd","counterDigitPair","counterBlack","counterWhite","twoK","decodeDigit","counterDigit","endStart","skipWhiteSpace","startPattern","findGuardPattern","START_PATTERN","validateQuietZone","quietCount","endPattern","END_PATTERN_REVERSED","PATTERNS","AbstractUPCEANReader","decodeRowStringBuffer","findStartGuardPattern","foundStart","START_END_PATTERN","quietStart","checkChecksum","checkStandardUPCEANChecksum","getStandardUPCEANChecksum","findGuardPatternWithoutCounters","whiteFirst","MIDDLE_PATTERN","END_PATTERN","L_PATTERNS","UPCEANExtension5Support","CHECK_DIGIT_ENCODINGS","decodeMiddleCounters","extensionStartRange","extensionData","parseExtensionString","extensionResult","lgPatternFound","L_AND_G_PATTERNS","checkDigit","determineCheckDigit","extensionChecksum","raw","parseExtension5String","currency","rawAmount","hundredths","UPCEANExtension2Support","checkParity","UPCEANExtensionSupport","EXTENSION_START_PATTERN","UPCEANReader","reversedWidths","startGuardRange","resultPointCallback","resultPoint","budello","quietEnd","decodeResult","extensionLength","allowedExtensions","EAN13Reader","determineFirstDigit","FIRST_DIGIT_ENCODINGS","EAN8Reader","UPCAReader","ean13Reader","maybeReturnResult","upcaResult","UPCEReader","determineNumSysAndCheckDigit","MIDDLE_END_PATTERN","convertUPCEtoUPCA","numSys","NUMSYS_AND_CHECK_DIGIT_PATTERNS","upce","upceChars","lastChar","MultiFormatUPCEANReader","possibleFormats","readers","ean13MayBeUPCA","canReturnUPCA","resultUPCA","AbstractRSSReader","decodeFinderCounters","dataCharacterCounters","oddRoundingErrors","evenRoundingErrors","oddCounts","evenCounts","getDecodeFinderCounters","getDataCharacterCounters","getOddRoundingErrors","getEvenRoundingErrors","getOddCounts","getEvenCounts","parseFinderValue","finderPatterns","biggestError","decrement","isFinderPattern","firstTwoSum","MIN_FINDER_PATTERN_RATIO","MAX_FINDER_PATTERN_RATIO","maxCounter","DataCharacter","checksumPortion","getChecksumPortion","FinderPattern","startEnd","getStartEnd","RSSUtils","getRSSvalue","noNarrow","narrowMask","bar","elmWidth","subVal","combins","lessVal","mxwElement","maxDenom","minDenom","BitArrayBuilder","buildBitArray","pairs","charNumber","getRightChar","binary","accPos","firstValue","currentPair","leftValue","getLeftChar","rightValue","BlockParsedResult","decodedInformation","getDecodedInformation","isFinished","DecodedObject","newPosition","getNewPosition","DecodedChar","isFNC1","FNC1","DecodedInformation","newString","remainingValue","getNewString","isRemaining","getRemainingValue","DecodedNumeric","firstDigit","secondDigit","getFirstDigit","getSecondDigit","isFirstDigitFNC1","isSecondDigitFNC1","isAnyFNC1","FieldParser","parseFieldsInGeneralPurpose","rawInformation","firstTwoDigits","dataLength","TWO_DIGIT_DATA_LENGTH","VARIABLE_LENGTH","processVariableAI","processFixedAI","firstThreeDigits","THREE_DIGIT_DATA_LENGTH","THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH","firstFourDigits","FOUR_DIGIT_DATA_LENGTH","aiSize","fieldSize","ai","parsedAI","variableFieldSize","GeneralAppIdDecoder","information","decodeAllCodes","buff","initialPosition","info","decodeGeneralPurposeField","parsedFields","isStillNumeric","decodeNumeric","numeric","extractNumericValueFromBitArray","lastDecoded","parseBlocks","isAlpha","parseAlphaBlock","isIsoIec646","parseIsoIec646Block","parseNumericBlock","isNumericToAlphaNumericLatch","setAlpha","incrementPosition","isStillIsoIec646","iso","decodeIsoIec646","isAlphaOr646ToNumericLatch","setNumeric","isAlphaTo646ToAlphaLatch","isStillAlpha","alpha","decodeAlphanumeric","setIsoIec646","fiveBitValue","sevenBitValue","eightBitValue","sixBitValue","AbstractExpandedDecoder","generalDecoder","getInformation","getGeneralDecoder","AI01decoder","encodeCompressedGtin","buf","encodeCompressedGtinWithoutAI","initialBufferPosition","currentBlock","appendCheckDigit","GTIN_SIZE","AI01AndOtherAIs","parseInformation","initialGtinPosition","firstGtinDigit","HEADER_SIZE","AnyAIDecoder","AI01weightDecoder","encodeCompressedWeight","weightSize","originalWeightNumeric","addWeightCode","weightNumeric","checkWeight","currentDivisor","AI013x0xDecoder","WEIGHT_SIZE","AI013103decoder","weight","AI01320xDecoder","AI01392xDecoder","lastAIdigit","LAST_DIGIT_SIZE","AI01393xDecoder","FIRST_THREE_DIGITS_SIZE","generalInformation","AI013x0x1xDecoder","firstAIdigits","dateCode","DATE_SIZE","encodeCompressedDate","numericDate","createDecoder","ExpandedPair","leftChar","rightChar","finderPatter","mayBeLast","leftchar","rightchar","finderpattern","maybeLast","getFinderPattern","mustBeLast","equalsOrNull","ExpandedRow","wasReversed","getPairs","getRowNumber","isReversed","isEquivalent","otherPairs","checkEqualitity","pair1","pair2","e1","e2","getFinderPatter","RSSExpandedReader","MAX_PAIRS","startFromEven","constructResult","decodeRow2pairs","tryStackedDecode","retrieveNextPair","storeRow","ps","checkRowsBoolean","checkRows","collectedRows","currentRow","collectedRow","isValidSequence","rs","FINDER_PATTERN_SEQUENCES","insertPos","prevIsSame","nextIsSame","erow","isPartialRow","removePartialRows","pp","allFound","getRows","resultingString","firstPoints","firstPair","checkCharacter","firstCharacter","checksum","currentRightChar","getNextSecondBar","initialPos","previousPairs","isOddPattern","keepFinding","forcedOffset","findNextPair","parseFoundFinderPattern","decodeDataCharacter","isEmptyPair","searchingEvenPair","reverseCounters","oddPattern","firstCounter","firstElementStart","FINDER_PATTERNS","elementWidth","expectedElementWidth","adjustOddEvenCounts","weightRowNumber","oddSum","oddChecksumPortion","isNotA1left","WEIGHTS","evenChecksumPortion","oddWidest","SYMBOL_WIDEST","evenWidest","vOdd","vEven","EVEN_TOTAL_SUBSET","GSUM","numModules","evenSum","incrementOdd","decrementOdd","incrementEven","decrementEven","mismatch","oddParityBad","evenParityBad","FINDER_PAT_A","FINDER_PAT_B","FINDER_PAT_C","FINDER_PAT_D","FINDER_PAT_E","FINDER_PAT_F","Pair","finderPattern","getCount","incrementCount","RSS14Reader","possibleLeftPairs","possibleRightPairs","leftPair","decodePair","addOrTally","rightPair","possiblePairs","pair","symbolValue","leftPoints","rightPoints","checkValue","targetCheckValue","findFinderPattern","outside","inside","outsideChar","OUTSIDE_ODD_WIDEST","OUTSIDE_EVEN_TOTAL_SUBSET","OUTSIDE_GSUM","INSIDE_ODD_WIDEST","INSIDE_ODD_TOTAL_SUBSET","INSIDE_GSUM","rightFinderPattern","firstIsBlack","MultiFormatOneDReader","useCode39CheckDigit","ECBlocks","ecCodewords","ecBlocks1","ecBlocks2","ecBlocks","getECCodewords","getECBlocks","ECB","dataCodewords","getDataCodewords","Version","versionNumber","symbolSizeRows","symbolSizeColumns","dataRegionSizeRows","dataRegionSizeColumns","ecbArray","ecBlock","totalCodewords","getVersionNumber","getSymbolSizeRows","getSymbolSizeColumns","getDataRegionSizeRows","getDataRegionSizeColumns","getTotalCodewords","getVersionForDimensions","numRows","numColumns","VERSIONS","buildVersions","BitMatrixParser","bitMatrix","readVersion","mappingBitMatrix","extractDataRegion","readMappingMatrix","getVersion","readCodewords","Int8Array","resultOffset","corner1Read","corner2Read","corner3Read","corner4Read","readCorner2","readUtah","readCorner4","readCorner3","readCorner1","readModule","currentByte","numDataRegionsRow","numDataRegionsColumn","bitMatrixWithoutAlignment","dataRegionRow","dataRegionRowOffset","dataRegionColumn","dataRegionColumnOffset","readRowOffset","writeRowOffset","DataBlock","codewords","getDataBlocks","rawCodewords","totalBlocks","ecBlockArray","numResultBlocks","numBlockCodewords","longerBlocksNumDataCodewords","shorterBlocksNumDataCodewords","rawCodewordsOffset","specialVersion","numLongerBlocks","jOffset","getNumDataCodewords","getCodewords","BitSource","byteOffset","getBitOffset","getByteOffset","readBits","available","bitsLeft","toRead","bitsToNotRead","Mode","PAD_ENCODE","ASCII_ENCODE","C40_ENCODE","TEXT_ENCODE","ANSIX12_ENCODE","EDIFACT_ENCODE","BASE256_ENCODE","DecodedBitStreamParser","resultTrailer","decodeAsciiSegment","decodeC40Segment","decodeTextSegment","decodeAnsiX12Segment","decodeEdifactSegment","decodeBase256Segment","upperShift","oneByte","cValues","firstByte","parseTwoBytes","cValue","C40_BASIC_SET_CHARS","c40char","C40_SHIFT2_SET_CHARS","TEXT_BASIC_SET_CHARS","textChar","TEXT_SHIFT2_SET_CHARS","TEXT_SHIFT3_SET_CHARS","secondByte","fullBitValue","edifactValue","codewordPosition","unrandomize255State","uee","randomizedBase256Codeword","base256CodewordPosition","tempVariable","Decoder$1","rsDecoder","parser","dataBlocks","totalBytes","resultBytes","dataBlocksCount","dataBlock","codewordBytes","correctErrors","codewordsInts","Detector$1","rectangleDetector","detectSolid1","detectSolid2","correctTopRight","shiftToModuleCenter","dimensionTop","transitionsBetween","dimensionRight","shiftPoint","div","moveAway","fromX","fromY","trAB","trBC","trCD","trDA","tr","pointBs","pointCs","trTop","trRight","pointAs","candidate1","candidate2","dimH","dimV","pointDs","centerX","centerY","toX","toY","steep","ystep","xstep","inBlack","isBlack","DataMatrixReader","decoder","extractPureBits","NO_POINTS","leftTopBlack","rightBottomBlack","matrixWidth","matrixHeight","nudge","iOffset","ErrorCorrectionLevelValues","L","M","Q","H","ErrorCorrectionLevel","stringValue","FOR_BITS","FOR_VALUE","fromString","forBits","FormatInformation","formatInfo","errorCorrectionLevel","dataMask","numBitsDiffering","decodeFormatInformation","maskedFormatInfo1","maskedFormatInfo2","doDecodeFormatInformation","FORMAT_INFO_MASK_QR","bestDifference","bestFormatInfo","decodeInfo","FORMAT_INFO_DECODE_LOOKUP","targetInfo","bitsDifference","getErrorCorrectionLevel","getDataMask","ECBlocks$1","ecCodewordsPerBlock","getECCodewordsPerBlock","getNumBlocks","getTotalECCodewords","ECB$1","Version$1","alignmentPatternCenters","getAlignmentPatternCenters","getDimensionForVersion","getECBlocksForLevel","getProvisionalVersionForDimension","getVersionForNumber","decodeVersionInformation","versionBits","bestVersion","VERSION_DECODE_INFO","targetVersion","buildFunctionPattern","DataMaskValues","DATA_MASK_000","DATA_MASK_001","DATA_MASK_010","DATA_MASK_011","DATA_MASK_100","DATA_MASK_101","DATA_MASK_110","DATA_MASK_111","DataMask","isMasked","unmaskBitMatrix","BitMatrixParser$1","readFormatInformation","parsedFormatInfo","formatInfoBits1","copyBit","formatInfoBits2","jMin","parsedVersion","provisionalVersion","ijMin","theParsedVersion","functionPattern","readingUp","bitsRead","col","remask","setMirror","mirror","DataBlock$1","shorterBlocksTotalCodewords","longerBlocksStartAt","ModeValues","TERMINATOR","NUMERIC","ALPHANUMERIC","STRUCTURED_APPEND","BYTE","ECI","KANJI","FNC1_FIRST_POSITION","FNC1_SECOND_POSITION","HANZI","Mode$1","characterCountBitsForVersions","getCharacterCountBits","DecodedBitStreamParser$1","symbolSequence","parityData","currentCharacterSetECI","fc1InEffect","modeBits","parseECIValue","subset","countHanzi","GB2312_SUBSET","decodeHanziSegment","decodeNumericSegment","decodeAlphanumericSegment","decodeByteSegment","decodeKanjiSegment","twoBytes","assembledTwoBytes","ignored","readBytes","toAlphaNumericChar","ALPHANUMERIC_CHARS","nextTwoCharsBits","threeDigitsBits","twoDigitsBits","digitBits","QRCodeDecoderMetaData","mirrored","isMirrored","applyMirroredCorrection","Decoder$2","decodeBooleanArray","decodeBitMatrix","decodeBitMatrixParser","AlignmentPattern","posX","posY","estimatedModuleSize","aboutEquals","moduleSizeDiff","combineEstimate","newModuleSize","combinedX","combinedY","AlignmentPatternFinder","possibleCenters","crossCheckStateCount","maxJ","middleI","stateCount","iGen","foundPatternCross","confirmed","handlePossibleCenter","centerFromEnd","maxVariance","crossCheckVertical","startI","centerJ","maxCount","originalStateCountTotal","maxI","stateCountTotal","centerI","FinderPattern$1","getEstimatedModuleSize","combinedCount","FinderPatternInfo","patternCenters","getBottomLeft","getTopLeft","getTopRight","FinderPatternFinder","getPossibleCenters","pureBarcode","iSkip","MAX_MODULES","MIN_SKIP","hasSkipped","haveMultiplyConfirmedCenters","rowSkip","findRowSkip","patternInfo","selectBestPatterns","totalModuleSize","getCrossCheckStateCount","crossCheckDiagonal","crossCheckHorizontal","startJ","firstConfirmedCenter","CENTER_QUORUM","confirmedCount","totalDeviation","startSize","square","stdDev","center1","center2","dA","dB","possibleCenter","Detector$2","getResultPointCallback","processFinderPatternInfo","calculateModuleSize","computeDimension","modulesBetweenFPCenters","alignmentPattern","bottomRightX","bottomRightY","correctionToTopLeft","estAlignmentX","estAlignmentY","findAlignmentInRegion","re","createTransform","dimMinusThree","sourceBottomRightX","sourceBottomRightY","tltrCentersDimension","tlblCentersDimension","calculateModuleSizeOneWay","otherPattern","moduleSizeEst1","sizeOfBlackWhiteBlackRunBothWays","moduleSizeEst2","sizeOfBlackWhiteBlackRun","otherToX","otherToY","xLimit","overallEstModuleSize","allowanceFactor","allowance","alignmentAreaLeftX","alignmentAreaRightX","alignmentAreaTopY","alignmentAreaBottomY","QRCodeReader","nudgedTooFarRight","nudgedTooFarDown","PDF417Common","getBitCountSum","moduleBitCount","toIntArray","EMPTY_INT_ARRAY","integer","getCodeword","symbol","SYMBOL_TABLE","CODEWORD_TABLE","NUMBER_OF_CODEWORDS","MAX_CODEWORDS_IN_BARCODE","MIN_ROWS_IN_BARCODE","MAX_ROWS_IN_BARCODE","MODULES_IN_CODEWORD","MODULES_IN_STOP_PATTERN","BARS_IN_MODULE","PDF417DetectorResult","Detector$3","detectMultiple","barcodeCoordinates","foundBarcodeInRow","vertices","findVertices","barcodeCoordinate","ROW_STEP","startRow","startColumn","copyToResult","findRowsWithPattern","INDEXES_START_PATTERN","STOP_PATTERN","INDEXES_STOP_PATTERN","tmpResult","destinationIndexes","loc","previousRowLoc","stopRow","skippedRowCount","MAX_PATTERN_DRIFT","SKIPPED_ROW_COUNT_MAX","BARCODE_MIN_HEIGHT","pixelDrift","MAX_PIXEL_DRIFT","ModulusPoly","negative","multiplyOther","negativeCoefficients","ModulusBase","modulus","ModulusGF","PDF417_GF","ErrorCorrection","S","evaluation","knownErrors","erasure","sigma","errorLocatorDegree","formalDerivativeCoefficients","formalDerivative","numerator","BoundingBox","constructor_2","constructor_1","leftUnspecified","rightUnspecified","minX","minY","getBottomRight","getMinX","getMaxX","getMinY","getMaxY","leftBox","rightBox","addMissingRows","missingStartRows","missingEndRows","newTopLeft","newBottomLeft","newTopRight","newBottomRight","newMinY","newTop","newMaxY","newBottom","BarcodeMetadata","columnCount","rowCountUpperPart","rowCountLowerPart","rowCount","getColumnCount","getRowCount","getRowCountUpperPart","getRowCountLowerPart","Formatter","DetectionResultColumn","getCodewordNearby","imageRow","codeword","MAX_NEARBY_DISTANCE","nearImageRow","imageRowToCodewordIndex","setCodeword","getBoundingBox","formatter","BarcodeValue","confidence","maxConfidence","getKey","getConfidence","DetectionResultRowIndicatorColumn","_isLeft","setRowNumbers","setRowNumberAsRowIndicatorColumn","adjustCompleteIndicatorColumnRowNumbers","barcodeMetadata","removeIncorrectCodewords","firstRow","lastRow","barcodeRow","maxRowHeight","currentRowHeight","codewordsRow","rowDifference","checkedRows","closePreviousCodewordFound","getRowHeights","getBarcodeMetadata","adjustIncompleteIndicatorColumnRowNumbers","barcodeColumnCount","barcodeRowCountUpperPart","barcodeRowCountLowerPart","barcodeECLevel","rowIndicatorValue","codewordRowNumber","codewordRow","DetectionResult","ADJUST_ROW_NUMBER_SKIP","detectionResultColumns","getDetectionResultColumns","adjustIndicatorColumnRowNumbers","previousUnadjustedCount","unadjustedCodewordCount","adjustRowNumbersAndGetCount","detectionResultColumn","unadjustedCount","adjustRowNumbersByRow","barcodeColumn","hasValidRowNumber","adjustRowNumbers","adjustRowNumbersFromBothRI","adjustRowNumbersFromLRI","adjustRowNumbersFromRRI","LRIcodewords","RRIcodewords","setRowNumber","rowIndicatorRowNumber","invalidRowCounts","adjustRowNumberIfValid","isValidRowNumber","previousColumnCodewords","nextColumnCodewords","otherCodewords","otherCodeword","adjustRowNumber","getBucket","getBarcodeColumnCount","getBarcodeRowCount","getBarcodeECLevel","setBoundingBox","setDetectionResultColumn","getDetectionResultColumn","rowIndicatorColumn","Codeword","endX","bucket","BARCODE_ROW_UNKNOWN","getStartX","getEndX","PDF417CodewordDecoder","currentSymbol","currentBit","RATIOS_TABLE","fround","bSymbolTableReady","getDecodedValue","decodedValue","getDecodedCodewordValue","sampleBitCounts","getClosestDecodedValue","bitCountSum","bitCountIndex","sumPreviousBits","getBitValue","bitCountRatios","bestMatchError","ratioTableRow","PDF417ResultMetadata","segmentCount","fileSize","getSegmentIndex","segmentIndex","setSegmentIndex","getFileId","setFileId","getOptionalData","optionalData","setOptionalData","isLastSegment","lastSegment","setLastSegment","getSegmentCount","setSegmentCount","getSender","sender","setSender","getAddressee","addressee","setAddressee","getFileName","fileName","setFileName","getFileSize","setFileSize","getChecksum","setChecksum","setTimestamp","Long","parseLong","NullPointerException","OutputStream","writeBytes","writeBytesOffset","OutOfMemoryError","ByteArrayOutputStream","minCapacity","grow","newCapacity","writeTo","out","toByteArray","param","toString_string","toString_number","toString_void","charsetName","hibyte","Mode$2","ALPHA","ALPHA_SHIFT","PUNCT_SHIFT","getBigIntConstructor","BigInt","BigInteger","createBigInt","DecodedBitStreamParser$2","codeIndex","TEXT_COMPACTION_MODE_LATCH","textCompaction","BYTE_COMPACTION_MODE_LATCH","BYTE_COMPACTION_MODE_LATCH_6","byteCompaction","MODE_SHIFT_TO_BYTE_COMPACTION_MODE","NUMERIC_COMPACTION_MODE_LATCH","numericCompaction","ECI_CHARSET","ECI_GENERAL_PURPOSE","ECI_USER_DEFINED","BEGIN_MACRO_PDF417_CONTROL_BLOCK","decodeMacroBlock","BEGIN_MACRO_PDF417_OPTIONAL_FIELD","MACRO_PDF417_TERMINATOR","NUMBER_OF_SEQUENCE_CODEWORDS","segmentIndexArray","decodeBase900toBase10","optionalFieldsStart","MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME","MACRO_PDF417_OPTIONAL_FIELD_SENDER","MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE","MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT","MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP","MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM","MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE","optionalFieldsLength","textCompactionData","byteCompactionData","decodeTextCompaction","subMode","priorToShiftMode","subModeCh","LL","ML","PS","AS","PL","MIXED_CHARS","AL","PAL","PUNCT_CHARS","decodedBytes","byteCompactedCodewords","nextCode","numericCodewords","MAX_NUMERIC_CODEWORDS","EXP900","getEXP900","nineHundred","PDF417ScanningDecoder","imageTopLeft","imageBottomLeft","imageTopRight","imageBottomRight","minCodewordWidth","maxCodewordWidth","detectionResult","leftRowIndicatorColumn","rightRowIndicatorColumn","firstPass","getRowIndicatorColumn","resultBox","maxBarcodeColumn","leftToRight","previousStartColumn","getStartColumn","detectCodeword","createDecoderResult","adjustBoundingBox","rowHeights","getMax","rowHeight","leftBarcodeMetadata","rightBarcodeMetadata","adjustCodewordCount","barcodeMatrix","barcodeMatrix01","numberOfCodewords","calculatedNumberOfCodewords","getNumberOfECCodeWords","createBarcodeMatrix","ambiguousIndexValuesList","ambiguousIndexesList","codewordIndex","ambiguousIndexValues","createDecoderResultFromAmbiguousValues","erasureArray","ambiguousIndexes","ambiguousIndexCount","tries","decodeCodewords","isValidBarcodeColumn","skippedColumns","previousRowCodeword","minColumn","maxColumn","adjustCodewordStartColumn","getModuleBitCount","endColumn","codewordBitCount","tmpCount","checkCodewordSkew","getCodewordBucketNumber","imageColumn","moduleNumber","previousPixelValue","codewordStartColumn","correctedStartColumn","CODEWORD_SKEW_SIZE","correctedErrorsCount","verifyCodewordCount","MAX_ERRORS","MAX_EC_CODEWORDS","errorCorrection","getBitCountForCodeword","getCodewordBucketNumber_Int32Array","getCodewordBucketNumber_number","barcodeValue","PDF417Reader","decodeMultiple","getMinCodewordWidth","getMaxCodewordWidth","pdf417ResultMetadata","getMaxWidth","getMinWidth","ReaderException","MultiFormatReader","setHints","decodeInternal","decodeWithState","addOneDReader","EncodeHintType","ERROR_CORRECTION","DATA_MATRIX_SHAPE","MIN_SIZE","MAX_SIZE","MARGIN","PDF417_COMPACT","PDF417_COMPACTION","PDF417_DIMENSIONS","AZTEC_LAYERS","QR_VERSION","EncodeHintType$1","ReedSolomonEncoder","cachedGenerators","buildGenerator","lastGenerator","nextGenerator","toEncode","ecBytes","dataBytes","infoCoefficients","numZeroCoefficients","MaskUtil","applyMaskPenaltyRule1","applyMaskPenaltyRule1Internal","applyMaskPenaltyRule2","penalty","getArray","arrayY","N2","applyMaskPenaltyRule3","numPenalties","isWhiteHorizontal","isWhiteVertical","N3","applyMaskPenaltyRule4","numDarkCells","numTotalCells","N4","getDataMaskBit","maskPattern","intermediate","iLimit","jLimit","numSameBitCells","prevBit","N1","ByteMatrix","setNumber","setBoolean","aByte","bytesY","otherBytesY","QRCode","getMaskPattern","setECLevel","setVersion","setMaskPattern","setMatrix","isValidMaskPattern","NUM_MASK_PATTERNS","WriterException","MatrixUtil","clearMatrix","buildMatrix","dataBits","embedBasicPatterns","embedTypeInfo","maybeEmbedVersionInfo","embedDataBits","embedPositionDetectionPatternsAndSeparators","embedDarkDotAtLeftBottomCorner","maybeEmbedPositionAdjustmentPatterns","embedTimingPatterns","typeInfoBits","makeTypeInfoBits","coordinates","TYPE_INFO_COORDINATES","versionInfoBits","makeVersionInfoBits","bitIndex","findMSBSet","calculateBCHCode","msbSetInPoly","typeInfo","bchCode","TYPE_INFO_POLY","maskBits","TYPE_INFO_MASK_PATTERN","VERSION_INFO_POLY","embedHorizontalSeparationPattern","xStart","yStart","embedVerticalSeparationPattern","embedPositionAdjustmentPattern","patternY","POSITION_ADJUSTMENT_PATTERN","embedPositionDetectionPattern","POSITION_DETECTION_PATTERN","pdpWidth","hspWidth","POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE","BlockPair","errorCorrectionBytes","getDataBytes","getErrorCorrectionBytes","Encoder","calculateMaskPenalty","DEFAULT_BYTE_MODE_ENCODING","hasEncodingHint","chooseMode","headerBits","eci","appendECI","appendModeInfo","appendBytes","bitsNeeded","calculateBitsNeeded","willFit","recommendVersion","headerAndDataBits","numLetters","appendLengthInfo","numDataBytes","terminateBits","finalBits","interleaveWithECBytes","qrCode","chooseMaskPattern","provisionalBitsNeeded","chooseVersion","getAlphanumericCode","ALPHANUMERIC_TABLE","isOnlyDoubleByteKanji","hasNumeric","hasAlphanumeric","isDigit","byte1","minPenalty","bestMaskPattern","numInputBits","versionNum","capacity","numBitsInLastByte","numPaddingBytes","getNumDataBytesAndNumECBytesForBlockID","numTotalBytes","numRSBlocks","blockID","numDataBytesInBlock","numECBytesInBlock","numRsBlocksInGroup2","numRsBlocksInGroup1","numTotalBytesInGroup1","numTotalBytesInGroup2","numDataBytesInGroup1","numDataBytesInGroup2","numEcBytesInGroup1","numEcBytesInGroup2","dataBytesOffset","maxNumDataBytes","maxNumEcBytes","blocks","numEcBytesInBlock","generateECBytes","appendNumericBytes","appendAlphanumericBytes","append8BitBytes","appendKanjiBytes","getDigit","singleCharacter","cn","num1","num2","num3","code1","code2","subtracted","BrowserQRCodeSvgWriter","contents","quietZone","QUIET_ZONE_SIZE","renderResult","writeToDom","svgElement","inputWidth","inputHeight","qrWidth","qrHeight","outputWidth","outputHeight","leftPadding","topPadding","createSVGElement","inputY","outputY","inputX","outputX","svgRectElement","createSvgRectElement","SVG_NS","QRCodeWriter","PlanarYUVLuminanceSource","yuvData","dataWidth","dataHeight","reverseHorizontal","inputOffset","renderThumbnail","THUMBNAIL_SCALE_FACTOR","pixels","yuv","outputOffset","getThumbnailWidth","getThumbnailHeight","rowStart","RGBLuminanceSource","BYTES_PER_ELEMENT","luminancesUint8Array","Charset","forName","StandardCharsets","ISO_8859_1","AztecCode","setCompact","setSize","getLayers","setLayers","getCodeWords","codeWords","setCodeWords","Collections","singletonList","collection","Token","getPrevious","SimpleToken","appendTo","bitArray","addBinaryShift","byteCount","BinaryShiftToken","binaryShiftStart","binaryShiftByteCount","MODE_NAMES","EMPTY_TOKEN","LATCH_TABLE","SHIFT_TABLE","static_SHIFT_TABLE","binaryBytes","getToken","getBinaryShiftByteCount","getBitCount","latchAndAppend","latch","latchModeBitCount","shiftAndAppend","thisModeBitCount","addBinaryShiftChar","endBinaryShift","isBetterThanOrEqualTo","newModeBitCount","calculateBinaryShiftCost","toBitArray","symbols","INITIAL_STATE","CHAR_MAP","static_CHAR_MAP","spaceCharCode","pointCharCode","commaCharCode","zUpperCharCode","aUpperCharCode","zLowerCharCode","aLowerCharCode","nineCharCode","zeroCharCode","mixedTable","punctTable","HighLevelEncoder","lineBreakCharCode","pairCode","nextChar","updateStateListForPair","updateStateListForChar","updateStateForChar","simplifyStates","charInCurrentTable","stateNoBinary","charInMode","latchState","shiftState","binaryState","updateStateForPair","digitState","oldState","Encoder$1","encodeBytes","DEFAULT_EC_PERCENT","DEFAULT_AZTEC_LAYERS","minECCPercent","userSpecifiedLayers","wordSize","eccBits","totalSizeBits","MAX_NB_BITS_COMPACT","MAX_NB_BITS","WORD_SIZE","usableBitsInLayers","stuffBits","messageBits","generateCheckWords","messageSizeInWords","modeMessage","generateModeMessage","drawModeMessage","drawBullsEye","aztec","totalBits","getGF","totalWords","messageWords","bitsToWords","startPad","messageWord","word","AztecWriter","encodeWithHints","charset","eccPercent","encodeLayers","AztecCodeReader","AztecCodeWriter","AztecDecoder","AztecDetector","AztecEncoder","AztecHighLevelEncoder","AztecPoint","BrowserAztecCodeReader","BrowserBarcodeReader","BrowserDatamatrixCodeReader","BrowserMultiFormatReader","BrowserPDF417Reader","BrowserQRCodeReader","DataMatrixDecodedBitStreamParser","MultiFormatWriter","writer","PDF417DecodedBitStreamParser","PDF417DecoderErrorCorrection","QRCodeByteMatrix","QRCodeDataMask","QRCodeDecodedBitStreamParser","QRCodeDecoderErrorCorrectionLevel","QRCodeDecoderFormatInformation","QRCodeEncoder","QRCodeEncoderQRCode","QRCodeMaskUtil","QRCodeMatrixUtil","QRCodeMode","QRCodeVersion","ZXingArrays","ZXingCharset","ZXingInteger","ZXingStandardCharsets","ZXingStringBuilder","ZXingStringEncoding","ZXingSystem","createAbstractExpandedDecoder","l","_dereq_","scheduleDrain","Mutation","WebKitMutationObserver","called","setImmediate","MessageChannel","channel","port1","onmessage","port2","postMessage","scriptEl","onreadystatechange","draining","oldQueue","immediate","INTERNAL","REJECTED","FULFILLED","PENDING","resolver","outcome","safelyResolveThenable","QueueItem","onFulfilled","onRejected","callFulfilled","otherCallFulfilled","callRejected","otherCallRejected","returnValue","getThen","thenable","onSuccess","tryCatch","tryToUnwrap","iterable","resolved","allResolver","resolveFromAll","outValue","race","_typeof","idb","getIDB","indexedDB","webkitIndexedDB","mozIndexedDB","OIndexedDB","msIndexedDB","createBlob","Blob","BlobBuilder","MSBlobBuilder","MozBlobBuilder","WebKitBlobBuilder","getBlob","Promise$1","executeCallback","executeTwoCallbacks","errorCallback","normalizeKey","getCallback","DETECT_BLOB_SUPPORT_STORE","supportsBlobs","dbContexts","READ_ONLY","READ_WRITE","_binStringToArrayBuffer","bin","ArrayBuffer","_checkBlobSupport","_checkBlobSupportWithoutCaching","txn","transaction","objectStore","oncomplete","matchedChrome","matchedEdge","_deferReadiness","dbInfo","dbContext","deferredOperation","deferredOperations","dbReady","_advanceReadiness","_rejectReadiness","_getConnection","upgradeNeeded","forages","dbArgs","openreq","onupgradeneeded","createObjectStore","oldVersion","newVersion","onsuccess","onversionchange","_getOriginalConnection","_getUpgradedConnection","_isUpgradeNeeded","defaultVersion","isNewStore","objectStoreNames","isUpgrade","incVersion","_decodeBlob","encodedBlob","atob","_isEncodedBlob","__local_forage_encoded_blob","_fullyReady","_initReady","_dbInfo","createTransaction","retries","_tryReconnect","forage","asyncStorage","_initStorage","initPromises","ignoreErrors","_defaultConfig","_support","isIndexedDBValid","openDatabase","hasFetch","IDBKeyRange","req","openCursor","iterationNumber","continue","blobSupport","_encodeBlob","base64","readAsBinaryString","openKeyCursor","advance","dropInstance","currentConfig","deleteObjectStore","_forage2","deleteDatabase","onblocked","BASE_CHARS","BLOB_TYPE_PREFIX_REGEX","SERIALIZED_MARKER","TYPE_ARRAYBUFFER","TYPE_BLOB","toString$1","stringToBuffer","serializedString","encoded1","encoded2","encoded3","encoded4","bufferLength","bufferToString","localforageSerializer","serialize","valueType","marker","fileReader","readAsArrayBuffer","deserialize","blobType","SERIALIZED_MARKER_LENGTH","matcher","Int16Array","Uint32Array","Float64Array","createDbTable","executeSql","tryExecuteSql","sqlStatement","SYNTAX_ERR","_setItem","retriesLeft","originalValue","serializer","sqlError","QUOTA_ERR","webSQLStorage","_initStorage$1","dbInfoPromise","isWebSQLValid","iterate$1","getItem$1","setItem$1","removeItem$1","clear$1","length$1","key$1","keys$1","dropInstance$1","storeNames","getAllStoreNames","operationInfo","dropTable","operations","_getKeyPrefix","keyPrefix","_isLocalStorageUsable","checkIfLocalStorageThrows","localStorageTestKey","localStorageWrapper","_initStorage$2","isLocalStorageValid","iterate$2","keyPrefixLength","getItem$2","setItem$2","removeItem$2","clear$2","length$2","key$2","keys$2","itemKey","dropInstance$2","sameValue","searchElement","DefinedDrivers","DriverSupport","DefaultDrivers","INDEXEDDB","WEBSQL","LOCALSTORAGE","DefaultDriverOrder","OptionalDriverMethods","LibraryMethods","DefaultConfig","callWhenReady","localForageInstance","libraryMethod","_args","driverTypeKey","_classCallCheck","Constructor","driverName","_driverSet","_initDriver","_ready","_wrapLibraryMethodsWithReady","driverObject","complianceError","driverMethods","driverMethodName","methodNotImplementedFactory","_len","optionalDriverMethod","configureMissingMethods","setDriverSupport","getDriver","getDriverPromise","getSerializer","serializerPromise","drivers","supportedDrivers","_getSupportedDrivers","setDriverToConfig","extendSelfWithDriver","_extend","oldDriverSetDone","initDriver","currentDriverIndex","driverPromiseLoop","supports","libraryMethodsAndProperties","createInstance","localforage_js","__WEBPACK_AMD_DEFINE_RESULT__","raygunUserAgent","raygunUserAgentData","userAgentData","raygunUserAgentDataStatus","getHighEntropyValues","highEntropyUserAgentData","getHighFidelityUAString","userAgentString","platformVersion","fullVersionList","regexChrome","regexEdge","brand","Raygun","wind","windw","originalOnError","raygunCoreWebVitalFactory","queueTimings","_parentResource","CoreWebVitals","cleanWebVitalData","queueHandler","parentResource","webVitals","getLCP","getFID","getCLS","timing","du","line","RaygunObject","RaygunInitialized","TraceKit","_oldTraceKit","_slice","UNKNOWN_FUNCTION","_has","_isUndefined","what","setRaygun","rg","noConflict","wrap","wrapped","report","_oldOnerrorHandler","_onErrorHandlerInstalled","lastException","lastExceptionStack","notifyHandlers","stack","windowError","collectWindowErrors","inner","traceKitWindowOnError","lineNo","columnNo","errorObj","computeStackTrace","augmentStackTraceWithInitialElement","guessFunctionName","gatherContext","useragent","incomplete","Utilities","isReactNative","installGlobalHandler","debug","sourceCache","getSource","loadSource","reFunctionArgNames","reGuessFunction","linesBefore","linesOfContext","linesAfter","escapeRegExp","escapeCodeAsRegExpForMatchingInsideHTML","findSourceInUrls","lastIndexOf","findSourceInLine","fragment","findSourceByFunctionBody","scripts","script","stackInfo","partial","computeStackTraceByWalkingCallerChain","depth","functionName","funcs","recursion","curr","caller","sourceURL","lineNumber","computeStackTraceFromStacktraceProp","stacktrace","testRE","lines","stackstring","computeStackTraceFromStackProp","chrome","gecko","winjs","reactNativeDevicePathStripRegex","columnNumber","computeStackTraceFromOperaMultiLineMessage","lineRE1","lineRE2","lineRE3","inlineScriptBlocks","relativeLine","midline","tracekitResult","ofCaller","computeStackTraceOfCaller","extendToAsynchronousCallbacks","_helper","fnName","originalFn","originalCallback","remoteFetching","pad","T","A","O","mappedValue","Function","oThis","aArgs","fToBind","FNOP","fBound","firstInputEvent","firstInputDelay","firstInputTimeStamp","startTimeStamp","resetFirstInputPolyfill","eachEventType","recordFirstInputDelay","reportFirstInputDelayIfRecordedAndValid","entryType","processingStart","onInput","onPointerUp","removePointerEventListeners","onPointerCancel","onPointerDown","firstHiddenTime","onVisibilityChange","firstInputPolyfill","onFirstInput","_oldEventAdd","types","_handler","guid","_oldReady","_oldAjax","ajax","jQuery","raygunUtilityFactory","_defaultReactNativeGlobalHandler","getUuid","_p8","random","createCookie","setAsSecure","toGMTString","secure","readCookie","nameEQ","ca","clearCookie","Options","_debugMode","isApiKeyConfigured","_raygunApiKey","defaultReactNativeGlobalHandler","fatal","localStorageAvailable","sessionStorageAvailable","truncateURL","truncated","queryStart","sanitizedPath","truncated_parts","truncated_length","mergeMutate","mergeArray","t0","t1","isNil","getRandomInt","parseUrl","isNumeric","_ls","_l","auth","port","_p","_h","_hs","_ps","ii","enhance","newFunction","existingFunction","addEventHandler","useCapture","attachEvent","detachEvent","nodeText","nodeSelector","truncate","omission","getOrigin","resolveFullUrl","pathComponents","removeFromArray","isIE","any","ErrorUtils","getGlobalHandler","raygunErrorUtilitiesFactory","scriptError","currentUrl","utils","isValidStackLine","stackLine","isScriptError","stackTrace","isBrowserExtensionError","isBrowserExtensionUrl","isValidStackTrace","stackTraceHasValidDomain","whitelistedScriptDomains","foundValidDomain","raygunNetworkTrackingFactory","NetworkTracking","requestHandlers","responseHandlers","errorHandlers","wrapWithHandler","executeHandlers","wrapPrototypeWithHandlers","XMLHttpRequest","initTime","baseUrl","requestURL","responseText","responseURL","originalFetch","__raygunOriginalFetch","polyfill","processFetch","fetchInput","Request","ourResponse","requestUrl","__raygunFetchCallback","raygunViewportFactory","nullResult","isValidDimension","dimensionValue","getViewportDimensions","viewportWidth","viewportHeight","raygunBreadcrumbsFactory","urlMatchesIgnoredHosts","ignoredHosts","Breadcrumbs","MAX_BREADCRUMBS","MAX_MESSAGE_SIZE","BREADCRUMB_LEVELS","DEFAULT_BREADCRUMB_LEVEL","DEFAULT_XHR_IGNORED_HOSTS","breadcrumbLevel","logXhrContents","xhrIgnoredHosts","breadcrumbs","disableConsoleFunctions","disableNavigationFunctions","disableXHRLogging","disableClicksTracking","enableAutoBreadcrumbs","recordBreadcrumb","crumb","level","shouldRecord","setBreadcrumbLevel","setOption","removeBreadcrumbsWithPredicate","sanitizedBreadcrumbs","enableAutoBreadcrumbsXHR","enableAutoBreadcrumbsClicks","enableAutoBreadcrumbsConsole","enableAutoBreadcrumbsNavigation","disableAutoBreadcrumbs","disableAutoBreadcrumbsXHR","disableAutoBreadcrumbsClicks","disableAutoBreadcrumbsConsole","disableAutoBreadcrumbsNavigation","crumbs","filteredCrumbs","removeCrumbsOfType","logConsoleCall","severity","stringifiedArgs","unenhance","buildStateChange","currentPath","prevState","parseHash","stateChange","logBreadcrumbWrapper","eventsWithHandlers","oldURL","newURL","mapping","requestHandler","responseHandler","errorHandler","raygunFactory","ErrorUtilities","Viewport","_user","_version","_filteredKeys","_beforeSendCallback","_beforeSendRumCallback","_groupingKeyCallback","_beforeXHRCallback","_afterSendCallback","_loadedFrom","$document","_clientIp","detachPromiseRejectionFunction","ProviderStates","LOADING","READY","_userKey","_traceKit","_raygun","_ignoreAjaxAbort","_ignoreAjaxError","_enableOfflineSave","_ignore3rdPartyErrors","_disableAnonymousUserTracking","_disableErrorTracking","_disablePulse","_wrapAsynchronousCallbacks","_automaticPerformanceCustomTimings","_trackCoreWebVitals","_trackViewportDimensions","_customData","_tags","_whitelistedScriptDomains","_raygunApiUrl","_excludedHostnames","_excludedUserAgents","_filterScope","_rum","_breadcrumbs","_pulseMaxVirtualPageDuration","_pulseIgnoreUrlCasing","_providerState","_processExceptionQueue","_trackEventQueue","_pulseCustomLoadTimeEnabled","_captureUnhandledRejections","_setCookieAsSecure","_captureMissingRequests","_customEndpointSet","_publicRaygunFunctions","Rand","constructNewRaygun","customdata","ignoreAjaxAbort","ignoreAjaxError","disableAnonymousUserTracking","disablePulse","excludedUserAgents","pulseMaxVirtualPageDuration","pulseIgnoreUrlCasing","pulseCustomLoadTimeEnabled","setCookieAsSecure","captureMissingRequests","automaticPerformanceCustomTimings","trackCoreWebVitals","trackViewportDimensions","apiUrl","wrapAsynchronousCallbacks","captureUnhandledRejections","debugMode","ignore3rdPartyErrors","apiEndpoint","clientIp","ensureUser","bootRaygun","getFromStorage","setUserComplete","withCustomData","withTags","attachPromiseRejectionHandler","promiseRejectionHandler","setGlobalHandler","originalAfterSendCallback","processException","ajaxError","processJQueryAjaxError","detach","unbind","detachPromiseRejectionHandler","traceKitException","setUser","email","firstName","uuid","Identifier","IsAnonymous","Email","FullName","FirstName","UUID","resetAnonymousUser","clearStorage","saveIfOffline","enableOffline","filterSensitiveData","filteredKeys","setFilterScope","scope","whitelistCrossOriginDomains","whitelist","onBeforeSend","onBeforeSendRum","groupingKey","onBeforeXHR","onAfterSend","endSession","RealUserMonitoring","trackEvent","virtualPageLoaded","trackCustomTiming","sendCustomTimings","setClientIp","ip","setBreadcrumbOption","setBreadcrumbs","getBreadcrumbs","callAfterSend","userIdentifier","saveToStorage","startRum","makePostCorsRequest","retriggerDelayedCommands","userTriggered","sendSavedErrors","filterValue","executedFilter","filterObject","parentKey","filteredObject","jqXHR","ajaxSettings","thrownError","statusText","getAllResponseHeaders","ajaxErrorMessage","requestData","responseData","activeTarget","qs","shouldDiscardThirdPartyError","hostIndex","userAgentIndex","LineNumber","ColumnNumber","ClassName","FileName","MethodName","queryString","segment","finalCustomData","viewportDimensions","screenData","colorDepth","custom_message","pageLocation","finalMessage","OccurredOn","Details","Message","StackTrace","StackString","Environment","UtcOffset","userLanguage","documentMode","Browser","appCodeName","appName","appVersion","Platform","Client","Name","UserCustomData","Url","QueryString","Referer","referrer","User","CustomData","GroupingKey","clonedPayload","structuredClone","mutatedPayload","sendToRaygun","_successCallback","_errorCallback","xhr","createCORSRequest","setRequestHeader","offlineSave","dateTime","__raygunNoConflict","__instantiatedRaygun","initMetric","delta","PerformanceObserver","supportedEntryTypes","po","getEntries","buffered","onHidden","onHiddenOrPageHide","onBFCacheRestore","persisted","bindReporter","reportAllChanges","prevValue","forceReport","trackChanges","getVisibilityWatcher","getFCP","onReport","visibilityWatcher","entryHandler","fcpEntry","getEntriesByName","isMonitoringFCP","fcpValue","reportedMetricIDs","onReportWrapped","sessionValue","sessionEntries","hadRecentInput","takeRecords","stopListening","getTTFB","afterLoad","navTiming","getEntriesByType","navigationEntry","navigationStart","getNavigationEntryFromPerformanceTiming","responseStart","excludedHostNames","maxVirtualPageDuration","ignoreUrlCasing","customTimingsEnabled","beforeSendRumCallback","_private","cookieName","beforeSend","pendingPayloadData","queuedPerformanceTimings","pendingVirtualPage","sessionId","virtualPage","heartBeatInterval","heartBeatIntervalTime","sendUsingNavigatorBeacon","stopCollectingMetrics","queuedItems","maxQueueItemsSent","xhrRequestMap","xhrStatusMap","Timings","Page","VirtualPage","XHR","CachedChildAsset","ChildAsset","CustomTiming","CoreWebVital","sendNewSessionStart","sendItemImmediately","addViewportToSessionData","client","hasSessionExpired","storageItem","readStorageElement","generateNewSessionId","randomKey","sendPerformance","firstLoad","performanceData","getPerformanceData","performanceEntryExists","fetchStart","getPrimaryTimingData","pathName","getEncodedTimingData","extractChildData","getVirtualPrimaryTimingData","virtualPageStartTime","prepareVirtualEncodedTimingData","getPerformanceNow","attachParentResourceToCollection","_array","attachParentResource","addPerformanceTimingsToQueue","sendChildAssets","forceSend","processVirtualPageTimingsInQueue","sendQueuedItems","sortCollectionByProperty","getCompareFunction","propA","propB","comparison","sendItemsImmediately","pending","generateVirtualEncodedTimingData","itemsToSend","postPayload","makePostCorsRequestRum","successCallback","updateUserAgentData","dataFragment","Family","Major","Minor","Patch","PatchMinor","clonedData","stringifiedPayload","sendBeacon","requeueItemsToFront","sendQueuedPerformancePayloads","currentPayloadTimingData","payloadTimings","payloadIncludesPageTiming","addCurrentPayloadEvents","createTimingPayload","sendTimingData","isPageOrVirtualPage","requestId","sendCoreWebVitalTimings","parentIsVirtualPage","navigationEntries","resources","resource","waitingForResourceToFinishLoading","isCustomTimingMeasurement","customTiming","getCustomTimingMeasurement","shouldIgnoreResource","getSecondaryTimingData","addMissingWrtData","getSessionId","nullValue","expired","isNewSession","pageLoaded","clickHandler","updateStorageTimestamp","unloadHandler","visibilityChangeHandler","pageHideHandler","xhrRequestHandler","xhrErrorHandler","xhrResponseHandler","createParentResource","getPageUrl","heartBeat","setInterval","initalStaticPageLoadTimestamp","resumeCollectingMetrics","customTimings","custom1","custom2","custom3","custom4","custom5","custom6","custom7","custom8","custom9","custom10","newTimings","createCustomTimingMeasurement","shouldIgnoreResourceByName","statusCode","maxFiveMinutes","getTimingUrl","timingData","getSecondaryEncodedTimingData","decodedBodySize","xhrStatusesForName","getTimingDuration","domainLookupStart","domainLookupEnd","connectStart","connectEnd","responseEnd","domLoading","domInteractive","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd","secureConnectionStart","addPaintTimings","firstPaint","fp","msFirstPaint","firstContentfulPaint","fcp","sanitizeNaNs","getSecondaryTimingType","staticLoad","shouldIgnoreCasing","_pathname","requestWithParent","requests","responseWithParent","fallbackValue","milliseconds","lastActivityTimestamp","cookieString","isXHRTiming","initiatorType","isChildAsset","getTypeForChildAsset","isChromeFetchCall","sessionData","viewport","raygunRumFactory","errorQueue","enablePulse","snippetOptions","globalExecutorInstalled","delayedCommands","snippetOnErrorSignature","delayedExecutionFunctions","executor","onLoadHandler","installGlobalExecutor","parseSnippetOptions","onerrorSignature","commandIndex","supportsNavigationTiming","entryTypes","_subscribe","subscription","hasError","_throwIfClosed","lift","observable","observerOrNext","isSubscriber","Subscriber","isObserver","isSubscription","SafeSubscriber","errorContext","_trySubscribe","sink","promiseCtor","getPromiseCtor","Symbol_observable","pipeFromArray","_bufferSize","_windowTime","_timestampProvider","dateTimestampProvider","_buffer","_infiniteTimeWindow","isStopped","_trimBuffer","_innerSubscribe","_checkFinalizedStatuses","adjustedBufferSize","ObjectUnsubscribedError","createErrorClass","currentObservers","subject","AnonymousSubject","observed","EMPTY_SUBSCRIPTION","Subscription","arrRemove","destination","COMPLETE_NOTIFICATION","createNotification","EMPTY_OBSERVER","handleStoppedNotification","nextNotification","errorNotification","_error","_complete","_bind","ConsumerObserver","partialObserver","handleUnhandledError","useDeprecatedNextContext","useDeprecatedSynchronousErrorHandling","captureError","reportUnhandledError","notification","onStoppedNotification","timeoutProvider","noop","defaultErrorHandler","UnsubscriptionError","initialTeardown","_parentage","_finalizers","initialFinalizer","finalizer","execFinalizer","teardown","_hasParent","_addParent","_removeParent","empty","onUnhandledError","hasConfig","EmptyError","ConnectableObservable","subjectFactory","_subject","_refCount","_connection","hasLift","getSubject","_teardown","connect","connection","higherOrderRefCount","popScheduler","resultSelector","popResultSelector","argsArgArrayOrObject","combineLatestInit","valueTransform","identity","maybeSchedule","active","remainingFirstValues","hasFirstValue","createObject","mapOneOrManyArgs","executeSchedule","concatAll","mergeAll","observableFactory","forkJoin","sources","remainingCompletions","remainingEmissions","sourceIndex","observeOn","subscribeOn","scheduleAsyncIterable","asyncIterator","scheduled","isInteropObservable","scheduleObservable","isArrayLike","scheduleArray","isPromise","schedulePromise","isAsyncIterable","isIterable","scheduleIterable","Symbol_iterator","isReadableStreamLike","scheduleReadableStreamLike","readableStreamLikeToAsyncGenerator","createInvalidObservableTypeError","nodeEventEmitterMethods","eventTargetMethods","jqueryMethods","isEventTarget","isNodeStyleEventEmitter","toCommonHandlerRegistry","isJQueryStyleEventEmitter","subTarget","fromInteropObservable","obs","fromArrayLike","fromPromise","fromAsyncIterable","fromIterable","fromReadableStreamLike","readableStream","asyncIterable","asyncIterable_1","asyncIterable_1_1","e_1","__asyncValues","e_1_1","period","concurrent","popNumber","errorOrErrorFactory","errorFactory","dueTime","intervalOrScheduler","intervalDuration","isScheduler","due","isValidDate","onNext","onComplete","onFinalize","OperatorSubscriber","shouldUnsubscribe","catchError","handledResult","syncUnsub","project","activeTask","lastValue","lastTime","emitWhenIdle","targetTime","keySelector","defaultCompare","previousKey","currentKey","finalize","mapTo","mergeInternals","onBeforeNext","innerSubScheduler","additionalFinalizer","checkComplete","outerNext","doInnerSub","innerComplete","innerValue","bufferedValue","refCounter","sharedConnection","conn","handleReset","onSubscriber","configOrBufferSize","windowTime","share","connector","resetOnError","resetOnComplete","resetOnRefCountZero","wrapperSource","resetConnection","hasErrored","cancelReset","resetAndUnsubscribe","innerSubscriber","innerIndex","outerIndex","seen","tapObserver","isUnsub","TimeoutError","schedulerArg","with","_with","timeoutErrorFactory","meta","originalSourceSubscription","timerSubscription","startTimer","Action","work","intervalProvider","clearInterval","Scheduler","schedulerActionCtor","AsyncScheduler","SchedulerAction","_active","AsyncAction","recycleAsyncId","requestAsyncId","_id","_scheduler","_execute","errorValue","errored","async","getSymbolIterator","getPrototypeOf","objectProto","getKeys","isPOJO","createImpl","ctorFunc","isRoot","errorThrown","parentSubscription","repeat","scheduleSubscription","isObservable","__asyncGenerator","getReader","__await","read","releaseLock","liftedSource","callOrApply","fns","getRandomValues","rnds8","rng","crypto","msCrypto","byteToHex","esm_browser_v4","v4","rnds","validate","regex","esm_browser_validate","REGEX","webpackAsyncContext","stateChangeExpr","_position","_onStart","triggerMicrotask","AnimationGroupPlayer","_players","doneCount","destroyCount","startCount","timeAtPosition","longestPlayer","longestSoFar","_DOM","getDOM","setRootDomAdapter","adapter","DomAdapter","PlatformLocation","historyGo","relativePosition","inject","BrowserPlatformLocation","LOCATION_INITIALIZED","_doc","_location","_history","getBaseHrefFromDOM","getBaseHref","onPopState","getGlobalEventTarget","onHashChange","newPath","joinWithSlash","slashes","stripTrailingSlash","pathEndIdx","normalizeQueryParams","LocationStrategy","PathLocationStrategy","APP_BASE_HREF","_platformLocation","_removeListenerFns","_baseHref","prepareExternalUrl","includeHash","queryParams","externalUrl","HashLocationStrategy","Location","locationStrategy","_urlChangeListeners","_urlChangeSubscription","_locationStrategy","baseHref","_basePath","_stripOrigin","_stripIndexHtml","isCurrentPathEqualTo","_stripBasePath","basePath","strippedUrl","_notifyUrlChangeListeners","onUrlChange","fnIndex","onThrow","onReturn","createLocation","ɵɵinject","NumberFormatStyle","Decimal","Percent","Currency","Scientific","FormStyle","Format","Standalone","TranslationWidth","Narrow","Abbreviated","Wide","Short","FormatWidth","Medium","Full","NumberSymbol","List","PercentSign","PlusSign","MinusSign","Exponential","SuperscriptingExponent","PerMille","TimeSeparator","CurrencyDecimal","CurrencyGroup","getLocaleDateFormat","locale","getLastDefinedValue","ɵfindLocaleData","ɵLocaleDataIndex","DateFormat","getLocaleTimeFormat","TimeFormat","getLocaleDateTimeFormat","dateTimeFormatData","getLocaleNumberSymbol","NumberSymbols","checkFullData","ExtraData","LocaleId","extractTime","ISO8601_DATE_REGEX","NAMED_FORMATS","DATE_FORMATS_SPLIT","ZoneWidth","ShortGMT","Extended","DateType","FullYear","Month","Hours","Minutes","Seconds","FractionalSeconds","Day","TranslationType","DayPeriods","Days","Months","Eras","isDate","createDate","parsedNb","isoStringToDate","tzHour","tzMin","dateSetter","timeSetter","ms","getNamedFormat","part","dateTimezoneOffset","timezoneToOffset","convertTimezoneToLocal","reverseValue","addDateMinutes","setMinutes","dateFormatter","getDateFormatter","DATE_FORMATS","dateStrGetter","dateGetter","weekNumberingYearGetter","weekGetter","timeZoneGetter","newDate","localeId","getLocaleId","formatValue","shortTime","shortDate","mediumTime","mediumDate","longTime","longDate","fullTime","fullDate","opt_values","padNumber","minusSign","negWrap","neg","strNum","getDatePart","formatFractionalSeconds","localeMinus","extended","getDateTranslation","getLocaleMonthNames","formStyle","months","MonthsFormat","MonthsStandalone","getLocaleDayNames","days","DaysFormat","DaysStandalone","currentHours","currentMinutes","rules","getLocaleExtraDayPeriodRules","rule","dayPeriods","getLocaleExtraDayPeriods","afterFrom","beforeTo","getLocaleDayPeriods","amPm","DayPeriodsFormat","DayPeriodsStandalone","getLocaleEraNames","erasData","JANUARY","THURSDAY","getThursdayThisIsoWeek","datetime","currentDay","deltaToThursday","monthBased","nbDaysBefore1stDayOfMonth","thisThurs","firstThurs","getFirstThursdayOfYear","firstDayOfYear","requestedTimezoneOffset","valueOf","NUMBER_FORMAT_REGEXP","parseIntAutoRadix","parseCookieValue","cookieStr","eqIndex","cookieValue","WS_REGEXP","EMPTY_ARRAY","NgClass","_ngEl","_renderer","initialClasses","klass","rawClass","ngDoCheck","_updateState","_applyStateDiff","nextEnabled","changed","touched","stateEntry","_toggleClass","NgForOfContext","ngForOf","even","odd","NgForOf","_ngForOf","_ngForOfDirty","ngForTrackBy","_trackByFn","_viewContainer","_template","_differs","_differ","ngForTemplate","_applyChanges","forEachOperation","adjustedPreviousIndex","applyViewChange","ilen","forEachIdentityChange","NgIf","templateRef","_context","NgIfContext","_thenTemplateRef","_elseTemplateRef","_thenViewRef","_elseViewRef","ngIf","_updateView","ngIfThen","assertTemplate","ngIfElse","ɵstringify","SwitchView","_viewContainerRef","_templateRef","_created","enforceState","created","NgSwitch","_defaultViews","_defaultUsed","_caseCount","_lastCaseCheckIndex","_lastCasesMatched","ngSwitch","_ngSwitch","_updateDefaultCases","_addCase","_addDefault","_matchCase","matched","useDefault","defaultView","NgSwitchCase","_view","ngSwitchCase","NgSwitchDefault","NgStyle","_ngStyle","ngStyle","_setStyle","nameAndUnit","RendererStyleFlags2","DashCase","forEachRemovedItem","forEachAddedItem","forEachChangedItem","NgTemplateOutlet","_viewRef","ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector","_shouldRecreateView","viewContainerRef","viewContext","_createContextForwardProxy","receiver","invalidPipeArgumentError","SubscribableStrategy","createSubscription","updateLatestValue","untracked","dispose","PromiseStrategy","_promiseStrategy","_subscribableStrategy","AsyncPipe","_latestValue","markForCheckOnValueUpdate","_subscription","_obj","_strategy","_dispose","_selectStrategy","_updateLatestValue","ɵisPromise","ɵisSubscribable","ɵpipe","pure","DecimalPipe","_locale","isValue","formatNumber","formatNumberToLocaleString","groupSymbol","decimalSymbol","isPercent","formattedText","parsedNumber","parseNumber","integerLen","zeros","numStr","exponent","MAX_DIGITS","toPercent","fractionLen","minInt","minFraction","minFrac","maxFraction","maxFrac","minIntPart","minFractionPart","maxFractionPart","roundNumber","fractionSize","roundAt","dropTrailingZeros","minLen","carry","reduceRight","decimals","groups","lgSize","gSize","negPre","negSuf","posPre","posSuf","parseNumberFormat","patternParts","positive","positiveParts","fraction","trunkLen","getLocaleNumberFormat","NumberFormats","strToNumber","LOCALE_ID","PLATFORM_BROWSER_ID","PLATFORM_SERVER_ID","ViewportScroller","ɵɵdefineInjectable","BrowserViewportScroller","NullViewportScroller","setOffset","getScrollPosition","scrollToPosition","scrollToAnchor","elSelected","findAnchorFromDocument","documentResult","getElementsByName","createTreeWalker","treeWalker","NodeFilter","SHOW_ELEMENT","nextNode","scrollToElement","setHistoryScrollRestoration","scrollRestoration","pageXOffset","pageYOffset","anchor","XhrFactory","HttpHandler","HttpBackend","normalizedNames","lazyUpdate","lazyInit","maybeSetNormalizedName","setHeaderEntries","getAll","lcName","copyFrom","applyUpdate","toDelete","existing","headerValues","HttpUrlEncodingCodec","encodeKey","standardEncoding","encodeValue","decodeKey","decodeValue","STANDARD_ENCODING_REGEX","STANDARD_ENCODING_REPLACEMENTS","valueToString","HttpParams","cloneFrom","encoder","fromObject","paramParser","rawParams","codec","eqIdx","appendAll","eKey","HttpContext","isArrayBuffer","isBlob","isFormData","HttpRequest","third","fourth","withCredentials","mightHaveBody","transferCache","urlWithParams","qIdx","serializeBody","isUrlSearchParams","detectContentTypeHeader","setParams","Sent","ResponseHeader","DownloadProgress","HttpResponseBase","defaultStatus","defaultStatusText","HttpHeaderResponse","HttpResponse","addBody","HttpClient","res$","jsonp","callbackParam","XSSI_PREFIX$1","getResponseUrl$1","xRequestUrl","FetchBackend","fetchImpl","FetchFactory","ngZone","aborter","AbortController","doRequest","signal","abort","createRequestInit","fetchPromise","silenceSuperfluousUnhandledPromiseRejection","contentLength","chunks","partialText","receivedLength","reqZone","Zone","chunksAll","concatChunks","parseBody","binContent","credentials","Accept","detectedType","totalLength","chunk","interceptorChainEndFn","finalHandlerFn","adaptLegacyInterceptorToChain","chainTailFn","interceptor","initialRequest","downstreamRequest","HTTP_INTERCEPTOR_FNS","HTTP_ROOT_INTERCEPTOR_FNS","REQUESTS_CONTRIBUTE_TO_STABILITY","legacyInterceptorFnFactory","chain","pendingTasks","ɵPendingTasks","taskId","HttpInterceptorHandler","backend","contributeToStability","dedupedInterceptorFns","nextSequencedFn","interceptorFn","chainedInterceptorFn","runInInjectionContext","XSSI_PREFIX","HttpXhrBackend","xhrFactory","ɵloadImpl","reqBody","headerResponse","partialFromXhr","getResponseUrl","getResponseHeader","onLoad","originalBody","sentHeaders","onDownProgress","progressEvent","lengthComputable","onUpProgress","DONE","XSRF_ENABLED","XSRF_COOKIE_NAME","XSRF_HEADER_NAME","HttpXsrfTokenExtractor","HttpXsrfCookieExtractor","lastCookieString","lastToken","parseCount","ɵparseCookieValue","xsrfInterceptorFn","lcUrl","headerName","HttpFeatureKind","Interceptors","LegacyInterceptors","CustomXsrfConfiguration","NoXsrfProtection","JsonpSupport","RequestsMadeViaParent","Fetch","ɵproviders","makeEnvironmentProviders","LEGACY_INTERCEPTOR_FN","makeHttpFeature","ɵkind","defaultEquals","activeConsumer","inNotificationPhase","epoch","SIGNAL","setActiveConsumer","consumer","REACTIVE_NODE","lastCleanEpoch","producerNode","producerLastReadVersion","producerIndexOfThis","nextProducerIndex","liveConsumerNode","liveConsumerIndexOfThis","consumerAllowSignalWrites","consumerIsAlwaysLive","producerMustRecompute","producerRecomputeValue","consumerMarkedDirty","consumerOnSignalRead","producerAccessed","assertConsumerNode","consumerIsLive","producerRemoveLiveConsumerAtIndex","producerAddLiveConsumer","producerUpdateValueVersion","consumerPollProducersForChange","producerNotifyConsumers","consumerMarkDirty","producerUpdatesAllowed","consumerBeforeComputation","consumerAfterComputation","prevConsumer","producer","seenVersion","consumerDestroy","indexOfThis","assertProducerNode","isConsumerNode","lastIdx","idxProducer","UNSET","COMPUTING","ERRORED","COMPUTED_NODE","equal","computation","throwInvalidWriteToSignalErrorFn","defaultThrowError","throwInvalidWriteToSignalError","postSignalSetFn","signalSetFn","signalValueChanged","producerIncrementEpoch","SIGNAL_NODE","NOOP_CLEANUP_FN","WATCH_NODE","hasRun","cleanupFn","XSS_SECURITY_URL","RuntimeError","formatRuntimeError","REQUIRED_UNSET_VALUE","INPUT_SIGNAL_NODE","SIGNAL_NODE$1","transformFn","applyValueToInputSignal","signalSetFn$1","createInputSignal","inputValueFn","producerAccessed$1","SIGNAL$1","noSideEffects","PARAMETERS","makeParamDecorator","parentClass","metaCtor","makeMetadataCtor","ParamDecoratorFactory","annotationInstance","ParamDecorator","annotation","unusedKey","ngMetadataName","annotationCls","_global","getClosureSafeProperty","objWithPropertyToExtract","fillProperties","overriddenName","newLineIndex","concatStringsWithSpace","after","__forward_ref__","forwardRefFn","resolveForwardRef","isForwardRef","ɵɵdefineInjector","getInjectableDef","getOwnDefinition","NG_PROV_DEF","NG_INJECTABLE_DEF","isInjectable","getInjectorDef","NG_INJ_DEF","NG_INJECTOR_DEF","ngInjectableDef","ngInjectorDef","_desc","__NG_ELEMENT_ID__","isEnvironmentProviders","NG_COMP_DEF","NG_DIR_DEF","NG_PIPE_DEF","NG_MOD_DEF","NG_FACTORY_DEF","NG_ELEMENT_ID","NG_ENV_ID","__NG_ENV_ID__","renderStringify","throwProviderNotFoundError","injectorName","InjectFlags","Default","Self","SkipSelf","Optional","_injectImplementation","getInjectImplementation","setInjectImplementation","injectRootLimpMode","notFoundValue","injectableDef","THROW_IF_NOT_FOUND","DI_DECORATOR_FLAG","NG_TEMP_TOKEN_PATH","NEW_LINE","SOURCE","_currentInjector","setCurrentInjector","former","injectInjectorOnly","convertToBitFlags","skipSelf","injectArgs","flag","getInjectFlag","attachInjectFlag","decorator","getFactoryDef","throwNotFound","deepForEach","addToArray","keyValueArraySet","keyValueArray","keyValueArrayIndexOf","arrayInsert2","value1","value2","keyValueArrayGet","_arrayIndexOfSorted","ENVIRONMENT_INITIALIZER","INJECTOR$1","INJECTOR_DEF_TYPES","NullInjector","ChangeDetectionStrategy","OnPush","ViewEncapsulation$1","ViewEncapsulation","Emulated","ShadowDom","InputFlags","SignalBased","HasDecoratorInputTransform","classIndexOf","classToSearch","startingIndex","foundIndex","setUpAttributes","native","namespaceURI","attrVal","isAnimationProp","isNameOnlyAttributeMarker","mergeHostAttrs","dst","srcMarker","mergeHostAttribute","markerInsertPosition","dstValue","NG_TEMPLATE_SELECTOR","isCssClassMatching","tNode","cssClassToMatch","isProjectionMode","isInlineTemplate","hasTagAndTypeMatch","currentSelector","isNodeMatchingSelector","nodeAttrs","nameOnlyMarkerIdx","getNameOnlyMarkerIndex","skipToNextSelector","isPositive","selectorAttrValue","attrIndexInNode","findAttrIndexInNode","nodeAttrValue","bindingsMode","maybeAttrName","matchTemplateAttribute","isNodeMatchingSelectorList","isSelectorInSelectorList","selectorListLoop","currentSelectorInList","maybeWrapInNotSelector","isNegativeMode","stringifyCSSSelector","currentChunk","valueOrMarker","attrValue","ɵɵdefineComponent","componentDefinition","baseDef","getNgDirectiveDef","onPush","directiveDefs","pipeDefs","getStandaloneInjector","signals","schemas","tView","initFeatures","extractDefListOrFactory","getComponentId","componentDef","hashSelectors","hostAttrs","exportAs","getOwnPropertyNames","char","imul","extractDirectiveDef","getComponentDef","getDirectiveDef","nonNull","ɵɵdefineNgModule","declarations","transitiveCompileScopes","parseAndConvertBindingsForDefinition","declaredInputs","newLookup","minifiedKey","publicName","declaredName","inputFlags","ɵɵdefineDirective","directiveDefinition","ɵɵdefinePipe","pipeDef","getPipeDef$1","isStandalone","getNgModuleDef","ngModuleDef","providersResolver","inputTransforms","inputConfig","setInput","findHostDirectiveDefs","hostDirectives","debugInfo","defExtractor","dep","importProvidersFrom","internalImportProvidersFrom","ɵfromNgModule","checkForStandaloneCmp","providersOut","dedup","injectorTypesWithProviders","collectProviders","provider","internalSource","walkProviderTree","processInjectorTypesWithProviders","typesWithProviders","deepForEachProvider","defType","injDef","cmpDef","importTypesWithProviders","imported","defProviders","injectorType","USE_VALUE$1","isValueProvider","isTypeProvider","INJECTOR_SCOPE","NOT_YET","CIRCULAR","NULL_INJECTOR","getNullInjector","EnvironmentInjector","R3Injector","scopes","records","_ngOnDestroyHooks","_onDestroyHooks","forEachSingleProvider","processProvider","makeRecord","injectorDefTypes","assertNotDestroyed","setActiveConsumer$1","service","onDestroyHooks","hook","removeOnDestroy","runInContext","previousInjector","previousInjectImplementation","couldBeInjectableType","injectableDefInScope","injectableDefOrInjectorDefFactory","hydrate","catchInjectorError","injectorErrorName","tokenPath","formatError","resolveInjectorInitializers","initializers","initializer","providerToRecord","providerToFactory","multiRecord","hasOnDestroy","destroyCBIdx","getUndecoratedInjectableFactory","inheritedInjectableDef","getInheritedInjectableDef","ngModuleType","unwrappedProvider","isFactoryProvider","isExistingProvider","classRef","hasDeps","prevInjector","isInInjectionContext","getCurrentInjector","assertInInjectionContext","debugFn","HOST","TVIEW","FLAGS","PARENT","NEXT","T_HOST","HYDRATION","CLEANUP","CONTEXT","INJECTOR","ENVIRONMENT","RENDERER","CHILD_HEAD","CHILD_TAIL","DECLARATION_VIEW","DECLARATION_COMPONENT_VIEW","DECLARATION_LCONTAINER","PREORDER_HOOK_FLAGS","QUERIES","ID","EMBEDDED_VIEW_INJECTOR","ON_DESTROY_HOOKS","EFFECTS_TO_SCHEDULE","REACTIVE_TEMPLATE_CONSUMER","HEADER_OFFSET","TYPE","NATIVE","MOVED_VIEWS","CONTAINER_HEADER_OFFSET","LContainerFlags","HasTransplantedViews","isLView","isLContainer","isContentQueryHost","isComponentHost","componentOffset","isDirectiveHost","isComponentDef","isRootView","SimpleChange","firstChange","isFirstChange","applyValueToInputField","inputSignalNode","privateName","ɵɵNgOnChangesFeature","NgOnChangesFeatureImpl","ngOnChangesSetInput","rememberChangeHistoryAndInvokeOnChangesHook","simpleChangesStore","getSimpleChangesStore","setSimpleChangesStore","SIMPLE_CHANGES_STORE","previousChange","ngInherit","profiler","hookOrListener","SVG_NAMESPACE","unwrapRNode","getNativeByIndex","lView","getNativeByTNode","getTNode","getComponentLViewByIndex","nodeIndex","hostView","slotValue","viewAttachedToChangeDetector","getConstant","resetPreOrderHookFlags","markViewForRefresh","markAncestorsForTraversal","requiresRefreshOrTraversal","updateAncestorTraversalFlagsOnAttach","changeDetectionScheduler","notify","getLViewParent","storeLViewOnDestroy","onDestroyCallback","instructionState","lFrame","createLFrame","bindingsEnabled","skipHydrationRootTNode","_isRefreshingViews","getBindingsEnabled","isInSkipHydrationBlock$1","getLView","getTView","ɵɵrestoreView","viewToRestore","contextLView","ɵɵresetView","getCurrentTNode","currentTNode","getCurrentTNodePlaceholderOk","setCurrentTNode","isParent","isCurrentTNodeParent","setCurrentTNodeAsNotParent","isRefreshingViews","setIsRefreshingViews","getBindingRoot","bindingRootIndex","bindingStartIndex","nextBindingIndex","bindingIndex","incrementBindingIndex","setBindingRootForHostBindings","currentDirectiveIndex","setCurrentDirectiveIndex","getCurrentQueryIndex","setCurrentQueryIndex","getDeclarationTNode","declTNode","enterDI","parentTNode","parentLView","allocLFrame","enterView","newView","newLFrame","inI18n","currentLFrame","childLFrame","elementDepthCount","currentNamespace","leaveViewLight","oldLFrame","leaveDI","leaveView","getSelectedIndex","setSelectedIndex","getSelectedTNode","ɵɵnamespaceSVG","ɵɵnamespaceHTML","namespaceHTMLInternal","_wasLastNodeCreated","wasLastNodeCreated","lastNodeWasCreated","registerPostOrderHooks","directiveStart","directiveEnd","lifecycleHooks","ngAfterContentInit","ngAfterContentChecked","ngAfterViewChecked","contentHooks","contentCheckHooks","viewHooks","viewCheckHooks","destroyHooks","executeCheckHooks","hooks","callHooks","executeInitAndCheckHooks","initPhase","incrementInitPhaseFlags","currentView","currentNodeIndex","nodeIndexLimit","lastNodeIndexFound","callHook","callHookInternal","directive","isInitHook","NO_PARENT_INJECTOR","NodeInjectorFactory","isViewProvider","injectImplementation","resolving","canSeeViewProviders","injectImpl","NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR","ChainedInjector","parentInjector","hasParentInjector","parentLocation","getParentInjectorIndex","getParentInjectorView","startView","viewOffset","getParentInjectorViewOffset","parentView","includeViewProviders","setIncludeViewProviders","BLOOM_MASK","BLOOM_BUCKET_BITS","nextNgElementId","NOT_FOUND","getOrCreateNodeInjectorForNode","existingInjectorIndex","getInjectorIndex","firstCreatePass","injectorIndex","insertBloom","blueprint","parentLoc","getParentInjectorLocation","parentIndex","parentData","footer","declarationViewOffset","lViewCursor","getTNodeFromLView","diPublicInInjector","bloomAdd","bloomHash","notFoundValueOrThrow","lookupTokenUsingModuleInjector","moduleInjector","getOrCreateInjectable","embeddedInjectorValue","lookupTokenUsingEmbeddedInjector","currentLView","nodeInjectorValue","lookupTokenUsingNodeInjector","embeddedViewInjector","embeddedViewInjectorValue","bloomHashBitOrFactory","tokenId","createNodeInjector","previousTView","hostTElementNode","shouldSearchParent","bloomHasToken","searchTokensOnInjector","currentTView","injectableIdx","locateDirectiveOrProvider","getNodeInjectable","canAccessViewProviders","isHostSpecialCase","nodeProviderIndexes","providerIndexes","tInjectables","injectablesStart","directivesStart","cptViewProvidersCount","providerTokenOrDef","dirDef","tData","isFactory","throwCyclicDependencyError","stringifyForError","previousIncludeViewProviders","registerPreOrderHooks","directiveIndex","directiveDef","wrappedOnChanges","preOrderHooks","preOrderCheckHooks","injectorView","isFirstHostTNode","NodeInjector","_tNode","_lView","ɵɵgetInheritedFactory","ownConstructor","ownFactory","getFactoryOf","objectPrototype","tViewType","ɵɵinjectAttribute","attrNameToInject","injectAttributeImpl","attrsLength","createInjector","additionalProviders","createInjectorWithoutInjectorInstances","Injector","NULL","getOriginalError","SCHEDULE_IN_ROOT_ZONE_DEFAULT","DestroyRef","injectDestroyRef","NodeInjectorDestroyRef","removeLViewOnDestroy","PendingTasks","hasPendingTasks","_hasPendingTasks","EventEmitter_","isAsync","destroyRef","__isAsync","nextFn","errorFn","completeFn","wrapInTimeout","scheduleCallbackWithRafRace","timeoutId","animationFrameId","scheduleCallbackWithMicrotask","isAngularZoneProperty","angularZoneInstanceIdProperty","ngZoneInstanceId","hasPendingMacrotasks","hasPendingMicrotasks","isStable","onUnstable","onMicrotaskEmpty","onStable","enableLongStackTrace","shouldCoalesceEventChangeDetection","shouldCoalesceRunChangeDetection","scheduleInRootZone","assertZonePatched","_nesting","_outer","_inner","TaskTrackingZoneSpec","longStackTraceZoneSpec","callbackScheduled","forkInnerZoneWithAngularBehavior","delayChangeDetectionForEventsDelegate","delayChangeDetectionForEvents","scheduleCheckStable","updateMicroTaskStatus","isCheckStableRunning","checkStable","instanceId","bf","Id","onInvokeTask","applyThis","applyArgs","shouldBeIgnoredByZone","hasApplyArgsData","invokeTask","onEnter","onLeave","onInvoke","invoke","isSchedulerTick","onHasTask","hasTaskState","hasTask","change","_hasPendingMicrotasks","microTask","macroTask","onHandleError","isInAngularZone","assertInAngularZone","assertNotInAngularZone","runTask","scheduleEventTask","EMPTY_PAYLOAD","cancelTask","runGuarded","NoopNgZone","_console","originalError","_findOriginalError","INTERNAL_APPLICATION_ERROR_HANDLER","userErrorHandler","inputFunction","inputRequiredFunction","injectElementRef","createElementRef","ElementRef","unwrapElementRef","symbolIterator","_results","QueryList","_emitDistinctChangesOnly","_onDirty","_changesDetected","resultsTree","identityAccessor","newResultFlat","flatten","arrayEquals","valueA","valueB","notifyOnChanges","onDirty","setDirty","hasInSkipHydrationBlockFlag","TRACKED_LVIEWS","uniqueIdCounter","getLViewById","unregisterLView","LContext","lViewId","getLContext","mpValue","readPatchedData","directives","isComponentInstance","findViaComponent","componentInstance","componentIndices","components","elementComponentIndex","isDirectiveInstance","findViaDirective","directiveInstance","directiveIndexEnd","traverseNextElement","getDirectivesAtNodeIndex","findViaNativeElement","existingCtx","createLContext","attachPatchData","rElement","MONKEY_PATCH_KEY_NAME","registerLView","getFirstLContainer","getNearestLContainer","getNextLContainer","viewOrContainer","setDocument","APP_ID","DEFAULT_APP_ID","PLATFORM_INITIALIZER","CSP_NONCE","_retrieveHydrationInfoImpl","retrieveHydrationInfo","rNode","PRESERVE_HOST_CONTENT","policy$1","policy","trustedHTMLFromString","getPolicy$1","trustedTypes","createPolicy","createHTML","createScript","createScriptURL","getPolicy","trustedHTMLFromStringBypass","trustedScriptURLFromStringBypass","SafeValueImpl","changingThisBreaksApplicationSecurity","SafeHtmlImpl","getTypeName","SafeStyleImpl","SafeScriptImpl","SafeUrlImpl","SafeResourceUrlImpl","unwrapSafeValue","allowSanitizationBypassAndThrow","actualType","getSanitizationBypassType","bypassSanitizationTrustHtml","trustedHtml","bypassSanitizationTrustStyle","trustedStyle","bypassSanitizationTrustScript","trustedScript","bypassSanitizationTrustUrl","trustedUrl","bypassSanitizationTrustResourceUrl","trustedResourceUrl","DOMParserHelper","inertDocumentHelper","getInertBodyElement","DOMParser","InertDocumentHelper","defaultDoc","inertDocument","implementation","createHTMLDocument","templateEl","SAFE_URL_PATTERN","_sanitizeUrl","tagSet","sets","VOID_ELEMENTS","OPTIONAL_END_TAG_BLOCK_ELEMENTS","OPTIONAL_END_TAG_INLINE_ELEMENTS","VALID_ELEMENTS","URI_ATTRS","VALID_ATTRS","SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS","SanitizingHtmlSerializer","sanitizedSomething","sanitizeChildren","traverseContent","parentNodes","ELEMENT_NODE","startElement","TEXT_NODE","chars","getFirstChild","endElement","getNextSibling","getNodeName","elAttrs","elAttr","lower","encodeEntities","clobberedElementError","isClobberedElement","compareDocumentPosition","DOCUMENT_POSITION_CONTAINED_BY","SURROGATE_PAIR_REGEXP","NON_ALPHANUMERIC_REGEXP","inertBodyHelper","_sanitizeHtml","unsafeHtmlInput","inertBodyElement","getInertBodyHelper","isDOMParserAvailable","unsafeHtml","mXSSAttempts","parsedHtml","getTemplateContent","isTemplateElement","SecurityContext","NONE","HTML","STYLE","SCRIPT","RESOURCE_URL","ɵɵsanitizeHtml","getSanitizer","sanitize","ɵɵsanitizeUrl","unsafeUrl","ɵɵsanitizeResourceUrl","unsafeResourceUrl","ɵɵsanitizeUrlOrResourceUrl","getUrlSanitizer","COMMENT_DISALLOWED","COMMENT_DELIMITER","COMMENT_DELIMITER_ESCAPED","ɵɵresolveWindow","maybeUnwrapFn","Important","_icuContainerIterate","icuContainerIterate","tIcuContainerNode","applyToElementOrContainer","lNodeToHandle","beforeNode","lContainer","isComponent","nativeAppendChild","nativeInsertBefore","nativeRemoveNode","applyContainer","parentRElement","applyView","createCommentNode","escapeCommentText","createElementNode","detachViewFromDOM","trackMovedView","declarationContainer","movedViews","detachMovedView","declarationViewIndex","detachView","removeIndex","indexInContainer","viewToDetach","declarationLContainer","removedLView","removeViewFromDOM","lQueries","destroyLView","destroyViewTree","rootView","lViewOrLContainer","cleanUpView","firstView","consumerDestroy$1","executeOnDestroys","toCall","callContext","processCleanups","tCleanup","lCleanup","targetIdx","destroyHooksFn","getParentRElement","getClosestRElement","nativeAppendOrInsertBefore","nativeParentNode","getInsertInFrontOfRNode","_getInsertInFrontOfRNodeWithI18n","_processI18nInsertBefore","getInsertInFrontOfRNodeWithNoI18n","childRNode","childTNode","parentRNode","anchorNode","getFirstNativeNode","tNodeType","getBeforeNodeForView","elIcuContainerChild","rNodeOrLContainer","projectionNodes","getProjectionNodes","projection","viewIndexInContainer","nextViewIndex","firstTNodeOfView","applyNodes","isProjection","rawSlotValue","nextRNode","applyProjectionRecursive","projectionNext","tProjectionNode","componentLView","nodeToProjectOrRNodes","nodeToProject","projectedComponentLView","writeDirectClass","setupStaticAttributes","mergedAttrs","writeDirectStyle","NO_CHANGE","ɵɵadvance","selectIndexInternal","checkNoChangesMode","ɵɵdirectiveInject","ɵɵinvalidFactory","writeToDirectiveInput","createLView","tHostNode","hydrationInfo","getUniqueLViewId","getOrCreateTNode","createTNodeAtIndex","createTNode","tParent","insertBeforeIndex","directiveStylingLast","propertyBindings","localNames","initialInputs","stylesWithoutHost","residualStyles","classesWithoutHost","residualClasses","classBindings","styleBindings","isInI18nBlock","getCurrentParentTNode","allocExpando","numSlotsToAlloc","allocIdx","executeTemplate","templateFn","prevSelectedIndex","isUpdatePhase","executeContentQueries","createDirectivesInstances","instantiateAllDirectives","addComponentLogic","hostTNode","getOrCreateComponentTView","lViewFlags","componentView","addToViewTree","rendererFactory","setInputsFromAttrs","invokeDirectivesHostBindings","saveResolvedLocalsInData","viewData","localRefExtractor","localIndex","incompleteFirstPass","createTView","pipes","constsOrFactory","ssrId","initialViewLength","createViewBlueprint","queries","expandoStartIndex","hostBindingOpCodes","firstUpdatePass","staticViewQueries","staticContentQueries","directiveRegistry","pipeRegistry","_applyRootElementTransformImpl","captureNodeBindings","aliasMap","bindingsResult","hostDirectiveAliasMap","internalName","finalPublicName","addPropertyBinding","bindings","elementPropertyInternal","nativeOnly","dataValue","inputData","setInputsForProperty","markDirtyIfOnPush","viewIndex","childComponentLView","mapPropName","resolveDirectives","localRefs","exportsMap","matchResult","findDirectiveDefMatches","hostDirectiveDefs","hostDirectiveMatches","markAsComponentHost","initializeDirectives","cacheMatchingLocalNames","initTNodeFlags","numberOfDirectives","preOrderHooksFound","preOrderCheckHooksFound","directiveIdx","configureViewWithDirective","saveNameToExportMap","lifeCycleHooks","initializeInputAndOutputAliases","hostDirectiveDefinitionMap","tViewData","tNodeAttrs","inputsFromAttrs","inputsStore","outputsStore","aliasData","aliasedOutputs","generateInitialInputs","getCurrentDirectiveIndex","invokeHostBindingsInCreationMode","directiveFactory","nodeInjectorFactory","registerHostBindingOpCodes","directiveVarsIdx","elementIndx","lastSelectedElementIdx","elementAttributeInternal","setElementAttribute","initialInputData","inputsToStore","createLContainer","hostNative","refreshContentQueries","directiveDefIdx","executeViewQueryFn","viewQueryFn","getOrCreateLViewCleanup","getOrCreateTViewCleanup","textBindingInternal","updateTextNode","renderComponent","hostLView","componentHostIdx","componentTView","syncViewWithBlueprint","hostRNode","renderView","finishViewCreation","renderChildComponents","createAndRenderEmbeddedLView","declarationLView","templateTNode","embeddedTView","embeddedLView","dehydratedView","declarationViewLQueries","getLViewFromLContainer","adjustedIndex","shouldAddViewToDom","addLViewToLContainer","addToDOM","insertView","containerLength","addViewToDOM","parentNativeNode","removeLViewFromLContainer","collectNativeNodes","lNode","collectNativeNodesInLContainer","nodesInSlot","lViewInAContainer","lViewFirstChildTNode","freeConsumers","REACTIVE_LVIEW_CONSUMER_NODE","REACTIVE_NODE$1","TEMPORARY_CONSUMER_NODE","viewShouldHaveReactiveConsumer","MAXIMUM_REFRESH_RERUNS$1","detectChangesInternal","notifyErrorHandler","detectChangesInViewWhileDirty","lastIsRefreshingViewsValue","detectChangesInView","inlineEffectRunner","refreshView","returnConsumerToPool","currentConsumer","getOrBorrowReactiveLViewConsumer","borrowReactiveLViewConsumer","consumerBeforeComputation$1","getActiveConsumer","getActiveConsumer$1","getOrCreateTemporaryConsumer","setBindingIndex","hooksInitPhaseCompleted","markTransplantedViewsForRefresh","detectChangesInEmbeddedViews","processHostBindingOpCodes","opCode","bindingRootIndx","hostBindingFn","detectChangesInChildComponents","notifyEffect","consumerAfterComputation$1","maybeReturnReactiveLViewConsumer","detectChangesInViewIfAttached","detectChangesInComponent","shouldRefreshView","consumerPollProducersForChange$1","markViewDirty","dirtyBitsToUse","ViewRef$1","rootNodes","_cdRefInjectingView","_appRef","_attachedToViewContainer","viewRefs","reattach","checkNoChanges","attachToViewContainerRef","detachFromAppRef","attachToAppRef","appRef","TemplateRef","injectTemplateRef","ViewEngineTemplateRef","R3TemplateRef","_declarationLView","_declarationTContainer","createEmbeddedViewImpl","createTemplateRef","_findMatchingDehydratedViewImpl","findMatchingDehydratedView","ChangeDetectionScheduler","ZONELESS_ENABLED","ZONELESS_SCHEDULER_DISABLED","SCHEDULE_IN_ROOT_ZONE","ComponentRef$1","ComponentFactory$1","_NullComponentFactoryResolver","resolveComponentFactory","noComponentFactoryError","ComponentFactoryResolver$1","Renderer2","injectRenderer2","nodeAtIndex","Sanitizer","isNgModule","computeStaticStyling","writeToHost","ComponentFactoryResolver","ComponentFactory","toRefArray","isInputMap","templateName","isSignal","refArray","componentType","stringifyCSSSelectorList","selectorList","isBoundToModule","projectableNodes","rootSelectorOrNode","environmentInjector","realEnvironmentInjector","rootViewInjector","hostRenderer","elementName","locateHostElement","elementOrSelector","applyRootElementTransform","getNamespace","rootFlags","rootTView","rootLView","tElementNode","rootComponentDef","rootDirectives","createRootComponentTNode","createRootComponentView","applyRootComponentStyling","viewRenderer","setRootNodeAttributes","extractAttrsAndClassesFromSelector","projectNodes","nodesforSlot","createRootComponent","hostFeatures","rootTNode","LifecycleHooksFeature","ComponentRef","_rootLView","previousInputValues","changeDetectorRef","ViewContainerRef","injectViewContainerRef","createContainerRef","VE_ViewContainerRef","R3ViewContainerRef","_lContainer","_hostTNode","_hostLView","getViewRefs","indexOrOptions","viewRef","insertImpl","createComponent","componentFactoryOrType","isComponentFactory","isType","ngModuleRef","componentFactory","contextInjector","componentRef","viewAttachedToContainer","prevIdx","prevLContainer","prevVCRef","adjustedIdx","_adjustIndex","getOrCreateViewRefs","viewRefsArr","detachedView","_locateOrCreateAnchorNode","createAnchorNode","commentNode","insertAnchorNode","nativeNextSibling","_populateDehydratedViewsInLContainer","LQuery_","queryList","LQueries_","tQueries","noOfInheritedQueries","viewLQueries","tQuery","getByIndex","indexInDeclarationView","dirtyQueriesWithMatches","getTQuery","TQueryMetadata_","splitQueryMultiSelectors","locator","TQueries_","elementStart","elementEnd","queriesForTemplateRef","childQueryIndex","tqueryClone","tquery","TQuery_","crossesNgTemplate","_appliesToNextNode","_declarationNodeIndex","isApplyingToNode","matchTNode","addMatch","declarationNodeIdx","matchTNodeWithReadOption","getIdxOfMatchingSelector","nodeMatchIdx","directiveOrProviderIdx","tNodeIdx","matchIdx","createResultForNode","matchingIdx","createResultByTNodeType","createSpecialToken","materializeViewResults","queryIndex","lQuery","tQueryMatches","matchedNodeIdx","collectQueryResults","lViewResults","embeddedLViews","createLQuery","storeCleanupWithContext","createTQuery","getQueryResults","markedFeatures","performanceMarkFeature","mark","signalFn","createSignal","getter","createSignal$1","updateFn","signalUpdateFn","signalUpdateFn$1","asReadonly","signalAsReadonlyFn","readonlyFn","isWritableSignal","ɵɵInheritDefinitionFeature","superType","getSuperType","shouldInheritFields","inheritanceChain","superDef","writeableDef","maybeUnwrapEmpty","superHostBindings","inheritHostBindings","superViewQuery","superContentQueries","inheritViewQuery","inheritContentQueries","mergeInputsWithTransforms","defData","mergeHostAttrsAcrossInheritance","minifiedName","prevViewQuery","prevContentQueries","prevHostBindings","ɵɵInputTransformsFeature","NgModuleRef$1","NgModuleFactory$1","createNgModule","NgModuleRef","_parent","runInjectorInitializers","_bootstrapComponents","destroyCbs","componentFactoryResolver","_r3Injector","NgModuleFactory","moduleType","EnvironmentNgModuleRefAdapter","debugName","runEnvironmentInitializers","createEnvironmentInjector","isListLikeIterable","isJsObject","updateBinding","bindingUpdated","bindingUpdated2","exp1","exp2","declareTemplate","declarationTView","localRefsIndex","templateFirstCreatePass","tViewConsts","_locateOrCreateContainerAnchor","populateDehydratedViewsInLContainer","ɵɵtemplate","attrsIndex","createContainerAnchorImpl","AfterRenderPhase","EarlyRead","Write","MixedReadWrite","Read","AfterRenderManager","AfterRenderImpl","sequences","deferredRegistrations","executing","PHASES","erroredOrDestroyed","pipelinedValue","afterRun","AfterRenderSequence","unregisterOnDestroy","afterNextRender","callbackOrSpec","afterRenderImpl","manager","manualCleanup","getHooks","earlyRead","mixedReadWrite","NOOP_AFTER_RENDER_REF","ɵɵattribute","interpolation1","v0","interpolation2","v1","getBindingIndex","toTStylingRange","getTStylingRangePrev","tStylingRange","setTStylingRangePrevDuplicate","getTStylingRangeNext","setTStylingRangeNext","setTStylingRangeNextDuplicate","markDuplicates","tStylingKey","isPrevDir","tStylingAtIndex","isMap","foundDuplicate","tStyleRangeAtCursor","isStylingMatch","tStylingKeyCursor","parserState","textEnd","keyEnd","valueEnd","getLastParsedKey","getLastParsedValue","parseClassNameNext","consumeClassToken","consumeWhitespace","parseStyleNext","consumeStyleKey","consumeSeparator","consumeStyleValue","ch1","ch2","ch3","lastChIndex","consumeQuotedText","resetParserState","quoteCharCode","ɵɵproperty","setDirectiveInputsWhichShadowsStyling","isClassBased","ɵɵstyleProp","checkStylingProperty","ɵɵclassProp","ɵɵstyleMap","checkStylingMap","styleKeyValueArraySet","styleStringParser","parseStyle","ɵɵclassMap","classKeyValueArraySet","classStringParser","parseClassName","stylingFirstUpdatePass","updateStyling","normalizeSuffix","stringParser","hasStylingInputShadow","isInHostBindings","staticPrefix","updateStylingMap","oldKeyValueArray","newKeyValueArray","oldIndex","oldKey","newKey","setKey","toStylingKeyValueArray","styleKeyValueArray","unwrappedValue","isHostBindings","wrapInStaticStylingKey","stylingKey","hostDirectiveDef","getCurrentDirectiveDef","residual","collectStylingFromTAttrs","collectStylingFromDirectives","templateStylingKey","getTemplateHeadTStylingKey","setTemplateHeadTStylingKey","collectResidual","insertTStylingBinding","tStylingKeyWithStatic","isHostBinding","isClassBinding","tBindings","tmplHead","tmplTail","isKeyDuplicateOfStatic","setTStylingRangePrev","markDuplicateOfResidualStyling","currentDirective","desiredMarker","currentMarker","stringKey","tRange","higherPriorityValue","getTStylingRangeNextDuplicate","findStylingValue","isStylingValuePresent","getTStylingRangePrevDuplicate","applyStyling","isPrevDirection","rawKey","containsStatics","isStylingMap","valueAtLViewIndex","ɵɵclassMapInterpolate1","LiveCollection","updateValue","swap","index1","index2","endItem","startItem","newIdx","valuesMatching","liveIdx","liveValue","trackBy","attachPreviouslyDetached","detachedItems","createOrAttach","liveCollection","trackByFn","initLiveItemsInTheFuture","at","UniqueValueMultiKeyMap","kvMap","_vMap","vMap","ɵɵconditional","matchingTemplateIndex","contextValue","prevMatchingTemplateIndex","prevContainer","getLContainer","nextLContainerIndex","nextContainer","getExistingTNode","RepeaterContext","$index","$count","RepeaterMetadata","hasEmptyBlock","ɵɵrepeaterCreate","trackByUsesComponentInstance","emptyTemplateFn","emptyDecls","emptyVars","emptyTagName","emptyAttrsIndex","boundTrackBy","LiveCollectionLContainerImpl","operationsCounter","needsIndexUpdate","detachExistingView","recordCreate","recordDestroy","updateIndexes","getExistingLViewFromLContainer","ɵɵrepeater","metadataSlotIdx","hostTView","containerIndex","itemTemplateTNode","reconcile","newCollection","liveKeysInTheFuture","liveStartIdx","liveEndIdx","liveStartValue","newStartValue","isStartMatching","liveEndValue","newEndValue","isEndMatching","liveStartKey","liveEndKey","newStartKey","newEndKey","newCollectionIterator","newIterationResult","liveKey","isCollectionEmpty","emptyTemplateIndex","lContainerForEmpty","emptyTemplateTNode","ɵɵelementStart","elementStartFirstCreatePass","_locateOrCreateElementNode","hasDirectives","isDetachedByI18n","getElementDepthCount","increaseElementDepthCount","ɵɵelementEnd","isSkipHydrationRootTNode","leaveSkipHydrationBlock","decreaseElementDepthCount","hasClassInput","hasStyleInput","ɵɵelement","getNamespace$1","ɵɵelementContainerStart","elementContainerStartFirstCreatePass","_locateOrCreateElementContainerNode","ɵɵelementContainerEnd","ɵɵelementContainer","ɵɵgetCurrentView","localeEn","plural","LOCALE_DATA","findLocaleData","normalizedLocale","normalizeLocale","getLocaleData","parentLocale","getLocalePluralCase","LocaleDataIndex","PluralCase","ng","common","locales","FirstDayOfWeek","WeekendRange","CurrencyCode","CurrencySymbol","CurrencyName","Currencies","Directionality","DEFAULT_LOCALE_ID","LOCALE_ID$1","stashEventListener","listenerFn","ɵɵlistener","eventTargetResolver","listenerInternal","isTNodeDirectiveHost","processOutputs","lCleanupIndex","idxOrTargetGetter","existingListener","findExistingListener","cleanupEventName","listenerIdxInLCleanup","__ngLastListenerFn__","__ngNextListenerFn__","wrapListener","propsLength","executeListenerWithErrorHandling","wrapListenerIn_markDirtyAndPreventDefault","nextListenerFn","ɵɵnextContext","nextContextImpl","walkUpViews","nestingLevel","matchingProjectionSlotIndex","projectionSlots","wildcardNgContentIndex","ngProjectAsAttrVal","getProjectAsAttrValue","ngProjectAsAttrIdx","ɵɵprojectionDef","componentNode","projectionHeads","tails","componentChild","slotIndex","ɵɵprojection","selectorIndex","fallbackTemplateFn","fallbackDecls","fallbackVars","fallbackIndex","isNodeCreationMode","insertFallbackContent","fallbackTNode","fallbackLContainer","applyProjection","ɵɵpropertyInterpolate","ɵɵpropertyInterpolate1","interpolatedValue","ɵɵcontentQuery","createContentQuery","saveContentQueryAndDirectiveIndex","tViewContentQueries","ɵɵviewQuery","createViewQuery","ɵɵqueryRefresh","isCreationMode","ɵɵloadQuery","loadQueryInternal","ɵɵreference","getContextLView","ɵɵtext","textNative","_locateOrCreateTextNode","ɵɵtextInterpolate","ɵɵtextInterpolate1","interpolated","ɵɵtextInterpolate2","ɵɵtwoWayProperty","ɵɵtwoWayBindingSet","canWrite","ɵɵtwoWayListener","resolveProvider","lInjectablesBlueprint","providerFactory","beginIndex","existingFactoryIndex","registerDestroyHooksIfSupported","existingProvidersFactoryIndex","existingViewProvidersFactoryIndex","doesViewProvidersFactoryExist","multiFactory","factoryFn","componentProviders","multiFactoryAdd","multiViewProvidersFactoryResolver","multiProvidersFactoryResolver","contextIndex","indexInFactory","providerIsTypeProvider","providerIsClassProvider","isClassProvider","existingCallbacksIndex","isComponentProvider","lData","multiResolve","factories","componentCount","multiProviders","ɵɵProvidersFeature","viewProviders","processProvidersFn","StandaloneService","_injector","cachedInjectors","getOrCreateStandaloneInjector","standaloneInjector","ɵɵStandaloneFeature","ɵɵsetComponentScope","ɵɵpureFunction0","slotOffset","pureFn","getBinding","ɵɵpureFunction1","pureFunction1Internal","ɵɵpureFunction2","pureFunction2Internal","ɵɵpureFunction3","exp3","pureFunction3Internal","bindingRoot","bindingUpdated3","getPureFunctionReturnValue","ɵɵpureFunction4","exp4","pureFunction4Internal","bindingUpdated4","returnValueIndex","lastReturnValue","ɵɵpipe","pipeName","getPipeDef","pipeFactory","pipeInstance","ɵɵpipeBind1","isPure","ɵɵpipeBind2","v2","ɵɵtemplateRefExtractor","full","major","minor","Console","TESTABILITY","TESTABILITY_GETTER","_testabilityGetter","Testability","testabilityGetter","_isZoneStable","_callbacks","taskTrackingZone","setTestabilityGetter","addToWindow","_watchAngularEvents","_runCallbacksIfReady","doneCb","getPendingTasks","updateCb","macroTasks","creationLocation","addCallback","whenStable","registerApplication","unregisterApplication","findProviders","using","exactMatch","TestabilityRegistry","_applications","testability","unregisterAllApplications","getTestability","getAllTestabilities","getAllRootElements","findTestabilityInTree","findInAncestors","isSubscribable","ApplicationInitStatus","donePromise","rej","appInits","runInitializers","asyncInitPromises","initResult","observableAsPromise","APP_BOOTSTRAP_LISTENER","optionsReducer","objs","ApplicationRef","_bootstrapListeners","_runningTick","_destroyListeners","_views","internalErrorHandler","afterRenderManager","zonelessEnabled","dirtyFlags","deferredDirtyFlags","externalTestViews","beforeRender","afterTick","componentTypes","allViews","stable","componentOrFactory","cf","compRef","_loadComponent","tick","synchronize","runs","synchronizeOnce","useGlobalCheck","detectChangesInViewIfRequired","syncDirtyFlagsWithViews","attachView","viewCount","warnIfDestroyed","isFirstPass","ModuleWithComponentFactories","ngModuleFactory","componentFactories","Compiler","compileModuleSync","compileModuleAsync","compileModuleAndAllComponentsSync","declaration","compileModuleAndAllComponentsAsync","clearCache","clearCacheFor","getModuleId","NgZoneChangeDetectionScheduler","applicationRef","_onMicrotaskEmptySubscription","runningTick","internalProvideZoneChangeDetection","ngZoneFactory","ignoreChangesOutsideZone","getNgZoneOptions","ngZoneChangeDetectionScheduler","ZoneStablePendingTask","eventCoalescing","runCoalescing","ChangeDetectionSchedulerImpl","taskService","disableScheduling","zoneIsDefined","schedulerTickApplyArgs","__scheduler_tick__","subscriptions","angularZoneId","cancelScheduledCallback","useMicrotaskScheduler","pendingRenderTaskId","shouldScheduleTick","scheduleCallback","getGlobalLocale","$localize","DEFAULT_CURRENCY_CODE","PLATFORM_DESTROY_LISTENERS","isApplicationBootstrapConfig","moduleRef","PlatformRef","_modules","bootstrapModuleFactory","moduleFactory","allAppProviders","getNgZone","ngZoneToUse","ngZoneEventCoalescing","ngZoneRunCoalescing","createNgModuleRefWithProviders","envInjector","r3Injector","exceptionHandler","onErrorSubscription","destroyListener","onPlatformDestroyListeners","platformInjector","allPlatformModules","_callAndReportToErrorHandler","initStatus","setLocaleId","rootComponent","moduleDoBootstrap","ngDoBootstrap","compilerOptions","compileNgModuleFactory","destroyListeners","_platformInjector","ALLOW_MULTIPLE_PLATFORMS","createPlatformFactory","parentPlatformFactory","extraProviders","platformProviders","createPlatform","publishSignalConfiguration","setThrowInvalidWriteToSignalError","setThrowInvalidWriteToSignalError$1","runPlatformInitializers","createPlatformInjector","assertPlatform","ChangeDetectorRef","injectChangeDetectorRef","createViewRef","isPipe","DefaultIterableDifferFactory","DefaultIterableDiffer","trackByIdentity","_linkedRecords","_unlinkedRecords","_previousItHead","_itHead","_itTail","_additionsHead","_additionsTail","_movesHead","_movesTail","_removalsHead","_removalsTail","_identityChangesHead","_identityChangesTail","forEachItem","nextIt","nextRemove","addRemoveOffset","moveOffsets","getPreviousIndex","adjPreviousIndex","_nextRemoved","localMovePreviousIndex","localCurrentIndex","forEachPreviousItem","_nextPrevious","_nextAdded","forEachMovedItem","_nextMoved","_nextIdentityChange","itemTrackBy","mayBeDirty","trackById","_verifyReinsertion","_addIdentityChange","_mismatch","iterateListLike","_truncate","isDirty","previousRecord","_prev","_remove","_reinsertAfter","_moveAfter","_addAfter","IterableChangeRecord_","reinsertRecord","_addToMoves","nextRecord","_addToRemovals","_unlink","prevRecord","_prevRemoved","_insertAfter","_DuplicateMap","_prevDup","_nextDup","_DuplicateItemRecordList","_head","_tail","atOrAfterIndex","duplicates","recordList","moveOffset","DefaultKeyValueDifferFactory","DefaultKeyValueDiffer","_records","_mapHead","_appendAfter","_previousMapHead","_changesHead","_changesTail","_nextChanged","_forEach","_maybeAddToChanges","_getOrCreateRecordForKey","_insertBeforeOrAppend","KeyValueChangeRecord_","_addToAdditions","_addToChanges","defaultIterableDiffersFactory","IterableDiffers","copied","defaultKeyValueDiffersFactory","KeyValueDiffers","kv","platformCore","ApplicationModule","booleanAttribute","computed","createComputed","createComputed$1","nonReactiveReadsFn","APP_EFFECT_SCHEDULER","EffectScheduler","ZoneAwareEffectScheduler","queuedEffectCount","queues","scheduleEffect","creationZone","flushQueue","EffectHandle","effectFn","allowSignalWrites","createWatch","registerOnCleanup","isInNotificationPhase","destroyWatchNode","isWatchNodeDestroyed","createWatch$1","onCleanup","runEffect","cdr","elementInjector","reflectComponentType","BaseControlValueAccessor","_elementRef","BuiltInControlValueAccessor","ɵBuiltInControlValueAccessor_BaseFactory","DEFAULT_VALUE_ACCESSOR","DefaultValueAccessor","COMPOSITION_BUFFER_MODE","_compositionMode","_composing","_isAndroid","ɵgetDOM","getUserAgent","_handleInput","_compositionStart","_compositionEnd","isEmptyInputValue","hasValidLength","NG_VALIDATORS","NG_ASYNC_VALIDATORS","EMAIL_REGEXP","minValidator","maxValidator","requiredValidator","requiredTrue","requiredTrueValidator","emailValidator","minLength","minLengthValidator","minlength","requiredLength","actualLength","maxLength","maxLengthValidator","maxlength","patternValidator","nullValidator","regexStr","requiredPattern","actualValue","compose","validators","composeAsync","isPresent","toObservable","mergeErrors","arrayOfErrors","executeValidators","validator","normalizeValidators","isValidatorFn","presentValidators","composeValidators","composeAsyncValidators","mergeValidators","controlValidators","dirValidator","getControlValidators","_rawValidators","getControlAsyncValidators","_rawAsyncValidators","makeValidatorsArray","hasValidator","addValidators","currentValidators","validatorsToAdd","removeValidators","AbstractControlDirective","_onDestroyCallbacks","pristine","untouched","_setValidators","_composedValidatorFn","_setAsyncValidators","_composedAsyncValidatorFn","asyncValidator","_registerOnDestroy","_invokeOnDestroyCallbacks","errorCode","getError","formDirective","NgControl","valueAccessor","AbstractControlStatus","cd","_cd","_touched","isUntouched","isPristine","_pristine","_status","isInvalid","isPending","isSubmitted","_submitted","NgControlStatus","NgControlStatusGroup","VALID","INVALID","DISABLED","ControlEvent","ValueChangeEvent","PristineChangeEvent","TouchedChangeEvent","StatusChangeEvent","FormSubmittedEvent","FormResetEvent","pickValidators","validatorOrOpts","isOptionsObj","pickAsyncValidators","asyncValidators","assertControlPresent","isGroup","assertAllValuesPresent","_forEachChild","AbstractControl","_pendingDirty","_hasOwnPendingAsyncValidator","_pendingTouched","_onCollectionChange","statusReactive","pristineReactive","touchedReactive","_events","_onDisabledChange","_assignValidators","_assignAsyncValidators","validatorFn","asyncValidatorFn","updateOn","_updateOn","setAsyncValidators","addAsyncValidators","removeAsyncValidators","hasAsyncValidator","clearAsyncValidators","markAsTouched","sourceControl","markAllAsTouched","markAsUntouched","_updateTouched","markAsDirty","markAsPristine","_updatePristine","markAsPending","skipPristineCheck","_parentMarkedDirty","_updateValue","_updateAncestors","changeFn","setParent","getRawValue","_setInitialStatus","shouldHaveEmitted","_cancelExistingSubscription","_runValidator","_calculateStatus","_runAsyncValidator","_updateTreeValidity","_allControlsDisabled","_asyncValidationSubscription","setErrors","_updateControlsErrors","currPath","_find","changedControl","_initObservables","_anyControlsHaveStatus","_anyControls","_anyControlsDirty","_anyControlsTouched","newPristine","_registerOnCollectionChange","_setUpdateStrategy","coerceToValidator","coerceToAsyncValidator","_setUpControls","registerControl","removeControl","setControl","controlName","_reduceChildren","_syncPendingControls","subtreeUpdated","_reduceValue","initValue","CALL_SET_DISABLED_STATE","setDisabledStateDefault","controlPath","setUpControl","callSetDisabledState","setUpValidators","setUpViewChangePipeline","_pendingValue","_pendingChange","updateControl","setUpModelChangePipeline","emitModelEvent","viewToModelUpdate","_unregisterOnChange","setUpBlurPipeline","setUpDisabledChangeHandler","onDisabledChange","registerOnDisabledChange","_unregisterOnDisabledChange","cleanUpControl","validateControlPresenceOnChange","cleanUpValidators","registerOnValidatorChange","onValidatorChange","isControlUpdated","updatedValidators","updatedAsyncValidators","emitModelToViewChange","isPropertyUpdated","viewModel","selectValueAccessor","valueAccessors","defaultAccessor","builtinAccessor","customAccessor","isBuiltInAccessor","removeListItem","isFormControlState","formState","_onChange","_applyFormState","nonNullable","initialValueIsDefault","emitViewToModelChange","UntypedFormControl","AbstractFormGroupDirective","_checkParentType","addFormGroup","removeFormGroup","getFormGroup","ɵAbstractFormGroupDirective_BaseFactory","formControlBinding$1","NgModel","resolvedPromise","_registered","_checkForErrors","_checkName","oldName","_getPath","_setUpControl","_updateDisabled","_isStandalone","_setUpStandalone","disabledValue","ɵNgNoValidate","NG_MODEL_WITH_FORM_CONTROL_WARNING","formControlBinding","FormControlDirective","_ngModelWarningSentOnce","_ngModelWarningConfig","_ngModelWarningSent","_isControlChanged","previousForm","formDirectiveProvider","_submittedReactive","_updateDomValue","ngSubmit","_checkFormPresent","_updateValidators","_updateRegistrations","_oldForm","getControl","removeListItem$1","_setUpFormContainer","_cleanUpFormContainer","addFormArray","removeFormArray","getFormArray","updateModel","onSubmit","syncPendingControls","onReset","resetForm","oldCtrl","newCtrl","isFormControl","setUpFormContainer","cleanUpFormContainer","formGroupNameProvider","FormGroupName","_hasInvalidParent","formArrayNameProvider","FormArrayName","controlNameBinding","FormControlName","_added","SELECT_VALUE_ACCESSOR","SelectControlValueAccessor","_buildValueString$1","_optionMap","_idCounter","_compareWith","_getOptionId","_getOptionValue","_registerOption","_extractId$1","ɵSelectControlValueAccessor_BaseFactory","NgSelectOption","_select","ngValue","_setElementValue","SELECT_MULTIPLE_VALUE_ACCESSOR","SelectMultipleControlValueAccessor","_buildValueString","optionSelectedStateSetter","opt","_setSelected","selected","selectedOptions","_extractId","ɵSelectMultipleControlValueAccessor_BaseFactory","ɵNgSelectMultipleOption","toFloat","AbstractValidatorDirective","_validator","inputName","normalizeInput","_enabled","createValidator","MAX_VALIDATOR","MaxValidator","ɵMaxValidator_BaseFactory","MIN_VALIDATOR","MinValidator","ɵMinValidator_BaseFactory","ɵInternalFormsSharedModule","FormArray","_registerControl","removeAt","isAbstractControlOptions","FormBuilder","useNonNullable","nnfb","reducedControls","_reduceControls","createdControls","_createControl","warnOnNgModelWithFormControl","GenericBrowserDomAdapter","ɵDomAdapter","supportsDOMEvents","BrowserDomAdapter","makeCurrent","ɵsetRootDomAdapter","onAndCancel","getDefaultDocument","createHtmlDocument","isShadowRoot","DocumentFragment","getBaseElementHref","baseElement","relativePath","resetBaseElement","getCookie","BrowserXhr","EVENT_MANAGER_PLUGINS","EventManager","plugins","_eventNameToPlugin","_plugins","_findPluginFor","getZone","EventManagerPlugin","APP_ID_ATTRIBUTE_NAME","SharedStylesHost","appId","styleRef","hostNodes","styleNodesInDOM","collectServerRenderedStyles","platformIsServer","resetHostNodes","addStyles","changeUsageCount","onStyleAdded","removeStyles","onStyleRemoved","getAllStyles","addHost","hostNode","addStyleToHost","removeHost","styleMap","styleRefValue","usage","getStyleElement","styleEl","styleElRef","NAMESPACE_URIS","xhtml","xml","xmlns","math","COMPONENT_REGEX","COMPONENT_VARIABLE","HOST_ATTR","CONTENT_ATTR","REMOVE_STYLES_ON_COMPONENT_DESTROY","shimStylesContent","compId","DomRendererFactory2","eventManager","sharedStylesHost","removeStylesOnCompDestroy","rendererByCompId","defaultRenderer","DefaultDomRenderer2","getOrCreateRenderer","EmulatedEncapsulationDomRenderer2","applyToHost","NoneEncapsulationDomRenderer","applyStyles","ShadowDomRenderer","throwOnSyntheticProps","isTemplateNode","namespaceUri","decoratePreventDefault","hostEl","nodeOrShadowRoot","contentAttr","shimContentAttribute","componentShortId","hostAttr","shimHostAttribute","DomEventsPlugin","MODIFIER_KEYS","_keyMap","Del","Esc","Left","Right","Up","Down","Menu","Scroll","Win","MODIFIER_KEY_GETTERS","altKey","ctrlKey","metaKey","shiftKey","KeyEventsPlugin","parseEventName","parsedEvent","outsideHandler","eventCallback","fullKey","domEventName","_normalizeKey","codeIX","modifierName","matchEventFullKeyCode","fullKeyCode","keycode","modifierGetter","keyName","platformBrowser","ɵPLATFORM_BROWSER_ID","initDomAdapter","_document","ɵsetDocument","BROWSER_MODULE_PROVIDERS_MARKER","TESTABILITY_PROVIDERS","ɵTESTABILITY_GETTER","BrowserGetTestability","ɵglobal","getAngularTestability","getAllAngularTestabilities","getAllAngularRootElements","frameworkStabilizers","testabilities","ɵTESTABILITY","BROWSER_MODULE_PROVIDERS","ɵINJECTOR_SCOPE","providersAlreadyPresent","withServerTransition","Title","getTitle","setTitle","newTitle","DomSanitizer","__ngConditionalFactory__","DomSanitizerImpl","ɵallowSanitizationBypassAndThrow","ɵunwrapSafeValue","ɵ_sanitizeHtml","ɵ_sanitizeUrl","bypassSecurityTrustHtml","ɵbypassSanitizationTrustHtml","bypassSecurityTrustStyle","ɵbypassSanitizationTrustStyle","bypassSecurityTrustScript","ɵbypassSanitizationTrustScript","bypassSecurityTrustUrl","ɵbypassSanitizationTrustUrl","ɵbypassSanitizationTrustResourceUrl","defaultIfEmpty","throwIfEmpty","defaultErrorFactory","hasDefaultValue","takeLast","PRIMARY_OUTLET","RouteTitleKey","ParamsAsMap","convertToParamMap","defaultUrlMatcher","segments","segmentGroup","route","hasChildren","posParams","consumed","shallowEqual","getDataKeys","equalArraysOrString","getOwnPropertySymbols","aSorted","bSorted","wrapIntoObservable","pathCompareMap","equalSegmentGroups","containee","matrixParams","equalPath","matrixParamsMatch","numberOfChildren","containsSegmentGroup","paramCompareMap","equalParams","containsParams","containsTree","paths","containsSegmentGroupHelper","containeePaths","containerPaths","containeeSegment","UrlTree","UrlSegmentGroup","queryParamMap","_queryParamMap","DEFAULT_SERIALIZER","serializePaths","UrlSegment","parameterMap","_parameterMap","serializePath","as","bs","UrlSerializer","DefaultUrlSerializer","UrlParser","parseRootSegment","parseQueryParams","parseFragment","tree","serializeSegment","serializeQueryParams","strParams","encodeUriQuery","encodeUriFragment","encodeURI","primary","mapChildrenIntoArray","childOutlet","encodeUriString","encodeUriSegment","decodeQuery","serializeMatrixParams","SEGMENT_RE","matchSegments","MATRIX_PARAM_SEGMENT_RE","QUERY_PARAM_RE","QUERY_PARAM_VALUE_RE","consumeOptional","peekStartsWith","parseChildren","parseQueryParam","parseSegment","parseParens","parseMatrixParams","parseParam","matchMatrixKeySegments","valueMatch","matchQueryParams","matchUrlQueryParamValue","decodedKey","decodedVal","currentVal","allowPrimary","outletName","createRoot","rootCandidate","He","squashSegmentGroup","childCandidate","grandChildOutlet","grandChild","mergeTrivialChildren","isUrlTree","createSegmentGroupFromRoute","targetGroup","rootSegmentGroup","createSegmentGroupFromRouteRecursive","currentRoute","childOutlets","childSnapshot","outlet","createUrlTreeFromSegmentGroup","relativeTo","commands","nav","computeNavigation","numberOfDoubleDots","isAbsolute","cmd","cmdIdx","outlets","segmentPath","urlPart","partIndex","toRoot","findStartingPositionForTargetGroup","Position","modifier","isMatrixParams","createPositionApplyingDoubleDots","ci","dd","newSegmentGroup","processChildren","updateSegmentGroupChildren","updateSegmentGroup","isCommandWithOutlets","oldRoot","oldSegmentGroup","qp","replaceSegment","newRoot","oldSegment","newSegment","cmdWithOutlet","prefixedWith","currentCommandIndex","currentPathIndex","noMatch","pathIndex","compare","slicedCommands","createNewSegmentGroup","getOutlets","childrenOfEmptyChild","createNewSegmentChildren","IMPERATIVE_NAVIGATION","EventType","NavigationStart","NavigationCancel","RoutesRecognized","ResolveStart","ResolveEnd","GuardsCheckStart","GuardsCheckEnd","RouteConfigLoadStart","RouteConfigLoadEnd","ChildActivationStart","ChildActivationEnd","ActivationStart","ActivationEnd","NavigationSkipped","RouterEvent","navigationTrigger","restoredState","NavigationCancellationCode","Redirect","SupersededByNewNavigation","NoDataFromResolver","GuardRejected","NavigationSkippedCode","IgnoredSameUrlNavigation","IgnoredByUrlHandlingStrategy","shouldActivate","routeConfig","routerEvent","BeforeActivateRoutes","RedirectRequest","navigationBehaviorOptions","getOutlet","getClosestRouteInjector","_loadedInjector","OutletContext","rootInjector","ChildrenOutletContexts","attachRef","contexts","onChildOutletCreated","childName","getOrCreateContext","onChildOutletDestroyed","onOutletDeactivated","onOutletReAttached","Tree","_root","pathFromRoot","findNode","siblings","findPath","cc","TreeNode","nodeChildrenAsMap","RouterState","setRouterState","createEmptyState","createEmptyStateSnapshot","ActivatedRouteSnapshot","RouterStateSnapshot","emptyUrl","emptyParams","emptyData","emptyQueryParams","ActivatedRoute","urlSubject","paramsSubject","queryParamsSubject","fragmentSubject","dataSubject","futureSnapshot","_futureSnapshot","_routerState","paramMap","_paramMap","getInherited","paramsInheritanceStrategy","inherited","loadComponent","_resolvedData","hasStaticTitle","_resolve","serializeNode","advanceActivatedRoute","nextSnapshot","shallowEqualArrays","equalParamsAndUrlSegments","equalUrlParams","equalSegments","RouterOutlet","_activatedRoute","activateEvents","deactivateEvents","parentContexts","inputBinder","INPUT_BINDER","supportsBindingToComponentInputs","activatedComponentRef","isTrackedInParentContexts","deactivate","initializeOutletWithName","unsubscribeFromRouteData","activateWith","activatedRoute","activatedRouteData","bindActivatedRouteToOutletComponent","childContexts","OutletInjector","__ngOutletInjector","RoutedComponentInputBinder","outletDataSubscriptions","subscribeToRouteData","dataSubscription","createNode","routeReuseStrategy","shouldReuseRoute","createOrReuseChildren","shouldAttach","detachedRouteHandle","createActivatedRoute","RedirectCommand","NAVIGATION_CANCELING_ERROR","redirectingNavigationError","urlSerializer","redirect","navigationCancelingError","cancellationCode","isNavigationCancelingError","ActivateRoutes","futureState","currState","forwardEvent","inputBindingEnabled","futureRoot","currRoot","deactivateChildRoutes","activateChildRoutes","futureNode","currNode","futureChild","childOutletName","deactivateRoutes","deactivateRouteAndItsChildren","future","shouldDetach","detachAndStoreRouteSubtree","deactivateRouteAndOutlet","treeNode","activateRoutes","stored","CanActivate","CanDeactivate","getAllRouteGuards","getChildRouteGuards","getTokenOrFunctionIdentity","tokenOrFunction","ɵisInjectable","futurePath","checks","canDeactivateChecks","canActivateChecks","prevChildren","getRouteGuards","shouldRun","shouldRunGuardsAndResolvers","runGuardsAndResolvers","isEmptyError","INITIAL_VALUE","prioritizedGuardValue","isRedirect","redirectIfUrlTree","NoMatch","AbsoluteRedirect","urlTree","noMatch$1","ApplyRedirects","lineralizeSegments","applyRedirectCommands","redirectToFn","newRedirect","newTree","applyRedirectCreateUrlTree","createSegmentGroup","createQueryParams","redirectToParams","actualParams","sourceName","updatedSegments","createSegments","redirectToSegments","actualSegments","findPosParam","findOrReturn","redirectToUrlSegment","consumedSegments","remainingSegments","positionalParamSegments","matchWithChecks","getOrCreateRouteInjectorIfNeeded","currentInjector","runCanMatchGuards","canMatch","canMatchObservables","injectionToken","guard","isCanMatch","createWildcardMatchResult","slicedSegments","containsEmptyPathMatchesWithNamedOutlets","emptyPathMatch","createChildrenForEmptyPaths","containsEmptyPathMatches","addEmptyPathsToChildrenIfNeeded","primarySegment","NoLeftoversInUrl","Recognizer","configLoader","rootComponentType","applyRedirects","absoluteRedirectCount","allowRedirects","noMatchError","recognize","rootSnapshot","rootNode","routeState","createUrlTreeFromSnapshot","freeze","processSegmentGroup","parentRoute","processSegment","sortedConfig","sortByMatchingOutlets","seed","scanInternals","hasSeed","emitOnNext","emitBeforeComplete","hasState","outletChildren","last$1","mergedChildren","mergeEmptyPathMatches","sortActivatedRouteSnapshots","processSegmentAgainstRoute","noLeftoversInUrl","rawSegment","matchSegmentAgainstRoute","expandSegmentAgainstRouteUsingRedirect","getData","_loadedComponent","getResolve","newSegments","getChildConfig","childConfig","childInjector","matchedOnOutlet","_loadedRoutes","runCanLoadGuards","canLoad","canLoadObservables","isCanLoad","shouldLoadResult","cfg","canLoadFails","hasEmptyPathConfig","mergedNodes","duplicateEmptyPathNode","resultNode","mergedNode","flattenRouteTree","descendants","switchTap","nextResult","TitleStrategy","buildTitle","pageTitle","getResolvedTitleForRoute","DefaultTitleStrategy","updateTitle","ROUTER_CONFIGURATION","ɵEmptyOutletComponent","standardizeConfig","ROUTES","RouterConfigLoader","componentLoaders","childrenLoaders","compiler","onLoadStartListener","loadRunner","maybeUnwrapDefaultExport","onLoadEndListener","factoryOrRoutes","rawRoutes","requireStandaloneComponents","isWrappedDefaultExport","UrlHandlingStrategy","DefaultUrlHandlingStrategy","shouldProcessUrl","extract","newUrlPart","wholeUrl","CREATE_VIEW_TRANSITION","VIEW_TRANSITION_OPTIONS","createViewTransition","transitionOptions","startViewTransition","skipNextTransition","resolveViewTransitionStarted","viewTransitionStarted","createRenderPromise","onViewTransitionCreated","NAVIGATION_ERROR_HANDLER","NavigationTransitions","hasRequestedNavigation","navigationId","currentNavigation","lastSuccessfulNavigation","transitionAbortSubject","rootContexts","titleStrategy","urlHandlingStrategy","navigationErrorHandler","afterPreactivation","handleNavigationRequest","setupNavigations","initialUrlTree","initialRouterState","currentUrlTree","currentRawUrl","extractedUrl","rawUrl","extras","targetSnapshot","currentRouterState","targetRouterState","guards","guardsResult","overallTransitionState","cancelNavigationTransition","initialUrl","targetBrowserUrl","browserUrl","previousNavigation","urlTransition","navigated","isUpdatingInternalState","isUpdatedBrowserUrl","onSameUrlNavigation","recognize$1","finalUrl","routesRecognized","navStart","skipLocationChange","replaceUrl","guardsStart","checkGuards","runCanDeactivateChecks","futureRSS","currRSS","runCanDeactivate","currARS","canDeactivate","canDeactivateObservables","closestInjector","isCanDeactivate","isBoolean","runCanActivateChecks","fireChildActivationStart","fireActivationStart","runCanActivateChild","futureARS","canActivateChildGuardsMapped","getCanActivateChild","canActivateChild","guardsMapped","isCanActivateChild","runCanActivate","canActivateObservables","isCanActivate","guardsEnd","resolveStart","dataResolved","resolveData","routesWithResolversToRun","routesNeedingDataUpdates","newRoute","routesProcessed","runResolve","resolveNode","getResolver","resolvedData","resolveEnd","loadComponents","loaders","loadedComponent","createRouterState","isRedirectingNavigationCancelingError","navigationError","navigationErrorHandlerResult","errorHandlerResult","ee","resolveNavigationPromiseOnError","navCancel","currentBrowserUrl","isBrowserTriggeredNavigation","DefaultRouteReuseStrategy","BaseRouteReuseStrategy","detachedTree","ɵDefaultRouteReuseStrategy_BaseFactory","StateManager","HistoryStateManager","canceledNavigationResolution","urlUpdateStrategy","rawUrlTree","lastSuccessfulId","routerState","stateMemento","createStateMemento","getCurrentUrlTree","getRawUrlTree","browserPageId","ɵrouterPageId","getRouterState","registerNonRouterCurrentEntryChangeListener","handleRouterEvent","setBrowserUrl","restoreHistory","generateNgRouterState","restoringFromCaughtError","targetPagePosition","resetState","resetUrlToCurrentUrlTree","routerPageId","ɵHistoryStateManager_BaseFactory","NavigationResult","COMPLETE","FAILED","REDIRECTING","afterNextNavigation","exactMatchOptions","subsetMatchOptions","Router","disposed","ɵConsole","navigationTransitions","componentInputBindingEnabled","eventsSubscription","resetConfig","subscribeToNavigationEvents","mergedTree","scheduleNavigation","isPublicRouterEvent","resetRootComponentType","initialNavigation","setUpLocationChangeListener","navigateToSyncWithBrowser","nonRouterCurrentEntryChangeSubscription","stateCopy","serializeUrl","getCurrentNavigation","createUrlTree","navigationExtras","queryParamsHandling","preserveFragment","relativeToUrlSegmentGroup","defaultQueryParamsHandling","removeEmptyProps","navigateByUrl","navigate","validateCommands","matchOptions","priorPromise","RouterLink","tabIndexAttribute","onChanges","routerLinkInput","isAnchorElement","updateHref","setTabIndexIfNotOnNativeEl","newTabIndex","applyAttributeValue","routerLink","commandsOrUrlTree","sanitizedValue","PreloadingStrategy","preload","RouterPreloader","setUpPreloading","processRoutes","injectorForCurrentRoute","injectorForChildren","preloadConfig","loadedChildren$","recursiveLoadChildren$","loadComponent$","ROUTER_SCROLLER","RouterScroller","viewportScroller","lastSource","restoredId","scrollPositionRestoration","anchorScrolling","routerEventsSubscription","createScrollEvents","scrollEventsSubscription","consumeScrollEvents","scheduleScrollEvent","routerFeature","getBootstrapListener","bootstrappedComponentRef","bootstrapDone","BOOTSTRAP_DONE","INITIAL_NAVIGATION","ROUTER_PRELOADER","withPreloading","withViewTransitions","skipInitialTransition","ROUTER_FORROOT_GUARD","ROUTER_PROVIDERS","rootRoute","provideForRootGuard","useHash","scrollOffset","provideInitialNavigation","bindToComponentInputs","enableViewTransitions","ROUTER_INITIALIZER","forChild","locationInitialized","NEVER","DEFAULT_CONFIG","fromSubscribable","subscribable","delayWhen","delayDurationSelector","subscriptionDelay","ignoreElements","ERR_SW_NOT_SUPPORTED","NgswCommChannel","serviceWorker","controllerChanges","currentController","controllerWithChanges","worker","registration","getRegistration","publish","multicast","subjectOrSubjectFactory","errorObservable","sw","postMessageWithOperation","operationNonce","waitForOperationCompleted","generateNonce","eventsOfType","filterFn","nextEventOfType","SwPush","pushManager","subscriptionChanges","messages","notificationClicks","workerDrivenSubscriptions","pm","getSubscription","requestSubscription","pushOptions","userVisibleOnly","decodeBase64","serverPublicKey","applicationServerKey","SwUpdate","activateUpdate","ngswAppInitializer","readyToRegister$","onControllerChange","registrationStrategy","strategy","delayWithTimeout","whenStable$","ngswCommChannelFactory","SwRegistrationOptions","provideServiceWorker","_readyPromise","keyboardDidShow","keyboardDidHide","resize","readyResolve","subscribeWithPriority","processNextHandler","proxyEvent","platformName","getQueryParam","readQueryParam","isLandscape","isPortrait","expression","NavController","topOutlet","DEFAULT_DIRECTION","DEFAULT_ANIMATED","guessDirection","guessAnimation","lastNavId","navigateForward","setDirection","navigateBack","parentOutlet","getAnimation","setTopOutlet","consumeTransition","ConfigToken","NavParams","AngularDelegate","elementReferenceKey","AngularFrameworkDelegate","useSetInputAPI","enableSignalsSupport","elRefMap","elEventsMap","_container","unbindEvents","getProviders","popover","otherParams","bindLifecycleEvents","LIFECYCLES","unregisters","NavParamsToken","provideNavParamsInjectable","proxyInputs","Cmp","Prototype","proxyMethods","proxyOutputs","ProxyCmp","defineCustomElementFn","POPOVER_INPUTS","POPOVER_METHODS","IonPopover","isCmpOpen","alignment","arrow","keepContentsMounted","dismissOnSelect","focusTrap","triggerAction","MODAL_INPUTS","MODAL_METHODS","IonModal","backdropBreakpoint","canDismiss","handleBehavior","initialBreakpoint","presentingElement","setRoot","views","stackId","isTabSwitch","enteringView","leavingView","computeStackId","prefixUrl","toSegments","destroyView","unlistenEvents","StackController","navCtrl","runningTask","skipTransition","tabsPrefix","activeView","nextId","createView","getExistingView","activatedUrlKey","vw","setActive","consumeResult","tabSwitch","viewsSnapshot","navigations","reused","customAnimation","canGoBack","cleanupAsync","getActiveStackId","getStack","viewSavedData","savedData","primaryOutlet","savedExtras","startBackTransition","endBackTransition","shouldComplete","getLastUrl","getRootUrl","getActiveView","hasRunningTask","setForward","setBack","progressAnimation","commit","activeRoute","locationWithoutFragment","IonRouterOutlet","nativeEl","activatedView","_swipeGesture","stackCtrl","proxyMap","currentActivatedRoute$","stackWillChange","stackDidChange","swipe","shouldContinue","commonLocation","contextSnapshot","cmpRef","updateActivatedRouteProxy","component$","activatedRouteProxy","createActivatedRouteProxy","outletContent","getLastRouteView","getRootView","proxyObservable","provideComponentInputBinding","componentInputBindingFactory","BACK_BUTTON_INPUTS","IonBackButton","routerOutlet","defaultHref","routerAnimation","RouterLinkDelegateDirective","routerDirection","updateTargetUrlAndHref","updateTabindex","RouterLinkWithHrefDelegateDirective","NAV_INPUTS","NAV_METHODS","IonNav","angularDelegate","rootParams","IonTabs","tabsInner","ionTabsWillChange","ionTabsDidChange","tabBarSlot","hasTab","selectedTab","leavingTab","firstTab","setActiveTab","tab","detectSlotChanges","onStackWillChange","onStackDidChange","tabBar","tabOrEvent","isTabString","alreadySelected","tabRootUrl","activeStackId","lastRoute","getSelected","tabBars","currentSlot","relocateTabBar","ValueAccessor","setIonicClasses","handleValueChange","_handleBlurEvent","ngControl","oldFn","getClasses","setClasses","_route","_detachedTree","futureParams","currentParams","keysA","keysB","OverlayBaseController","globalScripts","IonPopover_ng_container_0_Template","BooleanValueAccessorDirective","_handleIonChange","NumericValueAccessorDirective","handleInputEvent","SelectValueAccessorDirective","_handleChangeEvent","TextValueAccessorDirective","_handleInputEvent","IonApp","IonAvatar","IonBadge","IonButton","buttonType","download","shape","strong","IonButtons","collapse","IonCard","IonCardContent","IonCardHeader","IonCardSubtitle","IonCardTitle","IonCheckbox","indeterminate","justify","labelPlacement","IonCol","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","pushLg","pushMd","pushSm","pushXl","pushXs","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs","IonContent","fixedSlotPlacement","forceOverscroll","fullscreen","scrollEvents","IonDatetime","cancelText","clearText","dayValues","doneText","formatOptions","highlightedDates","hourValues","isDateEnabled","minuteValues","monthValues","preferWheel","readonly","showClearButton","showDefaultButtons","showDefaultTimeLabel","showDefaultTitle","titleSelectedDatesFormatter","yearValues","IonDatetimeButton","IonFab","edge","vertical","IonFabButton","closeIcon","IonFabList","IonFooter","IonGrid","IonHeader","IonIcon","flipRtl","md","IonImg","IonInfiniteScroll","IonInfiniteScrollContent","loadingSpinner","loadingText","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearInputIcon","clearOnEdit","counterFormatter","enterkeyhint","errorText","helperText","inputmode","placeholder","spellcheck","IonItem","detailIcon","IonLabel","IonList","inset","IonListHeader","IonMenu","contentId","maxEdgeStart","IonNote","IonProgressBar","reversed","IonRange","activeBarStart","dualKnobs","snaps","ticks","IonRow","IonSearchbar","cancelButtonIcon","cancelButtonText","clearIcon","searchIcon","showCancelButton","IonSegment","scrollable","selectOnFocus","IonSegmentButton","layout","IonSelect","expandedIcon","interface","interfaceOptions","okText","selectedText","toggleIcon","IonSelectOption","IonSplitPane","IonText","IonTextarea","autoGrow","IonThumbnail","IonTitle","IonToggle","enableOnOffLabels","IonToolbar","IonRouterOutlet$1","RouterLinkDelegateDirective$1","ɵRouterLinkDelegateDirective_BaseFactory","IonPopover$1","ɵIonPopover_BaseFactory","ION_MAX_VALIDATOR","IonMaxValidator","ɵIonMaxValidator_BaseFactory","ION_MIN_VALIDATOR","IonMinValidator","ɵIonMinValidator_BaseFactory","AlertController","ActionSheetController","LoadingController","ModalController","PickerController","PopoverController","ToastController","appInitialize","_zoneGate","aelFn","applyPolyfills","promises","NodeList","searchParams","checkIfURLIsSupported","syncQueue","ionic_angular_common","er","isBuffer","keyIdentity","delimiter","maxDepth","transformKey","currentDepth","isarray","safe","isbuffer","isobject","unflatten","overwrite","getkey","parsedKey","addKeys","recipient","DefaultLoader","TRANSLOCO_LOADER","isString","toCamelCase","isDefined","isScopeObject","flatten$1","TRANSLOCO_CONFIG","failedRetries","logMissingKey","allowEmpty","aot","interpolation","translocoConfig","TRANSLOCO_TRANSPILER","DefaultTranspiler","interpolationMatcher","resolveMatcher","transpile","handleObject","handleArray","transpiled","TRANSLOCO_MISSING_HANDLER","DefaultHandler","TRANSLOCO_INTERCEPTOR","DefaultInterceptor","preSaveTranslation","preSaveTranslationKey","TRANSLOCO_FALLBACK_STRATEGY","DefaultFallbackStrategy","getNextLangs","getScopeFromLang","getLangFromScope","getPipeValue","splitted","lastItem","resolveInlineLoader","providerScope","hasInlineLoader","prependScope","inlineLoader","getEventPayload","langName","resolveLoader","mainLoader","fallbackStrategy","firstFallbackLang","isResolvedMissingOnce","failedLangs","setAvailableLangs","setFallbackLangForMissingTranslation","setDefaultLang","getDefaultLang","wasFailure","getActiveLang","onLangChanged","langs","cached","loadTranslation","isScope","_isLangScoped","loadersOptions","getFallbacksLoaders","fallbackPath","load$","configOrCount","soFar","subscribeForRetry","resub","notifierSubscriber","handleSuccess","handleFailure","resolveLang","resolveLangAndScope","_handleMissingKey","selectTranslate","_isObject","translateObject","isScopeArray","isLang","isScopeWithLang","unflatten$1","getObjectByKey","_params","selectTranslateObject","firstKey","firstParams","langOrScope","selectTranslation","language$","scopeLangSpecified","currentLang","setTranslation","mergedOptions","emitChange","flattenScopeOrTranslation","getMappedScope","mergedTranslation","flattenTranslation","withHook","setTranslationKey","jt","getMissingHandlerData","getAvailableLangsIds","_loadDependencies","mainLang","isLoadedTranslation","_completeScopeWithLang","_setScopeAlias","scopeMapping","activeLang","loadOptions","failedCounter","nextLang","langFromScope","hasLang","TRANSLOCO_LANG","TRANSLOCO_SCOPE","LangResolver","extracted","resolveLangBasedOnScope","resolveLangPath","ScopeResolver","TranslocoPipe","providerLang","lastKey","langResolver","scopeResolver","inlineLang","listenToLangChange","shouldListenToLangChanges","hasStatic","resolveScope","listenOrNotOperator","resolvedScope","provideTranslocoTranspiler","provideTranslocoMissingHandler","provideTranslocoInterceptor","provideTranslocoFallbackStrategy","provideTranslocoConfig","provideTranslocoLoader","transpiler","ɵNG_PIPE_DEF","DESTROY","DECORATOR_APPLIED","getSymbol","destroyMethodName","createSubjectOnTheInstance","completeSubjectOnTheInstance","decorateNgOnDestroy","arrayName","unsubscribeIfPropertyIsArrayLike","checkProperties","blackList","decorateProviderDirectiveOrComponent","decoratePipe","markAsDecorated","CheckerHasBeenSet","NG_DEV_MODE","overrideNonDirectiveInstanceMethod","originalDestroy","ensureClassIsDecorated","destroy$","setupSubjectUnsubscribedChecker","isAngularInTestMode","__karma__","jasmine","jest","Mocha","lContext","ɵgetLContext","cleanupHasBeenExecuted$","createMessage","millisecondsInHour","argStr","PdfFindInputAreaComponent_Conditional_0_Template","PdfFindbarComponent_ng_template_1_Template","defaultFindbarButtons_r2","mobileFriendlyZoomScale","findbarLeft","findbarTop","customFindbarButtons","PdfFindbarComponent_ng_template_3_Template","customFindbarInputArea","showFindHighlightAll","showFindMatchCase","showFindMatchDiacritics","showFindEntireWord","showFindMultiple","showFindRegexp","showFindResultsCount","showFindMessages","$item","PdfSecondaryToolbarComponent_ng_template_1_For_3_Conditional_2_Template","button_r2","PdfSecondaryToolbarComponent_ng_template_1_For_3_Template","eventBusName","closeOnClick","toggled","l10nId","l10nLabel","PdfSecondaryToolbarComponent_ng_template_1_Template","secondaryToolbarTop","pdfShyButtonService","PdfSidebarContentComponent_ng_template_5_Template","PdfSidebarComponent_ng_content_1_Template","PdfSidebarComponent_ng_template_2_Template","thumbnailDrawn","sidebarPositionTop","hideSidebarToolbar","customThumbnail","PdfShyButtonComponent_Conditional_0_Template","primaryToolbarId","PdfEditorComponent_Conditional_0_Template","showHighlightEditor","showTextEditor","showStampEditor","showDrawEditor","PdfRotatePageCwComponent_Conditional_0_Template","rotateCW","showRotateCwButton","disableRotate","PdfRotatePageCcwComponent_Conditional_0_Template","rotateCCW","showRotateCcwButton","PdfZoomDropdownComponent_For_5_Template","level_r1","dataL10nId","dataL10nArgs","displayValue","PdfToolbarComponent_ng_content_2_Template","PdfToolbarComponent_ng_template_6_Template","updatePageViewMode","showSidebarButton","sidebarVisible","showFindButton","textLayer","findbarVisible","hasTextLayer","showPagingButtons","showFirstAndLastPageButtons","showPreviousAndNextPageButtons","showPageNumber","showPageLabel","showZoomButtons","showZoomDropdown","zoomLevels","showPropertiesButton","scrollMode","showSpreadButton","showSinglePageModeButton","pageViewMode","showVerticalScrollButton","showHorizontalScrollButton","showWrappedScrollButton","showInfiniteScrollButton","showBookModeButton","showHandToolButton","handTool","showPresentationModeButton","showOpenFileButton","showPrintButton","showDownloadButton","showSecondaryToolbarButton","_c10","_c11","NgxExtendedPdfViewerComponent_Conditional_0_Template","NgxExtendedPdfViewerComponent_Conditional_1_Template","NgxExtendedPdfViewerComponent_ng_content_5_Template","NgxExtendedPdfViewerComponent_ng_template_6_Conditional_5_ng_content_1_Template","NgxExtendedPdfViewerComponent_ng_template_6_Conditional_5_Template","defaultFreeFloatingBar_r3","customFreeFloatingBar","NgxExtendedPdfViewerComponent_ng_template_6_Conditional_56_Template","NgxExtendedPdfViewerComponent_ng_template_6_Template","onToolbarLoaded","onSpreadChange","zoomToPageWidth","tmp_24_0","majorMinorPdfJsVersion","showFreeFloatingBar","customSidebar","primaryMenuVisible","serverSideRendering","customToolbar","enablePrint","secondaryMenuIsEmpty","spread","toolbarMarginTop","toolbarWidth","customSecondaryToolbar","localizationInitialized","viewerPositionTop","hasSignature","showUnverifiedSignatures","NgxExtendedPdfViewerComponent_ng_template_8_Template","PdfCursorTools","SELECT","HAND","ZOOM","AnnotationMode","DISABLE","ENABLE","ENABLE_FORMS","ENABLE_STORAGE","_isIE11","MSInputMethodContext","isEdge","needsES5","ReadableStream","allSettled","getVersionSuffix","folder","assetsUrl","postfixIfPathIsRelativ","pdfDefaultOptions","annotationEditorMode","annotationMode","defaultZoomDelay","cursorToolOnLoad","defaultUrl","defaultZoomValue","disableHistory","disablePageLabels","enablePermissions","docBaseUrl","enablePrintAutoRotate","externalLinkRel","externalLinkTarget","findController","historyUpdateUrl","ignoreDestinationZoom","imageResourcesPath","maxCanvasPixels","forcePageColors","pageColorsBackground","pageColorsForeground","pdfBugEnabled","printResolution","rangeChunkSize","removePageBorders","enableXfa","fontExtraProperties","sidebarViewOnLoad","scrollModeOnLoad","spreadModeOnLoad","textLayerMode","viewOnLoad","cMapPacked","cMapUrl","assetsFolder","disableAutoFetch","disableFontFace","disableRange","disableStream","isEvalSupported","isOffscreenCanvasSupported","maxImageSize","pdfBug","verbosity","workerPort","_internalFilenameSuffix","sandboxBundleSrc","workerSrc","standardFontDataUrl","doubleTapZoomFactor","doubleTapZoomsInHandMode","doubleTapZoomsInTextSelectionMode","doubleTapResetsZoomOnSecondDoubleTap","enableScripting","defaultCacheSize","passwordPrompt","enableHWA","ScrollModeType","VerbosityLevel","ERRORS","WARNINGS","INFOS","requiredIds","PdfDummyComponentsComponent","dummyComponentsContainer","addMissingStandardWidgets","getElementsByClassName","needsDummyWidget","dummy","NgxFormSupport","formIdToFullFieldName","formIdToField","radioButtons","formData","initialFormDataStoredInThePDF","formDataChange","PDFViewerApplication","registerFormSupportWithPdfjs","getFormValueFromAngular","updateAngularFormValue","updateAngularFormValueCalledByPdfjs","registerAcroformField","radioButtonValueName","initialValueFromPDF","registerXFAField","initialFormValueFromPDF","fieldName","HTMLInputElement","groupName","HTMLSelectElement","getValueOfASelectField","fullFieldName","findFullXFAName","HTMLTextAreaElement","findXFAName","xfaName","doUpdateAngularFormValue","shortFieldName","exportValue","updateFormFieldsInPdfCalledByNgOnChanges","previousFormData","pdfDocument","annotationStorage","setFieldValueAndUpdateAnnotationStorage","hasPreviousValue","radios","findRadioButtonGroup","activeValue","updateFromAngular","fieldId","findFormIdFromFieldName","htmlField","populateSelectField","newValueArray","matchingEntries","radio","PdfSidebarView","THUMBS","OUTLINE","ATTACHMENTS","LAYERS","PDFNotificationService","onPDFJSInitSignal","pdfjsVersion","NgxExtendedPdfViewerService","ngxExtendedPdfViewerInitialized","useSecondaryFindcontroller","highlightAllCheckbox","highlightAll","matchCaseCheckbox","matchCase","findMultipleCheckbox","findMultiple","entireWordCheckbox","wholeWords","matchDiacriticsCheckbox","matchDiacritics","matchRegExpCheckbox","regexp","findParameters","caseSensitive","entireWord","matchRegExp","findPrevious","dontScrollIntoView","customFindController","ngxFind","findNext","ngxFindNext","ngxFindPrevious","print","printRange","PDFPrintServiceFactory","isInPDFPrintRange","setPrintRange","printPdf","eventBus","removePrintRange","filteredPageCount","pagesCount","pageCount","range","pageIndex","excluded","included","getPageAsLines","pageNumber","snippets","getPage","getTextContent","countLTR","countRTL","currentSnippet","hasEOL","getPageAsText","textSnippets","convertTextInfoToText","textInfoItems","getPageAsCanvas","backgroundColorToReplace","pdfPage","draw","getPageAsImage","zoomFactor","getViewport","getPageDrawContext","drawViewport","canvasContext","dataUrlPromise","getCurrentDocumentAsBlob","export","getFormData","currentFormValues","pdf","dpiRatio","numPages","getAnnotations","subtype","fieldRect","convertToViewportRectangle","radioButton","fieldValue","fieldAnnotation","addPageToRenderQueue","pdfViewer","isRenderQueueEmpty","renderingQueue","getHighestPriority","_getVisiblePages","_pages","scrolledDown","renderExtra","hasPageBeenRendered","renderingState","sleep","renderPage","currentlyRenderedPages","numberOfPages","getCurrentlyVisiblePageNumbers","listLayers","optionalContentConfig","optionalContentConfigPromise","getOrder","layerId","getGroup","toggleLayer","_this10","checkbox","setVisibility","scrollPageIntoView","pageSpot","scrollPagePosIntoView","getSerializedAnnotations","addEditorAnnotation","serializedAnnotation","_this11","removeEditorAnnotations","loadImageAsDataURL","addImageToAnnotationLayer","urlOrDataUrl","_this12","pageToModify","previousAnnotationEditorMode","switchAnnotationEdtorMode","leftPdf","convertToPDFCoordinates","bottomPdf","rightPdf","topPdf","annotationType","bitmapUrl","viewer","currentPageNumber","imageMaxValue","editorFontSize","setEditorProperty","editorFontColor","editorInkColor","editorInkOpacity","editorInkThickness","thickness","editorHighlightColor","editorHighlightDefaultColor","editorHighlightShowAll","showAll","editorHighlightThickness","editorPropertyType","PdfCspPolicyService","ttWindow","addTrustedCSS","addTrustedJavaScript","PDFScriptLoaderService","pdfCspPolicyService","csp_nonce","_forceUsingLegacyES5","forceUsingLegacyES5","shuttingDown","_needsES5","PDFViewerApplicationOptions","webViewerLoad","ngxExtendedPdfViewerIncompletelyInitialized","addScriptOpChainingSupport","useInlineScripts","isCSPApplied","createScriptElement","ngxExtendedPdfViewerCanRunModernJSCode","createInlineScript","isCSPAppliedViaMetaTag","metaTags","sourcePath","getPdfJsPath","artifact","loadViewer","_this13","viewerPath","addFeatures","ensurePdfJsHasBeenLoaded","_this14","setNgxExtendedPdfViewerSource","pdfjsLib","iOSVersionRequiresES5","_this15","isIOs13OrBelow","polyfillPromiseWithResolversIfZoneJSOverwritesIt","TypelessPromise","withResolvers","NgxKeyboardManagerService","ignoreKeyboard","ignoreKeys","acceptKeys","isKeyIgnored","isKeyInList","keyDef","isKey","cmdDef","registerKeyboardListener","ngxKeyboardManager","PdfBreakpoints","ResponsiveCSSClassPipe","defaultClass","NegativeResponsiveCSSClassPipe","UnitToPx","initElements","con","visibility","pxPerUnit","pxPerUnitCache","sample","toPx","DynamicCssComponent","xxs","xs","sm","lg","xl","xxl","updateToolbarWidth","scaleFactor","removeScrollbarInInfiniteScrollMode","restoreHeight","ngxExtendedPdfViewer","logLevel","checkHeight","isHeightDefinedWithUnits","isPrinting","getContainer","isContainerHeightZero","adjustHeight","maximumHeight","calculateBorderMargin","computedStyle","paddingBottom","PdfAcroformDefaultThemeComponent","PdfContextMenuComponent","PdfDarkThemeComponent","PdfAltTextDialogComponent","PdfDocumentPropertiesDialogComponent","PdfErrorMessageComponent","PdfFindbarMessageContainerComponent","PdfFindEntireWordComponent","PdfFindHighlightAllComponent","PdfFindNextComponent","PdfFindPreviousComponent","PdfSearchInputFieldComponent","PdfFindInputAreaComponent","PdfFindMatchCaseComponent","PdfFindMultipleComponent","PdfFindRegExpComponent","PdfFindResultsCountComponent","PdfMatchDiacriticsComponent","PdfFindbarComponent","customFindbar","defaultFindbar_r3","PdfLightThemeComponent","PdfPasswordDialogComponent","PdfPreparePrintingDialogComponent","PdfShyButtonService","secondaryMenuId","addDefaultPrefix","previousDefinition","order","imageHtml","l10n","PdfSecondaryToolbarComponent","ngxExtendedPdfViewerService","spreadChange","disablePreviousPage","disableNextPage","classMutationObserver","onPdfJsInit","updateUIState","previousButton","nextButton","newSpread","checkVisibility","targetNode","subtree","mutationList","mutation","visibleButtons","checkVisibilityRecursively","HTMLButtonElement","HTMLAnchorElement","htmlevent","secondaryToolbar","defaultSecondaryToolbar_r4","PdfSidebarContentComponent","defaultThumbnail","linkService","thumbnailListener","createThumbnail","pdfThumbnailView","thumbPageTitlePromiseOrPageL10nArgs","newElement","getAnchorUrl","replacePageNumberEverywhere","thumbnail","onKeyDown","PdfSidebarToolbarComponent","PdfSidebarComponent","showToolbarWhenNecessary","defaultSidebar_r3","PdfShyButtonComponent","pdfShyButtonServiceService","onlySecondaryMenu","buttonRef","_imageHtml","svgTags","sanitizeHtml","updateButtonImage","htmlEvent","PdfBookModeComponent","pageViewModeChange","PdfDocumentPropertiesComponent","PdfDownloadComponent","PdfDrawEditorComponent","isSelected","PdfHighlightEditorComponent","PdfStampEditorComponent","pdfJsVersion","clickEvent","MouseEvent","PdfTextEditorComponent","PdfEditorComponent","PdfEvenSpreadComponent","spreadMode","PdfFindButtonComponent","findBar","opened","PdfHandToolComponent","tool","ScrollMode","VERTICAL","HORIZONTAL","WRAPPED","PAGE","INFINITE","PdfHorizontalScrollComponent","PdfInfiniteScrollComponent","PdfNoSpreadComponent","PdfOddSpreadComponent","PdfOpenFileComponent","PdfFirstPageComponent","disableFirstPage","firstPage","PdfLastPageComponent","disableLastPage","lastPage","PdfNextPageComponent","PdfPageNumberComponent","PdfPreviousPageComponent","PdfPagingAreaComponent","PdfPresentationModeComponent","PdfPrintComponent","PdfRotatePageCwComponent","clockwise","counterClockwise","PdfRotatePageCcwComponent","PdfSelectToolComponent","showSelectToolButton","PdfSinglePageModeComponent","PdfToggleSecondaryToolbarComponent","PdfToggleSidebarComponent","showChange","newVisibility","pdfSidebar","PdfVerticalScrollModeComponent","PdfWrappedScrollModeComponent","PdfZoomDropdownComponent","_zoomLevels","levels","valueToZoomLevel","sizeSelector","numericalValue","snakeToCamel","percentage","percentageAsString","i1$1","PdfZoomInComponent","eventListener","maxZoom","PdfZoomOutComponent","minZoom","PdfZoomToolbarComponent","PdfToolbarComponent","defaultToolbar_r3","TranslatePipe","englishText","_this16","NgxExtendedPdfViewerComponent","platformLocation","pdfScriptLoaderService","keyboardManager","formSupport","dummyComponents","annotationEditorEvent","customPdfViewer","enableDragAndDrop","initialAngularFormData","disableForms","_pageViewMode","srcChangeTriggeredByUser","viewMode","mustRedraw","handleViewMode","redrawViewer","handleInfiniteScrollMode","handleSinglePageMode","handleBookMode","handleMultiplePageMode","dynamicCSSComponent","showBorders","ngx","viewerContainer","openPDF2","secondaryToolbarComponent","sidebarComponent","_src","srcChange","_scrollMode","scrollModeChange","authorization","httpHeaders","contextMenuAllowed","afterPrint","beforePrint","currentZoomFactor","previousZoom","relativeCoordsOptions","minifiedJSLibraries","rotationChange","annotationLayerRendered","annotationEditorLayerRendered","xfaLayerRendered","outlineLoaded","attachmentsloaded","layersloaded","_this17","convertBlobToUint8Array","openPDF","arrayBuffer","base64Src","binary_string","_height","filenameForDownload","localeFolderPath","listenToURL","nameddest","password","replaceBrowserPrint","originalPrint","_showSidebarButton","startTabindex","factor","_mobileFriendlyZoom","_sidebarVisible","sidebarVisibleChange","activeSidebarView","switchView","activeSidebarViewChange","findbarVisibleChange","propertiesDialogVisible","propertiesDialogVisibleChange","theme","showToolbar","showRotateButton","_handTool","handToolChange","showScrollingButtons","_page","newPageNumber","pageChange","pageLabel","pageLabelChange","pagesLoaded","pageRender","pageRendered","pdfDownloaded","pdfLoaded","pdfLoadingStarts","pdfLoadingFailed","textLayerRendered","annotationEditorModeChanged","updateFindMatchesCount","updateFindState","zoomChange","toolbarElement","mobileFriendlyZoom","fullVersion","calcViewerPositionTop","findButton","containerPositionLeft","findButtonPosition","reportSourceChanges","sourcefile","appConfig","guessFilenameFromUrl","_this18","hideToolbarIfItIsEmpty","addTranslationsUnlessProvidedByTheUser","waitUntilOldComponentIsGone","doInitPDFViewer","_this19","assignTabindexes","showElementsRecursively","collectElementPositions","sorted","topRightGreaterThanBottomLeftComparator","elementAndPos","afterPrintListener","beforePrintListener","slash","overrideDefaultSettings","onLoaded","afterLibraryInit","doReplaceBrowserPrint","activateTextlayerIfNecessary","initResizeObserver","isViewerEmbedded","printKeyDownListener","topLevelElements","pc","isPrimaryMenuVisible","toggleVisibility","setTextLayerMode","_this20","optionsToIgnore","setZoom","_this21","serviceWorkerOptions","registerEventListeners","selectCursorTool","pdfLinkService","setHash","Authorization","_this22","pagesRotation","goToDestination","currentPageLabel","presetValue","previousScale","previousPresetValue","fileInput","pdfLoadedEvent","scrollSignatureWarningIntoView","pdfDocumentProperties","enableOrDisableForms","destroyBookMode","matchesCount","_pageMatches","matchesLength","_pageMatchesLength","_this23","stopRendering","pdfThumbnailViewer","resetModified","byteLength","useCustomPrintOfPdfJS","_this24","ngxConsole","registerAcroformAnnotations","setFormValue","assignFormIdAndFieldName","bus","unbindWindowEvents","_cleanup","PDFViewerApplicationConstants","_this25","closeDocument","zoomEvent","_transport","messageHandler","_this26","openFileInput","_this27","zoomAsNumber","userSetting","scaleDropdownField","currentScaleValue","onContextMenu","pageHasVisibleSignature","signature","fieldType","_this28","scrollBy","_this29","desiredCenterY","currentScale","scaleCorrectionFactor","doNotEnable","xfaLayers","acroFormLayers","layer","defaultPdfViewer_r4","defaultModules","indent","font","align","QUILL_CONFIG_TOKEN","takeUntilDestroyed","QuillEditorComponent_Conditional_0_Template","QuillEditorComponent_Conditional_4_Template","getFormat","configFormat","raf$","rafId","QuillService","quill$","Quill","maybePatchedAddEventListener","quillImport","customOptions","customOption","newCustomOption","import","suppressGlobalRegisterWarning","registerCustomModules","customModules","registeredModules","getQuill","customModule","maybeImplementation","QuillEditorBase","readOnly","customToolbarPosition","bounds","trimOnValidation","linkPlaceholder","compareValues","filterNull","defaultEmptyValue","onEditorCreated","onEditorChanged","onContentChanged","onSelectionChanged","onFocus","onBlur","onNativeFocus","onNativeBlur","toolbarPosition","quillSubscription","domSanitizer","valueGetter","quillEditor","getSemanticHTML","isEmptyValue","modelValue","getContents","valueSetter","clipboard","convert","selectionChangeHandler","oldRange","shouldTriggerOnModelTouched","onModelTouched","editor","textChangeHandler","oldDelta","shouldTriggerOnModelChange","onModelChange","editorChangeHandler","old","normalizeClassNames","cur","trimmed","editorElem","toolbarElem","scroll","domNode","getModule","tooltip","dataset","setContents","addQuillEventListeners","onValidatorChanged","currentStyling","previousStyling","currentClasses","previousClasses","currentEditorValue","textLength","deltaOperations","onlyEmptyOperation","minLengthError","given","maxLengthError","requiredError","textChange$","editorChange$","ɵQuillEditorComponent_BaseFactory","strict","asyncGeneratorStep","_throw","decorators","decorate","awaitReturn","fulfill","settle","__values","SuppressedError"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/animations/fesm2022/browser.mjs","./node_modules/@angular/platform-browser/fesm2022/animations.mjs","./source/app/configuration/guards/operator-selected.guard.ts","./source/app/configuration/guards/rideops-key-set.guard.ts","./source/app/app-routing.module.ts","./source/app/configuration/guards/rideops-key-not-set.guard.ts","./source/app/app.component.ts","./source/app/app.component.html","./source/app/configuration/extensions.ts","./source/app/configuration/interceptors/index.ts","./source/app/configuration/interceptors/auth.interceptor.ts","./source/app/configuration/raygun-error-handler.ts","./source/app/configuration/transloco/transloco-root.module.ts","./source/app/configuration/transloco/transloco.preload.ts","./node_modules/@ionic/storage-angular/fesm2020/ionic-storage-angular.mjs","./source/app/features/assignments/modals/assignment-modal.module.ts","./source/app/app.module.ts","./source/app/components/avatar/avatar.component.ts","./source/app/modals/scanner/scanner.module.ts","./source/app/modals/signature/signature.module.ts","./source/app/modals/file-uploads/file-uploads.module.ts","./source/app/modals/image-viewer/image-viewer.module.ts","./source/app/modals/text-editor/text-editor.component.ts","./source/app/modals/text-editor/text-editor.component.html","./source/app/modals/text-editor/text-editor-modal.service.ts","./source/app/modals/text-editor/text-editor.module.ts","./source/app/components/components.module.ts","./source/app/components/current-user/current-user.component.html","./source/app/components/current-user/current-user.component.ts","./source/app/components/environment-bar/environment-bar.component.html","./source/app/components/environment-bar/environment-bar.component.ts","./source/app/components/grouping/grouping.component.ts","./source/app/components/last-updated/last-updated.component.html","./source/app/components/last-updated/last-updated.component.ts","./source/app/components/last-updated/last-updated.module.ts","./source/app/modals/close-location/close-location.component.html","./source/app/modals/close-location/close-location.component.ts","./source/app/modals/down-location/down-location.component.html","./source/app/modals/down-location/down-location.component.ts","./source/app/components/location-status/location-status.component.html","./source/app/components/location-status/location-status.component.ts","./source/app/components/menu-bar/menu-bar.component.html","./source/app/components/menu-bar/menu-bar.component.ts","./source/app/components/number-grid/number-grid.component.html","./source/app/components/number-grid/number-grid.component.ts","./source/app/components/number-selector/number-selector.component.ts","./source/app/components/number-selector/number-selector.component.html","./source/app/components/offline-message/offline-message.component.html","./source/app/components/offline-message/offline-message.component.ts","./source/app/components/operator-login/modals/operator-login.modal.ts","./source/app/components/operator-login/operator-login.component.ts","./source/app/components/operator-login/operator-login.component.html","./source/app/components/pin-code-input/pin-code-input.component.html","./source/app/components/pin-code-input/pin-code-input.component.ts","./source/app/components/settings/settings.component.html","./source/app/components/settings/settings.component.ts","./source/app/components/statistics/statistics-number.component.html","./source/app/components/statistics/statistics-number.component.ts","./source/app/components/statistics/statistics-time.component.html","./source/app/components/statistics/statistics-time.component.ts","./source/app/components/statistics/statistics.component.html","./source/app/components/statistics/statistics.component.ts","./source/app/components/statistics/statistics.types.ts","./source/app/configuration/directives/directives.module.ts","./source/app/configuration/directives/ng-let.directive.ts","./source/app/configuration/services/api.service.ts","./source/app/configuration/services/factoryreset.service.ts","./source/app/configuration/services/idle.service.ts","./node_modules/rxjs/dist/esm/internal/operators/throttleTime.js","./node_modules/rxjs/dist/esm/internal/operators/throttle.js","./node_modules/@capacitor/core/dist/index.js","./node_modules/@capacitor/camera/dist/esm/definitions.js","./node_modules/@capacitor/camera/dist/esm/web.js","./node_modules/@capacitor/camera/dist/esm/index.js","./source/app/configuration/services/image.service.ts","./source/app/configuration/services/language.service.ts","./source/app/configuration/services/location-change.service.ts","./source/app/configuration/services/operator.service.ts","./source/app/configuration/services/raygun.service.ts","./source/app/configuration/services/storage.service.ts","./source/app/configuration/services/update.service.ts","./source/app/configuration/services/utility.service.ts","./source/app/configuration/state/action.model.ts","./source/app/configuration/state/actions.service.ts","./source/app/configuration/state/actions.store.ts","./source/app/configuration/state/environment.query.ts","./source/app/configuration/state/environment.state.ts","./source/app/configuration/state/environment.store.ts","./source/app/configuration/state/file-translations.service.ts","./source/app/configuration/state/file-translations.store.ts","./source/app/configuration/state/file-uploads.query.ts","./source/app/configuration/state/file-uploads.service.ts","./source/app/configuration/state/file-uploads.store.ts","./source/app/configuration/state/location-state.query.ts","./source/app/configuration/services/alert.service.ts","./source/app/configuration/state/location-state.service.ts","./source/app/configuration/state/location-state.store.ts","./source/app/configuration/state/elf-migration.ts","./source/app/configuration/state/ui.query.ts","./source/app/configuration/state/ui.service.ts","./source/app/configuration/state/ui.store.ts","./source/app/features/assignments/modals/assignee-picker/assignee-picker.modal.component.html","./source/app/features/assignments/modals/assignee-picker/assignee-picker.modal.component.ts","./source/app/features/assignments/modals/assignee-picker/assignee-picker.modal.service.ts","./node_modules/date-fns/_lib/addLeadingZeros.mjs","./node_modules/date-fns/formatISO.mjs","./node_modules/date-fns-tz/dist/esm/_lib/tzTokenizeDate/index.js","./node_modules/date-fns-tz/dist/esm/_lib/newDateUTC/index.js","./node_modules/date-fns-tz/dist/esm/_lib/tzParseTimezone/index.js","./node_modules/date-fns-tz/dist/esm/_lib/getTimezoneOffsetInMilliseconds/index.js","./node_modules/date-fns-tz/dist/esm/_lib/tzPattern/index.js","./node_modules/date-fns-tz/dist/esm/toDate/index.js","./node_modules/date-fns-tz/dist/esm/toZonedTime/index.js","./source/app/features/assignments/services/assignment.form.service.ts","./node_modules/date-fns-tz/dist/esm/fromZonedTime/index.js","./source/app/features/assignments/components/assignment-assignees/assignment-assignees.component.html","./source/app/features/assignments/components/assignment-assignees/assignment-assignees.component.ts","./source/app/features/assignments/components/assignment-asset/assignment-asset.component.html","./source/app/features/assignments/components/assignment-asset/assignment-asset.component.ts","./source/app/features/assignments/components/assignment-solution/assignment-solution.component.html","./source/app/features/assignments/components/assignment-solution/assignment-solution.component.ts","./source/app/features/assignments/modals/assignment-modal.component.html","./source/app/features/assignments/modals/assignment-modal.component.ts","./source/app/features/assignments/modals/assignment-modal.service.ts","./source/app/features/assignments/modals/solution-details/solution-details.modal.component.html","./source/app/features/assignments/modals/solution-details/solution-details.modal.component.ts","./source/app/features/assignments/modals/solution-details/solution-details.modal.service.ts","./node_modules/date-fns/endOfDay.mjs","./node_modules/date-fns/addDays.mjs","./source/app/features/assignments/services/assignment.service.ts","./source/app/features/checklists/checklist.models.ts","./node_modules/ssr-window/ssr-window.esm.js","./node_modules/dom7/dom7.esm.js","./node_modules/swiper/shared/dom.js","./node_modules/swiper/shared/utils.js","./node_modules/swiper/shared/get-support.js","./node_modules/swiper/shared/get-device.js","./node_modules/swiper/shared/get-browser.js","./node_modules/swiper/core/transition/transitionEmit.js","./node_modules/swiper/core/events/onTouchStart.js","./node_modules/swiper/core/events/onTouchMove.js","./node_modules/swiper/core/events/onTouchEnd.js","./node_modules/swiper/core/events/onResize.js","./node_modules/swiper/core/events/onClick.js","./node_modules/swiper/core/events/onScroll.js","./node_modules/swiper/core/events/index.js","./node_modules/swiper/core/breakpoints/setBreakpoint.js","./node_modules/swiper/core/defaults.js","./node_modules/swiper/core/moduleExtendParams.js","./node_modules/swiper/core/core.js","./node_modules/swiper/core/events-emitter.js","./node_modules/swiper/core/update/index.js","./node_modules/swiper/core/update/updateSize.js","./node_modules/swiper/core/update/updateSlides.js","./node_modules/swiper/core/update/updateAutoHeight.js","./node_modules/swiper/core/update/updateSlidesOffset.js","./node_modules/swiper/core/update/updateSlidesProgress.js","./node_modules/swiper/core/update/updateProgress.js","./node_modules/swiper/core/update/updateSlidesClasses.js","./node_modules/swiper/core/update/updateActiveIndex.js","./node_modules/swiper/core/update/updateClickedSlide.js","./node_modules/swiper/core/translate/index.js","./node_modules/swiper/core/translate/getTranslate.js","./node_modules/swiper/core/translate/setTranslate.js","./node_modules/swiper/core/translate/minTranslate.js","./node_modules/swiper/core/translate/maxTranslate.js","./node_modules/swiper/core/translate/translateTo.js","./node_modules/swiper/core/transition/index.js","./node_modules/swiper/core/transition/setTransition.js","./node_modules/swiper/core/transition/transitionStart.js","./node_modules/swiper/core/transition/transitionEnd.js","./node_modules/swiper/core/slide/index.js","./node_modules/swiper/core/slide/slideTo.js","./node_modules/swiper/core/slide/slideToLoop.js","./node_modules/swiper/core/slide/slideNext.js","./node_modules/swiper/core/slide/slidePrev.js","./node_modules/swiper/core/slide/slideReset.js","./node_modules/swiper/core/slide/slideToClosest.js","./node_modules/swiper/core/slide/slideToClickedSlide.js","./node_modules/swiper/core/loop/index.js","./node_modules/swiper/core/loop/loopCreate.js","./node_modules/swiper/core/loop/loopFix.js","./node_modules/swiper/core/loop/loopDestroy.js","./node_modules/swiper/core/grab-cursor/index.js","./node_modules/swiper/core/grab-cursor/setGrabCursor.js","./node_modules/swiper/core/grab-cursor/unsetGrabCursor.js","./node_modules/swiper/core/breakpoints/index.js","./node_modules/swiper/core/breakpoints/getBreakpoint.js","./node_modules/swiper/core/check-overflow/index.js","./node_modules/swiper/core/classes/index.js","./node_modules/swiper/core/classes/addClasses.js","./node_modules/swiper/core/classes/removeClasses.js","./node_modules/swiper/core/images/index.js","./node_modules/swiper/core/images/loadImage.js","./node_modules/swiper/core/images/preloadImages.js","./node_modules/swiper/core/modules/resize/resize.js","./node_modules/swiper/core/modules/observer/observer.js","./node_modules/swiper/shared/create-element-if-not-defined.js","./node_modules/swiper/shared/classes-to-selector.js","./node_modules/swiper/angular/fesm2015/swiper_angular.mjs","./source/app/features/checklists/components/checklist.component.html","./source/app/features/checklists/components/checklist.component.ts","./source/app/features/checklists/components/shared/documentation/documentation.component.html","./source/app/features/checklists/components/shared/documentation/documentation.component.ts","./source/app/features/checklists/components/elements/element-template.component.html","./source/app/features/checklists/components/elements/element-template.component.ts","./source/app/features/checklists/components/shared/reference-images/reference-images.component.html","./source/app/features/checklists/components/shared/reference-images/reference-images.component.ts","./source/app/features/checklists/components/elements/image-element/image-element.component.html","./source/app/features/checklists/components/elements/image-element/image-element.component.ts","./source/app/features/checklists/components/elements/text-element/text-element.component.html","./source/app/features/checklists/components/elements/text-element/text-element.component.ts","./source/app/configuration/services/position.service.ts","./source/app/features/checklists/components/questions/question.component.ts","./source/app/features/checklists/components/shared/comment/comment.component.html","./source/app/features/checklists/components/shared/comment/comment.component.ts","./source/app/features/checklists/components/shared/assignments/assignments.component.html","./source/app/features/checklists/components/shared/assignments/assignments.component.ts","./source/app/features/checklists/components/questions/question-template.component.html","./source/app/features/checklists/components/questions/question-template.component.ts","./source/app/features/checklists/components/questions/date-question/date-time-question.component.html","./source/app/features/checklists/components/questions/date-question/date-time-question.component.ts","./source/app/features/checklists/components/questions/number-question/number-question.component.html","./source/app/features/checklists/components/questions/number-question/number-question.component.ts","./source/app/features/checklists/components/questions/slider-question/slider-question.component.ts","./source/app/features/checklists/components/questions/slider-question/slider-question.component.html","./source/app/features/checklists/components/questions/select-question/select-question.component.html","./source/app/features/checklists/components/questions/select-question/select-question.component.ts","./source/app/features/checklists/components/questions/text-question/text-question.component.ts","./source/app/features/checklists/components/questions/text-question/text-question.component.html","./source/app/features/checklists/components/questions/email-question/email-question.component.ts","./source/app/features/checklists/components/questions/email-question/email-question.component.html","./source/app/features/checklists/components/questions/unknown-question/unknown-question.component.ts","./source/app/features/checklists/components/questions/unknown-question/unknown-question.component.html","./source/app/features/checklists/components/questions/image-question/image-question.component.html","./source/app/features/checklists/components/questions/image-question/image-question.component.ts","./source/app/features/checklists/components/questions/scanner-question/scanner-question.component.html","./source/app/features/checklists/components/questions/scanner-question/scanner-question.component.ts","./source/app/features/checklists/components/questions/duation-question/duration-question.component.html","./source/app/features/checklists/components/questions/duation-question/duration-question.component.ts","./source/app/animations.ts","./source/app/configuration/services/notification.service.ts","./source/app/components/file-upload/file-upload.component.html","./source/app/components/file-upload/file-upload.component.ts","./source/app/features/checklists/components/questions/signature-question/signature-question.component.html","./source/app/features/checklists/components/questions/signature-question/signature-question.component.ts","./source/app/features/checklists/components/shared/pagination/pagination.component.html","./source/app/features/checklists/components/shared/pagination/pagination.component.ts","./source/app/features/checklists/components/elements/select-question-group-element/select-question-group-element.component.ts","./source/app/features/checklists/components/elements/select-question-group-element/select-question-group-element.component.html","./source/app/features/checklists/checklist.module.ts","./node_modules/swiper/modules/pagination/pagination.js","./node_modules/swiper/modules/navigation/navigation.js","./source/app/features/checklists/components/shared/attachments/attachments.component.html","./source/app/features/checklists/components/shared/attachments/attachments.component.ts","./source/app/configuration/services/loading.service.ts","./source/app/configuration/state/file-translations.query.ts","./source/app/features/checklists/services/checklist.service.ts","./source/app/configuration/errors/exhaustive-error.ts","./node_modules/date-fns/isBefore.mjs","./source/app/configuration/utils.ts","./source/app/features/checklists/services/logic.service.ts","./source/app/features/checklists/services/logic/answer-condition.ts","./source/app/features/checklists/services/logic/date-time-condition.ts","./source/app/features/checklists/services/logic/property-condition.ts","./source/app/features/checklists/services/logic/state-condition.ts","./source/app/features/checklists/services/logic/membership-condition.ts","./source/app/features/checklists/services/logic/visibility-condition.ts","./source/app/features/checklists/modals/checklist-modal.component.html","./source/app/features/checklists/modals/checklist-modal.component.ts","./source/app/features/checklists/modals/checklist-modal.service.ts","./source/app/features/checklists/services/unsupported-questions.service.ts","./source/app/features/checklists/state/checklist-progress-state.query.ts","./source/app/features/checklists/state/checklist-progress-state.service.ts","./source/app/features/checklists/state/checklist-progress-state.store.ts","./source/app/features/checklists/state/checklist-state.query.ts","./source/app/features/checklists/state/checklist-state.service.ts","./node_modules/date-fns/addMinutes.mjs","./source/app/features/checklists/state/checklist-state.store.ts","./source/app/features/dashboard/widgets/queue-widget-settings.component.ts","./source/app/features/dashboard/widgets/queue-widget.component.html","./source/app/features/dashboard/widgets/queue-widget.component.ts","./source/app/features/notes/components/note-template.component.html","./source/app/features/notes/components/note-template.component.ts","./source/app/features/operators/modals/user-picker.component.html","./source/app/features/operators/modals/user-picker.component.ts","./source/app/features/operators/modals/user-picker.modal.ts","./source/app/modals/asset-picker/asset-picker.modal.component.html","./source/app/modals/asset-picker/asset-picker.modal.component.ts","./source/app/modals/asset-picker/asset-picker.modal.service.ts","./source/app/modals/change-pin-code/change-pin-code.component.html","./source/app/modals/change-pin-code/change-pin-code.component.ts","./source/app/modals/change-pin-code/change-pin-code.modal.ts","./source/app/modals/file-uploads/file-uploads.component.ts","./source/app/modals/file-uploads/file-uploads.component.html","./source/app/modals/file-uploads/file-uploads-modal-service.ts","./source/app/modals/image-viewer/image-viewer.component.ts","./source/app/modals/image-viewer/image-viewer.component.html","./source/app/modals/image-viewer/image-viewer.modal.service.ts","./source/app/modals/language-picker/language-picker.modal.ts","./source/app/modals/language-picker/language-picker.module.ts","./source/app/configuration/directives/auto-focus.directive.ts","./source/app/modals/note-editor/note-editor.component.html","./source/app/modals/note-editor/note-editor.component.ts","./node_modules/html5-qrcode/esm/core.js","./node_modules/html5-qrcode/esm/strings.js","./node_modules/html5-qrcode/esm/utils.js","./node_modules/html5-qrcode/esm/zxing-html5-qrcode-decoder.js","./node_modules/html5-qrcode/esm/native-bar-code-detector.js","./node_modules/html5-qrcode/esm/code-decoder.js","./node_modules/html5-qrcode/esm/camera/core-impl.js","./node_modules/html5-qrcode/esm/camera/factories.js","./node_modules/html5-qrcode/esm/camera/retriever.js","./node_modules/html5-qrcode/esm/state-manager.js","./node_modules/html5-qrcode/esm/html5-qrcode.js","./node_modules/html5-qrcode/esm/image-assets.js","./node_modules/html5-qrcode/esm/storage.js","./node_modules/html5-qrcode/esm/ui.js","./node_modules/html5-qrcode/esm/camera/permissions.js","./node_modules/html5-qrcode/esm/ui/scanner/scan-type-selector.js","./node_modules/html5-qrcode/esm/ui/scanner/base.js","./node_modules/html5-qrcode/esm/ui/scanner/torch-button.js","./node_modules/html5-qrcode/esm/ui/scanner/file-selection-ui.js","./node_modules/html5-qrcode/esm/ui/scanner/camera-selection-ui.js","./node_modules/html5-qrcode/esm/ui/scanner/camera-zoom-ui.js","./node_modules/html5-qrcode/esm/html5-qrcode-scanner.js","./source/app/modals/scanner/scanner.component.html","./source/app/modals/scanner/scanner.component.ts","./source/app/modals/scanner/scanner-modal.service.ts","./node_modules/signature_pad/dist/signature_pad.js","./source/app/modals/signature/signature.component.ts","./source/app/modals/signature/signature.component.html","./source/app/modals/signature/signature-modal.service.ts","./source/app/modals/value-picker/value-picker-modal.service.ts","./source/app/modals/value-picker/value-picker.component.html","./source/app/modals/value-picker/value-picker.component.ts","./source/app/modals/value-picker/value-picker.module.ts","./source/app/modals/video-player/video-player.component.html","./source/app/modals/video-player/video-player.component.ts","./source/app/modals/video-player/video-player-modal.service.ts","./source/app/modals/video-player/video-player.module.ts","./source/app/models/time-span.model.ts","./source/environments/environment.prod.ts","./source/main.ts","./node_modules/@ionic/pwa-elements/dist/esm/loader.js","./node_modules/@ionic/core/components/index6.js","./node_modules/@ionic/core/components/index2.js","./node_modules/@ionic/core/components/ionic-global.js","./node_modules/@ionic/core/dist/esm/animation-eab5a4ca.js","./node_modules/@ionic/core/dist/esm/config-49c88215.js","./node_modules/@ionic/core/dist/esm/framework-delegate-63d1a679.js","./node_modules/@ionic/core/dist/esm/gesture-controller-314a54f6.js","./node_modules/@ionic/core/dist/esm/hardware-back-button-06ef3c3e.js","./node_modules/@ionic/core/dist/esm/helpers-da915de8.js","./node_modules/@ionic/core/dist/esm/index-24b48b06.js","./node_modules/@ionic/core/dist/esm/index-28849c61.js","./node_modules/@ionic/core/dist/esm/index-39782642.js","./node_modules/@ionic/core/dist/esm/index-3ad7f18b.js","./node_modules/@ionic/core/dist/esm/index-9b0d46f4.js","./node_modules/@ionic/core/dist/esm/index-a5d50daf.js","./node_modules/@ionic/core/dist/esm/ionic-global-c81d82ab.js","./node_modules/@ionic/core/dist/esm/ios.transition-4ee1a3af.js","./node_modules/@ionic/core/dist/esm/md.transition-5106a0d2.js","./node_modules/@ionic/core/dist/esm/overlays-e7b9d6d9.js","./node_modules/@ionic/pwa-elements/dist/esm/index-1c5c47b4.js","./node_modules/@ionic/storage/dist/esm/index.js","./node_modules/@ngneat/elf-entities/index.esm.js","./node_modules/@ngneat/elf-persist-state/index.esm.js","./node_modules/rxjs/dist/esm/internal/operators/skip.js","./node_modules/@ngneat/elf/index.esm.js","./node_modules/backoff-rxjs/dist/esm2015/utils.js","./node_modules/backoff-rxjs/dist/esm2015/operators/retryBackoff.js","./node_modules/rxjs/dist/esm/internal/operators/retryWhen.js","./node_modules/rxjs/dist/esm/internal/observable/iif.js","./node_modules/html5-qrcode/third_party/zxing-js.umd.js","./node_modules/localforage/dist/localforage.js","./node_modules/raygun4js/dist/raygun.umd.js","./node_modules/rxjs/dist/esm/internal/BehaviorSubject.js","./node_modules/rxjs/dist/esm/internal/Observable.js","./node_modules/rxjs/dist/esm/internal/ReplaySubject.js","./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/dist/esm/internal/Subject.js","./node_modules/rxjs/dist/esm/internal/NotificationFactories.js","./node_modules/rxjs/dist/esm/internal/Subscriber.js","./node_modules/rxjs/dist/esm/internal/util/UnsubscriptionError.js","./node_modules/rxjs/dist/esm/internal/Subscription.js","./node_modules/rxjs/dist/esm/internal/config.js","./node_modules/rxjs/dist/esm/internal/firstValueFrom.js","./node_modules/rxjs/dist/esm/internal/observable/ConnectableObservable.js","./node_modules/rxjs/dist/esm/internal/observable/combineLatest.js","./node_modules/rxjs/dist/esm/internal/observable/concat.js","./node_modules/rxjs/dist/esm/internal/operators/concatAll.js","./node_modules/rxjs/dist/esm/internal/observable/defer.js","./node_modules/rxjs/dist/esm/internal/observable/empty.js","./node_modules/rxjs/dist/esm/internal/observable/forkJoin.js","./node_modules/rxjs/dist/esm/internal/operators/observeOn.js","./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/observable/from.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/observable/fromEvent.js","./node_modules/rxjs/dist/esm/internal/observable/innerFrom.js","./node_modules/rxjs/dist/esm/internal/observable/interval.js","./node_modules/rxjs/dist/esm/internal/observable/merge.js","./node_modules/rxjs/dist/esm/internal/observable/of.js","./node_modules/rxjs/dist/esm/internal/observable/throwError.js","./node_modules/rxjs/dist/esm/internal/observable/timer.js","./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","./node_modules/rxjs/dist/esm/internal/operators/catchError.js","./node_modules/rxjs/dist/esm/internal/operators/concatMap.js","./node_modules/rxjs/dist/esm/internal/operators/debounceTime.js","./node_modules/rxjs/dist/esm/internal/operators/distinctUntilChanged.js","./node_modules/rxjs/dist/esm/internal/operators/filter.js","./node_modules/rxjs/dist/esm/internal/operators/finalize.js","./node_modules/rxjs/dist/esm/internal/operators/map.js","./node_modules/rxjs/dist/esm/internal/operators/mapTo.js","./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","./node_modules/rxjs/dist/esm/internal/operators/refCount.js","./node_modules/rxjs/dist/esm/internal/operators/share.js","./node_modules/rxjs/dist/esm/internal/operators/shareReplay.js","./node_modules/rxjs/dist/esm/internal/operators/startWith.js","./node_modules/rxjs/dist/esm/internal/operators/switchMap.js","./node_modules/rxjs/dist/esm/internal/operators/take.js","./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","./node_modules/rxjs/dist/esm/internal/operators/tap.js","./node_modules/rxjs/dist/esm/internal/operators/timeout.js","./node_modules/rxjs/dist/esm/internal/scheduler/Action.js","./node_modules/rxjs/dist/esm/internal/scheduler/intervalProvider.js","./node_modules/rxjs/dist/esm/internal/Scheduler.js","./node_modules/rxjs/dist/esm/internal/scheduler/async.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsyncScheduler.js","./node_modules/rxjs/dist/esm/internal/scheduler/AsyncAction.js","./node_modules/rxjs/dist/esm/internal/scheduler/dateTimestampProvider.js","./node_modules/rxjs/dist/esm/internal/scheduler/timeoutProvider.js","./node_modules/rxjs/dist/esm/internal/symbol/iterator.js","./node_modules/rxjs/dist/esm/internal/symbol/observable.js","./node_modules/rxjs/dist/esm/internal/util/EmptyError.js","./node_modules/rxjs/dist/esm/internal/util/args.js","./node_modules/rxjs/dist/esm/internal/util/argsArgArrayOrObject.js","./node_modules/rxjs/dist/esm/internal/util/arrRemove.js","./node_modules/rxjs/dist/esm/internal/util/createErrorClass.js","./node_modules/rxjs/dist/esm/internal/util/createObject.js","./node_modules/rxjs/dist/esm/internal/util/errorContext.js","./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","./node_modules/rxjs/dist/esm/internal/util/identity.js","./node_modules/rxjs/dist/esm/internal/util/isArrayLike.js","./node_modules/rxjs/dist/esm/internal/util/isAsyncIterable.js","./node_modules/rxjs/dist/esm/internal/util/isDate.js","./node_modules/rxjs/dist/esm/internal/util/isFunction.js","./node_modules/rxjs/dist/esm/internal/util/isInteropObservable.js","./node_modules/rxjs/dist/esm/internal/util/isIterable.js","./node_modules/rxjs/dist/esm/internal/util/isObservable.js","./node_modules/rxjs/dist/esm/internal/util/isPromise.js","./node_modules/rxjs/dist/esm/internal/util/isReadableStreamLike.js","./node_modules/rxjs/dist/esm/internal/util/isScheduler.js","./node_modules/rxjs/dist/esm/internal/util/lift.js","./node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js","./node_modules/rxjs/dist/esm/internal/util/noop.js","./node_modules/rxjs/dist/esm/internal/util/pipe.js","./node_modules/rxjs/dist/esm/internal/util/reportUnhandledError.js","./node_modules/rxjs/dist/esm/internal/util/throwUnobservableError.js","./node_modules/uuid/dist/esm-browser/rng.js","./node_modules/uuid/dist/esm-browser/stringify.js","./node_modules/uuid/dist/esm-browser/v4.js","./node_modules/uuid/dist/esm-browser/regex.js","./node_modules/uuid/dist/esm-browser/validate.js","./node_modules/@ionic/core/dist/esm/ lazy ^\\.\\/.*\\.entry\\.js$ include: \\.entry\\.js$ exclude: \\.system\\.entry\\.js$ namespace object","./node_modules/@ionic/pwa-elements/dist/esm/ lazy ^\\.\\/.*\\.entry\\.js$ include: \\.entry\\.js$ exclude: \\.system\\.entry\\.js$ namespace object","./node_modules/@angular/animations/fesm2022/animations.mjs","./node_modules/@angular/common/fesm2022/common.mjs","./node_modules/@angular/common/fesm2022/http.mjs","./node_modules/@angular/core/fesm2022/primitives/signals.mjs","./node_modules/@angular/core/fesm2022/core.mjs","./node_modules/@angular/forms/fesm2022/forms.mjs","./node_modules/@angular/platform-browser/fesm2022/platform-browser.mjs","./node_modules/rxjs/dist/esm/internal/operators/defaultIfEmpty.js","./node_modules/rxjs/dist/esm/internal/operators/throwIfEmpty.js","./node_modules/rxjs/dist/esm/internal/operators/first.js","./node_modules/rxjs/dist/esm/internal/operators/takeLast.js","./node_modules/@angular/router/fesm2022/router.mjs","./node_modules/rxjs/dist/esm/internal/operators/scan.js","./node_modules/rxjs/dist/esm/internal/operators/scanInternals.js","./node_modules/rxjs/dist/esm/internal/operators/last.js","./node_modules/rxjs/dist/esm/internal/observable/never.js","./node_modules/rxjs/dist/esm/internal/operators/connect.js","./node_modules/rxjs/dist/esm/internal/observable/fromSubscribable.js","./node_modules/rxjs/dist/esm/internal/operators/delayWhen.js","./node_modules/rxjs/dist/esm/internal/operators/ignoreElements.js","./node_modules/@angular/service-worker/fesm2022/service-worker.mjs","./node_modules/rxjs/dist/esm/internal/operators/publish.js","./node_modules/rxjs/dist/esm/internal/operators/multicast.js","./node_modules/rxjs/dist/esm/internal/operators/delay.js","./node_modules/@ionic/angular/fesm2022/ionic-angular-common.mjs","./node_modules/@ionic/core/components/helpers.js","./node_modules/@ionic/core/dist/esm/app-globals-5dbb61a5.js","./node_modules/@ionic/core/dist/esm/loader.js","./node_modules/@ionic/angular/fesm2022/ionic-angular.mjs","./node_modules/@ionic/core/dist/esm/polyfills/index.js","./node_modules/flat/index.js","./node_modules/@ngneat/transloco/fesm2022/ngneat-transloco.mjs","./node_modules/rxjs/dist/esm/internal/operators/retry.js","./node_modules/@ngneat/until-destroy/fesm2022/ngneat-until-destroy.mjs","./node_modules/date-fns/addHours.mjs","./node_modules/date-fns/addMilliseconds.mjs","./node_modules/date-fns/constants.mjs","./node_modules/date-fns/constructFrom.mjs","./node_modules/date-fns/isAfter.mjs","./node_modules/date-fns/toDate.mjs","./node_modules/ngx-extended-pdf-viewer/fesm2022/ngx-extended-pdf-viewer.mjs","./node_modules/ngx-quill/fesm2022/ngx-quill-config.mjs","./node_modules/@angular/core/fesm2022/rxjs-interop.mjs","./node_modules/ngx-quill/fesm2022/ngx-quill.mjs","./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","./node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["/**\n * @license Angular v18.2.13\n * (c) 2010-2024 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { ɵAnimationGroupPlayer, NoopAnimationPlayer, AUTO_STYLE, ɵPRE_STYLE, sequence, AnimationMetadataType, style } from '@angular/animations';\nimport * as i0 from '@angular/core';\nimport { ɵRuntimeError, Injectable } from '@angular/core';\n\nconst LINE_START = '\\n - ';\nfunction invalidTimingValue(exp) {\n return new ɵRuntimeError(3000 /* RuntimeErrorCode.INVALID_TIMING_VALUE */, ngDevMode && `The provided timing value \"${exp}\" is invalid.`);\n}\nfunction negativeStepValue() {\n return new ɵRuntimeError(3100 /* RuntimeErrorCode.NEGATIVE_STEP_VALUE */, ngDevMode && 'Duration values below 0 are not allowed for this animation step.');\n}\nfunction negativeDelayValue() {\n return new ɵRuntimeError(3101 /* RuntimeErrorCode.NEGATIVE_DELAY_VALUE */, ngDevMode && 'Delay values below 0 are not allowed for this animation step.');\n}\nfunction invalidStyleParams(varName) {\n return new ɵRuntimeError(3001 /* RuntimeErrorCode.INVALID_STYLE_PARAMS */, ngDevMode &&\n `Unable to resolve the local animation param ${varName} in the given list of values`);\n}\nfunction invalidParamValue(varName) {\n return new ɵRuntimeError(3003 /* RuntimeErrorCode.INVALID_PARAM_VALUE */, ngDevMode && `Please provide a value for the animation param ${varName}`);\n}\nfunction invalidNodeType(nodeType) {\n return new ɵRuntimeError(3004 /* RuntimeErrorCode.INVALID_NODE_TYPE */, ngDevMode && `Unable to resolve animation metadata node #${nodeType}`);\n}\nfunction invalidCssUnitValue(userProvidedProperty, value) {\n return new ɵRuntimeError(3005 /* RuntimeErrorCode.INVALID_CSS_UNIT_VALUE */, ngDevMode && `Please provide a CSS unit value for ${userProvidedProperty}:${value}`);\n}\nfunction invalidTrigger() {\n return new ɵRuntimeError(3006 /* RuntimeErrorCode.INVALID_TRIGGER */, ngDevMode &&\n \"animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))\");\n}\nfunction invalidDefinition() {\n return new ɵRuntimeError(3007 /* RuntimeErrorCode.INVALID_DEFINITION */, ngDevMode && 'only state() and transition() definitions can sit inside of a trigger()');\n}\nfunction invalidState(metadataName, missingSubs) {\n return new ɵRuntimeError(3008 /* RuntimeErrorCode.INVALID_STATE */, ngDevMode &&\n `state(\"${metadataName}\", ...) must define default values for all the following style substitutions: ${missingSubs.join(', ')}`);\n}\nfunction invalidStyleValue(value) {\n return new ɵRuntimeError(3002 /* RuntimeErrorCode.INVALID_STYLE_VALUE */, ngDevMode && `The provided style string value ${value} is not allowed.`);\n}\nfunction invalidProperty(prop) {\n return new ɵRuntimeError(3009 /* RuntimeErrorCode.INVALID_PROPERTY */, ngDevMode &&\n `The provided animation property \"${prop}\" is not a supported CSS property for animations`);\n}\nfunction invalidParallelAnimation(prop, firstStart, firstEnd, secondStart, secondEnd) {\n return new ɵRuntimeError(3010 /* RuntimeErrorCode.INVALID_PARALLEL_ANIMATION */, ngDevMode &&\n `The CSS property \"${prop}\" that exists between the times of \"${firstStart}ms\" and \"${firstEnd}ms\" is also being animated in a parallel animation between the times of \"${secondStart}ms\" and \"${secondEnd}ms\"`);\n}\nfunction invalidKeyframes() {\n return new ɵRuntimeError(3011 /* RuntimeErrorCode.INVALID_KEYFRAMES */, ngDevMode && `keyframes() must be placed inside of a call to animate()`);\n}\nfunction invalidOffset() {\n return new ɵRuntimeError(3012 /* RuntimeErrorCode.INVALID_OFFSET */, ngDevMode && `Please ensure that all keyframe offsets are between 0 and 1`);\n}\nfunction keyframeOffsetsOutOfOrder() {\n return new ɵRuntimeError(3200 /* RuntimeErrorCode.KEYFRAME_OFFSETS_OUT_OF_ORDER */, ngDevMode && `Please ensure that all keyframe offsets are in order`);\n}\nfunction keyframesMissingOffsets() {\n return new ɵRuntimeError(3202 /* RuntimeErrorCode.KEYFRAMES_MISSING_OFFSETS */, ngDevMode && `Not all style() steps within the declared keyframes() contain offsets`);\n}\nfunction invalidStagger() {\n return new ɵRuntimeError(3013 /* RuntimeErrorCode.INVALID_STAGGER */, ngDevMode && `stagger() can only be used inside of query()`);\n}\nfunction invalidQuery(selector) {\n return new ɵRuntimeError(3014 /* RuntimeErrorCode.INVALID_QUERY */, ngDevMode &&\n `\\`query(\"${selector}\")\\` returned zero elements. (Use \\`query(\"${selector}\", { optional: true })\\` if you wish to allow this.)`);\n}\nfunction invalidExpression(expr) {\n return new ɵRuntimeError(3015 /* RuntimeErrorCode.INVALID_EXPRESSION */, ngDevMode && `The provided transition expression \"${expr}\" is not supported`);\n}\nfunction invalidTransitionAlias(alias) {\n return new ɵRuntimeError(3016 /* RuntimeErrorCode.INVALID_TRANSITION_ALIAS */, ngDevMode && `The transition alias value \"${alias}\" is not supported`);\n}\nfunction validationFailed(errors) {\n return new ɵRuntimeError(3500 /* RuntimeErrorCode.VALIDATION_FAILED */, ngDevMode && `animation validation failed:\\n${errors.map((err) => err.message).join('\\n')}`);\n}\nfunction buildingFailed(errors) {\n return new ɵRuntimeError(3501 /* RuntimeErrorCode.BUILDING_FAILED */, ngDevMode && `animation building failed:\\n${errors.map((err) => err.message).join('\\n')}`);\n}\nfunction triggerBuildFailed(name, errors) {\n return new ɵRuntimeError(3404 /* RuntimeErrorCode.TRIGGER_BUILD_FAILED */, ngDevMode &&\n `The animation trigger \"${name}\" has failed to build due to the following errors:\\n - ${errors\n .map((err) => err.message)\n .join('\\n - ')}`);\n}\nfunction animationFailed(errors) {\n return new ɵRuntimeError(3502 /* RuntimeErrorCode.ANIMATION_FAILED */, ngDevMode &&\n `Unable to animate due to the following errors:${LINE_START}${errors\n .map((err) => err.message)\n .join(LINE_START)}`);\n}\nfunction registerFailed(errors) {\n return new ɵRuntimeError(3503 /* RuntimeErrorCode.REGISTRATION_FAILED */, ngDevMode &&\n `Unable to build the animation due to the following errors: ${errors\n .map((err) => err.message)\n .join('\\n')}`);\n}\nfunction missingOrDestroyedAnimation() {\n return new ɵRuntimeError(3300 /* RuntimeErrorCode.MISSING_OR_DESTROYED_ANIMATION */, ngDevMode && \"The requested animation doesn't exist or has already been destroyed\");\n}\nfunction createAnimationFailed(errors) {\n return new ɵRuntimeError(3504 /* RuntimeErrorCode.CREATE_ANIMATION_FAILED */, ngDevMode &&\n `Unable to create the animation due to the following errors:${errors\n .map((err) => err.message)\n .join('\\n')}`);\n}\nfunction missingPlayer(id) {\n return new ɵRuntimeError(3301 /* RuntimeErrorCode.MISSING_PLAYER */, ngDevMode && `Unable to find the timeline player referenced by ${id}`);\n}\nfunction missingTrigger(phase, name) {\n return new ɵRuntimeError(3302 /* RuntimeErrorCode.MISSING_TRIGGER */, ngDevMode &&\n `Unable to listen on the animation trigger event \"${phase}\" because the animation trigger \"${name}\" doesn\\'t exist!`);\n}\nfunction missingEvent(name) {\n return new ɵRuntimeError(3303 /* RuntimeErrorCode.MISSING_EVENT */, ngDevMode &&\n `Unable to listen on the animation trigger \"${name}\" because the provided event is undefined!`);\n}\nfunction unsupportedTriggerEvent(phase, name) {\n return new ɵRuntimeError(3400 /* RuntimeErrorCode.UNSUPPORTED_TRIGGER_EVENT */, ngDevMode &&\n `The provided animation trigger event \"${phase}\" for the animation trigger \"${name}\" is not supported!`);\n}\nfunction unregisteredTrigger(name) {\n return new ɵRuntimeError(3401 /* RuntimeErrorCode.UNREGISTERED_TRIGGER */, ngDevMode && `The provided animation trigger \"${name}\" has not been registered!`);\n}\nfunction triggerTransitionsFailed(errors) {\n return new ɵRuntimeError(3402 /* RuntimeErrorCode.TRIGGER_TRANSITIONS_FAILED */, ngDevMode &&\n `Unable to process animations due to the following failed trigger transitions\\n ${errors\n .map((err) => err.message)\n .join('\\n')}`);\n}\nfunction triggerParsingFailed(name, errors) {\n return new ɵRuntimeError(3403 /* RuntimeErrorCode.TRIGGER_PARSING_FAILED */, ngDevMode &&\n `Animation parsing for the ${name} trigger have failed:${LINE_START}${errors\n .map((err) => err.message)\n .join(LINE_START)}`);\n}\nfunction transitionFailed(name, errors) {\n return new ɵRuntimeError(3505 /* RuntimeErrorCode.TRANSITION_FAILED */, ngDevMode && `@${name} has failed due to:\\n ${errors.map((err) => err.message).join('\\n- ')}`);\n}\n\n/**\n * Set of all animatable CSS properties\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties\n */\nconst ANIMATABLE_PROP_SET = new Set([\n '-moz-outline-radius',\n '-moz-outline-radius-bottomleft',\n '-moz-outline-radius-bottomright',\n '-moz-outline-radius-topleft',\n '-moz-outline-radius-topright',\n '-ms-grid-columns',\n '-ms-grid-rows',\n '-webkit-line-clamp',\n '-webkit-text-fill-color',\n '-webkit-text-stroke',\n '-webkit-text-stroke-color',\n 'accent-color',\n 'all',\n 'backdrop-filter',\n 'background',\n 'background-color',\n 'background-position',\n 'background-size',\n 'block-size',\n 'border',\n 'border-block-end',\n 'border-block-end-color',\n 'border-block-end-width',\n 'border-block-start',\n 'border-block-start-color',\n 'border-block-start-width',\n 'border-bottom',\n 'border-bottom-color',\n 'border-bottom-left-radius',\n 'border-bottom-right-radius',\n 'border-bottom-width',\n 'border-color',\n 'border-end-end-radius',\n 'border-end-start-radius',\n 'border-image-outset',\n 'border-image-slice',\n 'border-image-width',\n 'border-inline-end',\n 'border-inline-end-color',\n 'border-inline-end-width',\n 'border-inline-start',\n 'border-inline-start-color',\n 'border-inline-start-width',\n 'border-left',\n 'border-left-color',\n 'border-left-width',\n 'border-radius',\n 'border-right',\n 'border-right-color',\n 'border-right-width',\n 'border-start-end-radius',\n 'border-start-start-radius',\n 'border-top',\n 'border-top-color',\n 'border-top-left-radius',\n 'border-top-right-radius',\n 'border-top-width',\n 'border-width',\n 'bottom',\n 'box-shadow',\n 'caret-color',\n 'clip',\n 'clip-path',\n 'color',\n 'column-count',\n 'column-gap',\n 'column-rule',\n 'column-rule-color',\n 'column-rule-width',\n 'column-width',\n 'columns',\n 'filter',\n 'flex',\n 'flex-basis',\n 'flex-grow',\n 'flex-shrink',\n 'font',\n 'font-size',\n 'font-size-adjust',\n 'font-stretch',\n 'font-variation-settings',\n 'font-weight',\n 'gap',\n 'grid-column-gap',\n 'grid-gap',\n 'grid-row-gap',\n 'grid-template-columns',\n 'grid-template-rows',\n 'height',\n 'inline-size',\n 'input-security',\n 'inset',\n 'inset-block',\n 'inset-block-end',\n 'inset-block-start',\n 'inset-inline',\n 'inset-inline-end',\n 'inset-inline-start',\n 'left',\n 'letter-spacing',\n 'line-clamp',\n 'line-height',\n 'margin',\n 'margin-block-end',\n 'margin-block-start',\n 'margin-bottom',\n 'margin-inline-end',\n 'margin-inline-start',\n 'margin-left',\n 'margin-right',\n 'margin-top',\n 'mask',\n 'mask-border',\n 'mask-position',\n 'mask-size',\n 'max-block-size',\n 'max-height',\n 'max-inline-size',\n 'max-lines',\n 'max-width',\n 'min-block-size',\n 'min-height',\n 'min-inline-size',\n 'min-width',\n 'object-position',\n 'offset',\n 'offset-anchor',\n 'offset-distance',\n 'offset-path',\n 'offset-position',\n 'offset-rotate',\n 'opacity',\n 'order',\n 'outline',\n 'outline-color',\n 'outline-offset',\n 'outline-width',\n 'padding',\n 'padding-block-end',\n 'padding-block-start',\n 'padding-bottom',\n 'padding-inline-end',\n 'padding-inline-start',\n 'padding-left',\n 'padding-right',\n 'padding-top',\n 'perspective',\n 'perspective-origin',\n 'right',\n 'rotate',\n 'row-gap',\n 'scale',\n 'scroll-margin',\n 'scroll-margin-block',\n 'scroll-margin-block-end',\n 'scroll-margin-block-start',\n 'scroll-margin-bottom',\n 'scroll-margin-inline',\n 'scroll-margin-inline-end',\n 'scroll-margin-inline-start',\n 'scroll-margin-left',\n 'scroll-margin-right',\n 'scroll-margin-top',\n 'scroll-padding',\n 'scroll-padding-block',\n 'scroll-padding-block-end',\n 'scroll-padding-block-start',\n 'scroll-padding-bottom',\n 'scroll-padding-inline',\n 'scroll-padding-inline-end',\n 'scroll-padding-inline-start',\n 'scroll-padding-left',\n 'scroll-padding-right',\n 'scroll-padding-top',\n 'scroll-snap-coordinate',\n 'scroll-snap-destination',\n 'scrollbar-color',\n 'shape-image-threshold',\n 'shape-margin',\n 'shape-outside',\n 'tab-size',\n 'text-decoration',\n 'text-decoration-color',\n 'text-decoration-thickness',\n 'text-emphasis',\n 'text-emphasis-color',\n 'text-indent',\n 'text-shadow',\n 'text-underline-offset',\n 'top',\n 'transform',\n 'transform-origin',\n 'translate',\n 'vertical-align',\n 'visibility',\n 'width',\n 'word-spacing',\n 'z-index',\n 'zoom',\n]);\n\nfunction optimizeGroupPlayer(players) {\n switch (players.length) {\n case 0:\n return new NoopAnimationPlayer();\n case 1:\n return players[0];\n default:\n return new ɵAnimationGroupPlayer(players);\n }\n}\nfunction normalizeKeyframes$1(normalizer, keyframes, preStyles = new Map(), postStyles = new Map()) {\n const errors = [];\n const normalizedKeyframes = [];\n let previousOffset = -1;\n let previousKeyframe = null;\n keyframes.forEach((kf) => {\n const offset = kf.get('offset');\n const isSameOffset = offset == previousOffset;\n const normalizedKeyframe = (isSameOffset && previousKeyframe) || new Map();\n kf.forEach((val, prop) => {\n let normalizedProp = prop;\n let normalizedValue = val;\n if (prop !== 'offset') {\n normalizedProp = normalizer.normalizePropertyName(normalizedProp, errors);\n switch (normalizedValue) {\n case ɵPRE_STYLE:\n normalizedValue = preStyles.get(prop);\n break;\n case AUTO_STYLE:\n normalizedValue = postStyles.get(prop);\n break;\n default:\n normalizedValue = normalizer.normalizeStyleValue(prop, normalizedProp, normalizedValue, errors);\n break;\n }\n }\n normalizedKeyframe.set(normalizedProp, normalizedValue);\n });\n if (!isSameOffset) {\n normalizedKeyframes.push(normalizedKeyframe);\n }\n previousKeyframe = normalizedKeyframe;\n previousOffset = offset;\n });\n if (errors.length) {\n throw animationFailed(errors);\n }\n return normalizedKeyframes;\n}\nfunction listenOnPlayer(player, eventName, event, callback) {\n switch (eventName) {\n case 'start':\n player.onStart(() => callback(event && copyAnimationEvent(event, 'start', player)));\n break;\n case 'done':\n player.onDone(() => callback(event && copyAnimationEvent(event, 'done', player)));\n break;\n case 'destroy':\n player.onDestroy(() => callback(event && copyAnimationEvent(event, 'destroy', player)));\n break;\n }\n}\nfunction copyAnimationEvent(e, phaseName, player) {\n const totalTime = player.totalTime;\n const disabled = player.disabled ? true : false;\n const event = makeAnimationEvent(e.element, e.triggerName, e.fromState, e.toState, phaseName || e.phaseName, totalTime == undefined ? e.totalTime : totalTime, disabled);\n const data = e['_data'];\n if (data != null) {\n event['_data'] = data;\n }\n return event;\n}\nfunction makeAnimationEvent(element, triggerName, fromState, toState, phaseName = '', totalTime = 0, disabled) {\n return { element, triggerName, fromState, toState, phaseName, totalTime, disabled: !!disabled };\n}\nfunction getOrSetDefaultValue(map, key, defaultValue) {\n let value = map.get(key);\n if (!value) {\n map.set(key, (value = defaultValue));\n }\n return value;\n}\nfunction parseTimelineCommand(command) {\n const separatorPos = command.indexOf(':');\n const id = command.substring(1, separatorPos);\n const action = command.slice(separatorPos + 1);\n return [id, action];\n}\nconst documentElement = /* @__PURE__ */ (() => typeof document === 'undefined' ? null : document.documentElement)();\nfunction getParentElement(element) {\n const parent = element.parentNode || element.host || null; // consider host to support shadow DOM\n if (parent === documentElement) {\n return null;\n }\n return parent;\n}\nfunction containsVendorPrefix(prop) {\n // Webkit is the only real popular vendor prefix nowadays\n // cc: http://shouldiprefix.com/\n return prop.substring(1, 6) == 'ebkit'; // webkit or Webkit\n}\nlet _CACHED_BODY = null;\nlet _IS_WEBKIT = false;\nfunction validateStyleProperty(prop) {\n if (!_CACHED_BODY) {\n _CACHED_BODY = getBodyNode() || {};\n _IS_WEBKIT = _CACHED_BODY.style ? 'WebkitAppearance' in _CACHED_BODY.style : false;\n }\n let result = true;\n if (_CACHED_BODY.style && !containsVendorPrefix(prop)) {\n result = prop in _CACHED_BODY.style;\n if (!result && _IS_WEBKIT) {\n const camelProp = 'Webkit' + prop.charAt(0).toUpperCase() + prop.slice(1);\n result = camelProp in _CACHED_BODY.style;\n }\n }\n return result;\n}\nfunction validateWebAnimatableStyleProperty(prop) {\n return ANIMATABLE_PROP_SET.has(prop);\n}\nfunction getBodyNode() {\n if (typeof document != 'undefined') {\n return document.body;\n }\n return null;\n}\nfunction containsElement(elm1, elm2) {\n while (elm2) {\n if (elm2 === elm1) {\n return true;\n }\n elm2 = getParentElement(elm2);\n }\n return false;\n}\nfunction invokeQuery(element, selector, multi) {\n if (multi) {\n return Array.from(element.querySelectorAll(selector));\n }\n const elem = element.querySelector(selector);\n return elem ? [elem] : [];\n}\nfunction hypenatePropsKeys(original) {\n const newMap = new Map();\n original.forEach((val, prop) => {\n const newProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2');\n newMap.set(newProp, val);\n });\n return newMap;\n}\n\n/**\n * @publicApi\n *\n * `AnimationDriver` implentation for Noop animations\n */\nclass NoopAnimationDriver {\n /**\n * @returns Whether `prop` is a valid CSS property\n */\n validateStyleProperty(prop) {\n return validateStyleProperty(prop);\n }\n /**\n *\n * @returns Whether elm1 contains elm2.\n */\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n /**\n * @returns Rhe parent of the given element or `null` if the element is the `document`\n */\n getParentElement(element) {\n return getParentElement(element);\n }\n /**\n * @returns The result of the query selector on the element. The array will contain up to 1 item\n * if `multi` is `false`.\n */\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n /**\n * @returns The `defaultValue` or empty string\n */\n computeStyle(element, prop, defaultValue) {\n return defaultValue || '';\n }\n /**\n * @returns An `NoopAnimationPlayer`\n */\n animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {\n return new NoopAnimationPlayer(duration, delay);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.13\", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"18.2.13\", ngImport: i0, type: NoopAnimationDriver }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.13\", ngImport: i0, type: NoopAnimationDriver, decorators: [{\n type: Injectable\n }] });\n/**\n * @publicApi\n */\nclass AnimationDriver {\n /**\n * @deprecated Use the NoopAnimationDriver class.\n */\n static { this.NOOP = new NoopAnimationDriver(); }\n}\n\nclass AnimationStyleNormalizer {\n}\nclass NoopAnimationStyleNormalizer {\n normalizePropertyName(propertyName, errors) {\n return propertyName;\n }\n normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n return value;\n }\n}\n\nconst ONE_SECOND = 1000;\nconst SUBSTITUTION_EXPR_START = '{{';\nconst SUBSTITUTION_EXPR_END = '}}';\nconst ENTER_CLASSNAME = 'ng-enter';\nconst LEAVE_CLASSNAME = 'ng-leave';\nconst NG_TRIGGER_CLASSNAME = 'ng-trigger';\nconst NG_TRIGGER_SELECTOR = '.ng-trigger';\nconst NG_ANIMATING_CLASSNAME = 'ng-animating';\nconst NG_ANIMATING_SELECTOR = '.ng-animating';\nfunction resolveTimingValue(value) {\n if (typeof value == 'number')\n return value;\n const matches = value.match(/^(-?[\\.\\d]+)(m?s)/);\n if (!matches || matches.length < 2)\n return 0;\n return _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n}\nfunction _convertTimeValueToMS(value, unit) {\n switch (unit) {\n case 's':\n return value * ONE_SECOND;\n default: // ms or something else\n return value;\n }\n}\nfunction resolveTiming(timings, errors, allowNegativeValues) {\n return timings.hasOwnProperty('duration')\n ? timings\n : parseTimeExpression(timings, errors, allowNegativeValues);\n}\nfunction parseTimeExpression(exp, errors, allowNegativeValues) {\n const regex = /^(-?[\\.\\d]+)(m?s)(?:\\s+(-?[\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?$/i;\n let duration;\n let delay = 0;\n let easing = '';\n if (typeof exp === 'string') {\n const matches = exp.match(regex);\n if (matches === null) {\n errors.push(invalidTimingValue(exp));\n return { duration: 0, delay: 0, easing: '' };\n }\n duration = _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n const delayMatch = matches[3];\n if (delayMatch != null) {\n delay = _convertTimeValueToMS(parseFloat(delayMatch), matches[4]);\n }\n const easingVal = matches[5];\n if (easingVal) {\n easing = easingVal;\n }\n }\n else {\n duration = exp;\n }\n if (!allowNegativeValues) {\n let containsErrors = false;\n let startIndex = errors.length;\n if (duration < 0) {\n errors.push(negativeStepValue());\n containsErrors = true;\n }\n if (delay < 0) {\n errors.push(negativeDelayValue());\n containsErrors = true;\n }\n if (containsErrors) {\n errors.splice(startIndex, 0, invalidTimingValue(exp));\n }\n }\n return { duration, delay, easing };\n}\nfunction normalizeKeyframes(keyframes) {\n if (!keyframes.length) {\n return [];\n }\n if (keyframes[0] instanceof Map) {\n return keyframes;\n }\n return keyframes.map((kf) => new Map(Object.entries(kf)));\n}\nfunction normalizeStyles(styles) {\n return Array.isArray(styles) ? new Map(...styles) : new Map(styles);\n}\nfunction setStyles(element, styles, formerStyles) {\n styles.forEach((val, prop) => {\n const camelProp = dashCaseToCamelCase(prop);\n if (formerStyles && !formerStyles.has(prop)) {\n formerStyles.set(prop, element.style[camelProp]);\n }\n element.style[camelProp] = val;\n });\n}\nfunction eraseStyles(element, styles) {\n styles.forEach((_, prop) => {\n const camelProp = dashCaseToCamelCase(prop);\n element.style[camelProp] = '';\n });\n}\nfunction normalizeAnimationEntry(steps) {\n if (Array.isArray(steps)) {\n if (steps.length == 1)\n return steps[0];\n return sequence(steps);\n }\n return steps;\n}\nfunction validateStyleParams(value, options, errors) {\n const params = options.params || {};\n const matches = extractStyleParams(value);\n if (matches.length) {\n matches.forEach((varName) => {\n if (!params.hasOwnProperty(varName)) {\n errors.push(invalidStyleParams(varName));\n }\n });\n }\n}\nconst PARAM_REGEX = new RegExp(`${SUBSTITUTION_EXPR_START}\\\\s*(.+?)\\\\s*${SUBSTITUTION_EXPR_END}`, 'g');\nfunction extractStyleParams(value) {\n let params = [];\n if (typeof value === 'string') {\n let match;\n while ((match = PARAM_REGEX.exec(value))) {\n params.push(match[1]);\n }\n PARAM_REGEX.lastIndex = 0;\n }\n return params;\n}\nfunction interpolateParams(value, params, errors) {\n const original = `${value}`;\n const str = original.replace(PARAM_REGEX, (_, varName) => {\n let localVal = params[varName];\n // this means that the value was never overridden by the data passed in by the user\n if (localVal == null) {\n errors.push(invalidParamValue(varName));\n localVal = '';\n }\n return localVal.toString();\n });\n // we do this to assert that numeric values stay as they are\n return str == original ? value : str;\n}\nconst DASH_CASE_REGEXP = /-+([a-z0-9])/g;\nfunction dashCaseToCamelCase(input) {\n return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());\n}\nfunction camelCaseToDashCase(input) {\n return input.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n}\nfunction allowPreviousPlayerStylesMerge(duration, delay) {\n return duration === 0 || delay === 0;\n}\nfunction balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles) {\n if (previousStyles.size && keyframes.length) {\n let startingKeyframe = keyframes[0];\n let missingStyleProps = [];\n previousStyles.forEach((val, prop) => {\n if (!startingKeyframe.has(prop)) {\n missingStyleProps.push(prop);\n }\n startingKeyframe.set(prop, val);\n });\n if (missingStyleProps.length) {\n for (let i = 1; i < keyframes.length; i++) {\n let kf = keyframes[i];\n missingStyleProps.forEach((prop) => kf.set(prop, computeStyle(element, prop)));\n }\n }\n }\n return keyframes;\n}\nfunction visitDslNode(visitor, node, context) {\n switch (node.type) {\n case AnimationMetadataType.Trigger:\n return visitor.visitTrigger(node, context);\n case AnimationMetadataType.State:\n return visitor.visitState(node, context);\n case AnimationMetadataType.Transition:\n return visitor.visitTransition(node, context);\n case AnimationMetadataType.Sequence:\n return visitor.visitSequence(node, context);\n case AnimationMetadataType.Group:\n return visitor.visitGroup(node, context);\n case AnimationMetadataType.Animate:\n return visitor.visitAnimate(node, context);\n case AnimationMetadataType.Keyframes:\n return visitor.visitKeyframes(node, context);\n case AnimationMetadataType.Style:\n return visitor.visitStyle(node, context);\n case AnimationMetadataType.Reference:\n return visitor.visitReference(node, context);\n case AnimationMetadataType.AnimateChild:\n return visitor.visitAnimateChild(node, context);\n case AnimationMetadataType.AnimateRef:\n return visitor.visitAnimateRef(node, context);\n case AnimationMetadataType.Query:\n return visitor.visitQuery(node, context);\n case AnimationMetadataType.Stagger:\n return visitor.visitStagger(node, context);\n default:\n throw invalidNodeType(node.type);\n }\n}\nfunction computeStyle(element, prop) {\n return window.getComputedStyle(element)[prop];\n}\n\nconst DIMENSIONAL_PROP_SET = new Set([\n 'width',\n 'height',\n 'minWidth',\n 'minHeight',\n 'maxWidth',\n 'maxHeight',\n 'left',\n 'top',\n 'bottom',\n 'right',\n 'fontSize',\n 'outlineWidth',\n 'outlineOffset',\n 'paddingTop',\n 'paddingLeft',\n 'paddingBottom',\n 'paddingRight',\n 'marginTop',\n 'marginLeft',\n 'marginBottom',\n 'marginRight',\n 'borderRadius',\n 'borderWidth',\n 'borderTopWidth',\n 'borderLeftWidth',\n 'borderRightWidth',\n 'borderBottomWidth',\n 'textIndent',\n 'perspective',\n]);\nclass WebAnimationsStyleNormalizer extends AnimationStyleNormalizer {\n normalizePropertyName(propertyName, errors) {\n return dashCaseToCamelCase(propertyName);\n }\n normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n let unit = '';\n const strVal = value.toString().trim();\n if (DIMENSIONAL_PROP_SET.has(normalizedProperty) && value !== 0 && value !== '0') {\n if (typeof value === 'number') {\n unit = 'px';\n }\n else {\n const valAndSuffixMatch = value.match(/^[+-]?[\\d\\.]+([a-z]*)$/);\n if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) {\n errors.push(invalidCssUnitValue(userProvidedProperty, value));\n }\n }\n }\n return strVal + unit;\n }\n}\n\nfunction createListOfWarnings(warnings) {\n const LINE_START = '\\n - ';\n return `${LINE_START}${warnings\n .filter(Boolean)\n .map((warning) => warning)\n .join(LINE_START)}`;\n}\nfunction warnValidation(warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`animation validation warnings:${createListOfWarnings(warnings)}`);\n}\nfunction warnTriggerBuild(name, warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`The animation trigger \"${name}\" has built with the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction warnRegister(warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`Animation built with the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction triggerParsingWarnings(name, warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`Animation parsing for the ${name} trigger presents the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction pushUnrecognizedPropertiesWarning(warnings, props) {\n if (props.length) {\n warnings.push(`The following provided properties are not recognized: ${props.join(', ')}`);\n }\n}\n\nconst ANY_STATE = '*';\nfunction parseTransitionExpr(transitionValue, errors) {\n const expressions = [];\n if (typeof transitionValue == 'string') {\n transitionValue\n .split(/\\s*,\\s*/)\n .forEach((str) => parseInnerTransitionStr(str, expressions, errors));\n }\n else {\n expressions.push(transitionValue);\n }\n return expressions;\n}\nfunction parseInnerTransitionStr(eventStr, expressions, errors) {\n if (eventStr[0] == ':') {\n const result = parseAnimationAlias(eventStr, errors);\n if (typeof result == 'function') {\n expressions.push(result);\n return;\n }\n eventStr = result;\n }\n const match = eventStr.match(/^(\\*|[-\\w]+)\\s*()\\s*(\\*|[-\\w]+)$/);\n if (match == null || match.length < 4) {\n errors.push(invalidExpression(eventStr));\n return expressions;\n }\n const fromState = match[1];\n const separator = match[2];\n const toState = match[3];\n expressions.push(makeLambdaFromStates(fromState, toState));\n const isFullAnyStateExpr = fromState == ANY_STATE && toState == ANY_STATE;\n if (separator[0] == '<' && !isFullAnyStateExpr) {\n expressions.push(makeLambdaFromStates(toState, fromState));\n }\n return;\n}\nfunction parseAnimationAlias(alias, errors) {\n switch (alias) {\n case ':enter':\n return 'void => *';\n case ':leave':\n return '* => void';\n case ':increment':\n return (fromState, toState) => parseFloat(toState) > parseFloat(fromState);\n case ':decrement':\n return (fromState, toState) => parseFloat(toState) < parseFloat(fromState);\n default:\n errors.push(invalidTransitionAlias(alias));\n return '* => *';\n }\n}\n// DO NOT REFACTOR ... keep the follow set instantiations\n// with the values intact (closure compiler for some reason\n// removes follow-up lines that add the values outside of\n// the constructor...\nconst TRUE_BOOLEAN_VALUES = new Set(['true', '1']);\nconst FALSE_BOOLEAN_VALUES = new Set(['false', '0']);\nfunction makeLambdaFromStates(lhs, rhs) {\n const LHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(lhs) || FALSE_BOOLEAN_VALUES.has(lhs);\n const RHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(rhs) || FALSE_BOOLEAN_VALUES.has(rhs);\n return (fromState, toState) => {\n let lhsMatch = lhs == ANY_STATE || lhs == fromState;\n let rhsMatch = rhs == ANY_STATE || rhs == toState;\n if (!lhsMatch && LHS_MATCH_BOOLEAN && typeof fromState === 'boolean') {\n lhsMatch = fromState ? TRUE_BOOLEAN_VALUES.has(lhs) : FALSE_BOOLEAN_VALUES.has(lhs);\n }\n if (!rhsMatch && RHS_MATCH_BOOLEAN && typeof toState === 'boolean') {\n rhsMatch = toState ? TRUE_BOOLEAN_VALUES.has(rhs) : FALSE_BOOLEAN_VALUES.has(rhs);\n }\n return lhsMatch && rhsMatch;\n };\n}\n\nconst SELF_TOKEN = ':self';\nconst SELF_TOKEN_REGEX = new RegExp(`s*${SELF_TOKEN}s*,?`, 'g');\n/*\n * [Validation]\n * The visitor code below will traverse the animation AST generated by the animation verb functions\n * (the output is a tree of objects) and attempt to perform a series of validations on the data. The\n * following corner-cases will be validated:\n *\n * 1. Overlap of animations\n * Given that a CSS property cannot be animated in more than one place at the same time, it's\n * important that this behavior is detected and validated. The way in which this occurs is that\n * each time a style property is examined, a string-map containing the property will be updated with\n * the start and end times for when the property is used within an animation step.\n *\n * If there are two or more parallel animations that are currently running (these are invoked by the\n * group()) on the same element then the validator will throw an error. Since the start/end timing\n * values are collected for each property then if the current animation step is animating the same\n * property and its timing values fall anywhere into the window of time that the property is\n * currently being animated within then this is what causes an error.\n *\n * 2. Timing values\n * The validator will validate to see if a timing value of `duration delay easing` or\n * `durationNumber` is valid or not.\n *\n * (note that upon validation the code below will replace the timing data with an object containing\n * {duration,delay,easing}.\n *\n * 3. Offset Validation\n * Each of the style() calls are allowed to have an offset value when placed inside of keyframes().\n * Offsets within keyframes() are considered valid when:\n *\n * - No offsets are used at all\n * - Each style() entry contains an offset value\n * - Each offset is between 0 and 1\n * - Each offset is greater to or equal than the previous one\n *\n * Otherwise an error will be thrown.\n */\nfunction buildAnimationAst(driver, metadata, errors, warnings) {\n return new AnimationAstBuilderVisitor(driver).build(metadata, errors, warnings);\n}\nconst ROOT_SELECTOR = '';\nclass AnimationAstBuilderVisitor {\n constructor(_driver) {\n this._driver = _driver;\n }\n build(metadata, errors, warnings) {\n const context = new AnimationAstBuilderContext(errors);\n this._resetContextStyleTimingState(context);\n const ast = (visitDslNode(this, normalizeAnimationEntry(metadata), context));\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (context.unsupportedCSSPropertiesFound.size) {\n pushUnrecognizedPropertiesWarning(warnings, [\n ...context.unsupportedCSSPropertiesFound.keys(),\n ]);\n }\n }\n return ast;\n }\n _resetContextStyleTimingState(context) {\n context.currentQuerySelector = ROOT_SELECTOR;\n context.collectedStyles = new Map();\n context.collectedStyles.set(ROOT_SELECTOR, new Map());\n context.currentTime = 0;\n }\n visitTrigger(metadata, context) {\n let queryCount = (context.queryCount = 0);\n let depCount = (context.depCount = 0);\n const states = [];\n const transitions = [];\n if (metadata.name.charAt(0) == '@') {\n context.errors.push(invalidTrigger());\n }\n metadata.definitions.forEach((def) => {\n this._resetContextStyleTimingState(context);\n if (def.type == AnimationMetadataType.State) {\n const stateDef = def;\n const name = stateDef.name;\n name\n .toString()\n .split(/\\s*,\\s*/)\n .forEach((n) => {\n stateDef.name = n;\n states.push(this.visitState(stateDef, context));\n });\n stateDef.name = name;\n }\n else if (def.type == AnimationMetadataType.Transition) {\n const transition = this.visitTransition(def, context);\n queryCount += transition.queryCount;\n depCount += transition.depCount;\n transitions.push(transition);\n }\n else {\n context.errors.push(invalidDefinition());\n }\n });\n return {\n type: AnimationMetadataType.Trigger,\n name: metadata.name,\n states,\n transitions,\n queryCount,\n depCount,\n options: null,\n };\n }\n visitState(metadata, context) {\n const styleAst = this.visitStyle(metadata.styles, context);\n const astParams = (metadata.options && metadata.options.params) || null;\n if (styleAst.containsDynamicStyles) {\n const missingSubs = new Set();\n const params = astParams || {};\n styleAst.styles.forEach((style) => {\n if (style instanceof Map) {\n style.forEach((value) => {\n extractStyleParams(value).forEach((sub) => {\n if (!params.hasOwnProperty(sub)) {\n missingSubs.add(sub);\n }\n });\n });\n }\n });\n if (missingSubs.size) {\n context.errors.push(invalidState(metadata.name, [...missingSubs.values()]));\n }\n }\n return {\n type: AnimationMetadataType.State,\n name: metadata.name,\n style: styleAst,\n options: astParams ? { params: astParams } : null,\n };\n }\n visitTransition(metadata, context) {\n context.queryCount = 0;\n context.depCount = 0;\n const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n const matchers = parseTransitionExpr(metadata.expr, context.errors);\n return {\n type: AnimationMetadataType.Transition,\n matchers,\n animation,\n queryCount: context.queryCount,\n depCount: context.depCount,\n options: normalizeAnimationOptions(metadata.options),\n };\n }\n visitSequence(metadata, context) {\n return {\n type: AnimationMetadataType.Sequence,\n steps: metadata.steps.map((s) => visitDslNode(this, s, context)),\n options: normalizeAnimationOptions(metadata.options),\n };\n }\n visitGroup(metadata, context) {\n const currentTime = context.currentTime;\n let furthestTime = 0;\n const steps = metadata.steps.map((step) => {\n context.currentTime = currentTime;\n const innerAst = visitDslNode(this, step, context);\n furthestTime = Math.max(furthestTime, context.currentTime);\n return innerAst;\n });\n context.currentTime = furthestTime;\n return {\n type: AnimationMetadataType.Group,\n steps,\n options: normalizeAnimationOptions(metadata.options),\n };\n }\n visitAnimate(metadata, context) {\n const timingAst = constructTimingAst(metadata.timings, context.errors);\n context.currentAnimateTimings = timingAst;\n let styleAst;\n let styleMetadata = metadata.styles\n ? metadata.styles\n : style({});\n if (styleMetadata.type == AnimationMetadataType.Keyframes) {\n styleAst = this.visitKeyframes(styleMetadata, context);\n }\n else {\n let styleMetadata = metadata.styles;\n let isEmpty = false;\n if (!styleMetadata) {\n isEmpty = true;\n const newStyleData = {};\n if (timingAst.easing) {\n newStyleData['easing'] = timingAst.easing;\n }\n styleMetadata = style(newStyleData);\n }\n context.currentTime += timingAst.duration + timingAst.delay;\n const _styleAst = this.visitStyle(styleMetadata, context);\n _styleAst.isEmptyStep = isEmpty;\n styleAst = _styleAst;\n }\n context.currentAnimateTimings = null;\n return {\n type: AnimationMetadataType.Animate,\n timings: timingAst,\n style: styleAst,\n options: null,\n };\n }\n visitStyle(metadata, context) {\n const ast = this._makeStyleAst(metadata, context);\n this._validateStyleAst(ast, context);\n return ast;\n }\n _makeStyleAst(metadata, context) {\n const styles = [];\n const metadataStyles = Array.isArray(metadata.styles) ? metadata.styles : [metadata.styles];\n for (let styleTuple of metadataStyles) {\n if (typeof styleTuple === 'string') {\n if (styleTuple === AUTO_STYLE) {\n styles.push(styleTuple);\n }\n else {\n context.errors.push(invalidStyleValue(styleTuple));\n }\n }\n else {\n styles.push(new Map(Object.entries(styleTuple)));\n }\n }\n let containsDynamicStyles = false;\n let collectedEasing = null;\n styles.forEach((styleData) => {\n if (styleData instanceof Map) {\n if (styleData.has('easing')) {\n collectedEasing = styleData.get('easing');\n styleData.delete('easing');\n }\n if (!containsDynamicStyles) {\n for (let value of styleData.values()) {\n if (value.toString().indexOf(SUBSTITUTION_EXPR_START) >= 0) {\n containsDynamicStyles = true;\n break;\n }\n }\n }\n }\n });\n return {\n type: AnimationMetadataType.Style,\n styles,\n easing: collectedEasing,\n offset: metadata.offset,\n containsDynamicStyles,\n options: null,\n };\n }\n _validateStyleAst(ast, context) {\n const timings = context.currentAnimateTimings;\n let endTime = context.currentTime;\n let startTime = context.currentTime;\n if (timings && startTime > 0) {\n startTime -= timings.duration + timings.delay;\n }\n ast.styles.forEach((tuple) => {\n if (typeof tuple === 'string')\n return;\n tuple.forEach((value, prop) => {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._driver.validateStyleProperty(prop)) {\n tuple.delete(prop);\n context.unsupportedCSSPropertiesFound.add(prop);\n return;\n }\n }\n // This is guaranteed to have a defined Map at this querySelector location making it\n // safe to add the assertion here. It is set as a default empty map in prior methods.\n const collectedStyles = context.collectedStyles.get(context.currentQuerySelector);\n const collectedEntry = collectedStyles.get(prop);\n let updateCollectedStyle = true;\n if (collectedEntry) {\n if (startTime != endTime &&\n startTime >= collectedEntry.startTime &&\n endTime <= collectedEntry.endTime) {\n context.errors.push(invalidParallelAnimation(prop, collectedEntry.startTime, collectedEntry.endTime, startTime, endTime));\n updateCollectedStyle = false;\n }\n // we always choose the smaller start time value since we\n // want to have a record of the entire animation window where\n // the style property is being animated in between\n startTime = collectedEntry.startTime;\n }\n if (updateCollectedStyle) {\n collectedStyles.set(prop, { startTime, endTime });\n }\n if (context.options) {\n validateStyleParams(value, context.options, context.errors);\n }\n });\n });\n }\n visitKeyframes(metadata, context) {\n const ast = { type: AnimationMetadataType.Keyframes, styles: [], options: null };\n if (!context.currentAnimateTimings) {\n context.errors.push(invalidKeyframes());\n return ast;\n }\n const MAX_KEYFRAME_OFFSET = 1;\n let totalKeyframesWithOffsets = 0;\n const offsets = [];\n let offsetsOutOfOrder = false;\n let keyframesOutOfRange = false;\n let previousOffset = 0;\n const keyframes = metadata.steps.map((styles) => {\n const style = this._makeStyleAst(styles, context);\n let offsetVal = style.offset != null ? style.offset : consumeOffset(style.styles);\n let offset = 0;\n if (offsetVal != null) {\n totalKeyframesWithOffsets++;\n offset = style.offset = offsetVal;\n }\n keyframesOutOfRange = keyframesOutOfRange || offset < 0 || offset > 1;\n offsetsOutOfOrder = offsetsOutOfOrder || offset < previousOffset;\n previousOffset = offset;\n offsets.push(offset);\n return style;\n });\n if (keyframesOutOfRange) {\n context.errors.push(invalidOffset());\n }\n if (offsetsOutOfOrder) {\n context.errors.push(keyframeOffsetsOutOfOrder());\n }\n const length = metadata.steps.length;\n let generatedOffset = 0;\n if (totalKeyframesWithOffsets > 0 && totalKeyframesWithOffsets < length) {\n context.errors.push(keyframesMissingOffsets());\n }\n else if (totalKeyframesWithOffsets == 0) {\n generatedOffset = MAX_KEYFRAME_OFFSET / (length - 1);\n }\n const limit = length - 1;\n const currentTime = context.currentTime;\n const currentAnimateTimings = context.currentAnimateTimings;\n const animateDuration = currentAnimateTimings.duration;\n keyframes.forEach((kf, i) => {\n const offset = generatedOffset > 0 ? (i == limit ? 1 : generatedOffset * i) : offsets[i];\n const durationUpToThisFrame = offset * animateDuration;\n context.currentTime = currentTime + currentAnimateTimings.delay + durationUpToThisFrame;\n currentAnimateTimings.duration = durationUpToThisFrame;\n this._validateStyleAst(kf, context);\n kf.offset = offset;\n ast.styles.push(kf);\n });\n return ast;\n }\n visitReference(metadata, context) {\n return {\n type: AnimationMetadataType.Reference,\n animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n options: normalizeAnimationOptions(metadata.options),\n };\n }\n visitAnimateChild(metadata, context) {\n context.depCount++;\n return {\n type: AnimationMetadataType.AnimateChild,\n options: normalizeAnimationOptions(metadata.options),\n };\n }\n visitAnimateRef(metadata, context) {\n return {\n type: AnimationMetadataType.AnimateRef,\n animation: this.visitReference(metadata.animation, context),\n options: normalizeAnimationOptions(metadata.options),\n };\n }\n visitQuery(metadata, context) {\n const parentSelector = context.currentQuerySelector;\n const options = (metadata.options || {});\n context.queryCount++;\n context.currentQuery = metadata;\n const [selector, includeSelf] = normalizeSelector(metadata.selector);\n context.currentQuerySelector = parentSelector.length\n ? parentSelector + ' ' + selector\n : selector;\n getOrSetDefaultValue(context.collectedStyles, context.currentQuerySelector, new Map());\n const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n context.currentQuery = null;\n context.currentQuerySelector = parentSelector;\n return {\n type: AnimationMetadataType.Query,\n selector,\n limit: options.limit || 0,\n optional: !!options.optional,\n includeSelf,\n animation,\n originalSelector: metadata.selector,\n options: normalizeAnimationOptions(metadata.options),\n };\n }\n visitStagger(metadata, context) {\n if (!context.currentQuery) {\n context.errors.push(invalidStagger());\n }\n const timings = metadata.timings === 'full'\n ? { duration: 0, delay: 0, easing: 'full' }\n : resolveTiming(metadata.timings, context.errors, true);\n return {\n type: AnimationMetadataType.Stagger,\n animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n timings,\n options: null,\n };\n }\n}\nfunction normalizeSelector(selector) {\n const hasAmpersand = selector.split(/\\s*,\\s*/).find((token) => token == SELF_TOKEN)\n ? true\n : false;\n if (hasAmpersand) {\n selector = selector.replace(SELF_TOKEN_REGEX, '');\n }\n // Note: the :enter and :leave aren't normalized here since those\n // selectors are filled in at runtime during timeline building\n selector = selector\n .replace(/@\\*/g, NG_TRIGGER_SELECTOR)\n .replace(/@\\w+/g, (match) => NG_TRIGGER_SELECTOR + '-' + match.slice(1))\n .replace(/:animating/g, NG_ANIMATING_SELECTOR);\n return [selector, hasAmpersand];\n}\nfunction normalizeParams(obj) {\n return obj ? { ...obj } : null;\n}\nclass AnimationAstBuilderContext {\n constructor(errors) {\n this.errors = errors;\n this.queryCount = 0;\n this.depCount = 0;\n this.currentTransition = null;\n this.currentQuery = null;\n this.currentQuerySelector = null;\n this.currentAnimateTimings = null;\n this.currentTime = 0;\n this.collectedStyles = new Map();\n this.options = null;\n this.unsupportedCSSPropertiesFound = new Set();\n }\n}\nfunction consumeOffset(styles) {\n if (typeof styles == 'string')\n return null;\n let offset = null;\n if (Array.isArray(styles)) {\n styles.forEach((styleTuple) => {\n if (styleTuple instanceof Map && styleTuple.has('offset')) {\n const obj = styleTuple;\n offset = parseFloat(obj.get('offset'));\n obj.delete('offset');\n }\n });\n }\n else if (styles instanceof Map && styles.has('offset')) {\n const obj = styles;\n offset = parseFloat(obj.get('offset'));\n obj.delete('offset');\n }\n return offset;\n}\nfunction constructTimingAst(value, errors) {\n if (value.hasOwnProperty('duration')) {\n return value;\n }\n if (typeof value == 'number') {\n const duration = resolveTiming(value, errors).duration;\n return makeTimingAst(duration, 0, '');\n }\n const strValue = value;\n const isDynamic = strValue.split(/\\s+/).some((v) => v.charAt(0) == '{' && v.charAt(1) == '{');\n if (isDynamic) {\n const ast = makeTimingAst(0, 0, '');\n ast.dynamic = true;\n ast.strValue = strValue;\n return ast;\n }\n const timings = resolveTiming(strValue, errors);\n return makeTimingAst(timings.duration, timings.delay, timings.easing);\n}\nfunction normalizeAnimationOptions(options) {\n if (options) {\n options = { ...options };\n if (options['params']) {\n options['params'] = normalizeParams(options['params']);\n }\n }\n else {\n options = {};\n }\n return options;\n}\nfunction makeTimingAst(duration, delay, easing) {\n return { duration, delay, easing };\n}\n\nfunction createTimelineInstruction(element, keyframes, preStyleProps, postStyleProps, duration, delay, easing = null, subTimeline = false) {\n return {\n type: 1 /* AnimationTransitionInstructionType.TimelineAnimation */,\n element,\n keyframes,\n preStyleProps,\n postStyleProps,\n duration,\n delay,\n totalTime: duration + delay,\n easing,\n subTimeline,\n };\n}\n\nclass ElementInstructionMap {\n constructor() {\n this._map = new Map();\n }\n get(element) {\n return this._map.get(element) || [];\n }\n append(element, instructions) {\n let existingInstructions = this._map.get(element);\n if (!existingInstructions) {\n this._map.set(element, (existingInstructions = []));\n }\n existingInstructions.push(...instructions);\n }\n has(element) {\n return this._map.has(element);\n }\n clear() {\n this._map.clear();\n }\n}\n\nconst ONE_FRAME_IN_MILLISECONDS = 1;\nconst ENTER_TOKEN = ':enter';\nconst ENTER_TOKEN_REGEX = new RegExp(ENTER_TOKEN, 'g');\nconst LEAVE_TOKEN = ':leave';\nconst LEAVE_TOKEN_REGEX = new RegExp(LEAVE_TOKEN, 'g');\n/*\n * The code within this file aims to generate web-animations-compatible keyframes from Angular's\n * animation DSL code.\n *\n * The code below will be converted from:\n *\n * ```\n * sequence([\n * style({ opacity: 0 }),\n * animate(1000, style({ opacity: 0 }))\n * ])\n * ```\n *\n * To:\n * ```\n * keyframes = [{ opacity: 0, offset: 0 }, { opacity: 1, offset: 1 }]\n * duration = 1000\n * delay = 0\n * easing = ''\n * ```\n *\n * For this operation to cover the combination of animation verbs (style, animate, group, etc...) a\n * combination of AST traversal and merge-sort-like algorithms are used.\n *\n * [AST Traversal]\n * Each of the animation verbs, when executed, will return an string-map object representing what\n * type of action it is (style, animate, group, etc...) and the data associated with it. This means\n * that when functional composition mix of these functions is evaluated (like in the example above)\n * then it will end up producing a tree of objects representing the animation itself.\n *\n * When this animation object tree is processed by the visitor code below it will visit each of the\n * verb statements within the visitor. And during each visit it will build the context of the\n * animation keyframes by interacting with the `TimelineBuilder`.\n *\n * [TimelineBuilder]\n * This class is responsible for tracking the styles and building a series of keyframe objects for a\n * timeline between a start and end time. The builder starts off with an initial timeline and each\n * time the AST comes across a `group()`, `keyframes()` or a combination of the two within a\n * `sequence()` then it will generate a sub timeline for each step as well as a new one after\n * they are complete.\n *\n * As the AST is traversed, the timing state on each of the timelines will be incremented. If a sub\n * timeline was created (based on one of the cases above) then the parent timeline will attempt to\n * merge the styles used within the sub timelines into itself (only with group() this will happen).\n * This happens with a merge operation (much like how the merge works in mergeSort) and it will only\n * copy the most recently used styles from the sub timelines into the parent timeline. This ensures\n * that if the styles are used later on in another phase of the animation then they will be the most\n * up-to-date values.\n *\n * [How Missing Styles Are Updated]\n * Each timeline has a `backFill` property which is responsible for filling in new styles into\n * already processed keyframes if a new style shows up later within the animation sequence.\n *\n * ```\n * sequence([\n * style({ width: 0 }),\n * animate(1000, style({ width: 100 })),\n * animate(1000, style({ width: 200 })),\n * animate(1000, style({ width: 300 }))\n * animate(1000, style({ width: 400, height: 400 })) // notice how `height` doesn't exist anywhere\n * else\n * ])\n * ```\n *\n * What is happening here is that the `height` value is added later in the sequence, but is missing\n * from all previous animation steps. Therefore when a keyframe is created it would also be missing\n * from all previous keyframes up until where it is first used. For the timeline keyframe generation\n * to properly fill in the style it will place the previous value (the value from the parent\n * timeline) or a default value of `*` into the backFill map.\n *\n * When a sub-timeline is created it will have its own backFill property. This is done so that\n * styles present within the sub-timeline do not accidentally seep into the previous/future timeline\n * keyframes\n *\n * [Validation]\n * The code in this file is not responsible for validation. That functionality happens with within\n * the `AnimationValidatorVisitor` code.\n */\nfunction buildAnimationTimelines(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles = new Map(), finalStyles = new Map(), options, subInstructions, errors = []) {\n return new AnimationTimelineBuilderVisitor().buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors);\n}\nclass AnimationTimelineBuilderVisitor {\n buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors = []) {\n subInstructions = subInstructions || new ElementInstructionMap();\n const context = new AnimationTimelineContext(driver, rootElement, subInstructions, enterClassName, leaveClassName, errors, []);\n context.options = options;\n const delay = options.delay ? resolveTimingValue(options.delay) : 0;\n context.currentTimeline.delayNextStep(delay);\n context.currentTimeline.setStyles([startingStyles], null, context.errors, options);\n visitDslNode(this, ast, context);\n // this checks to see if an actual animation happened\n const timelines = context.timelines.filter((timeline) => timeline.containsAnimation());\n // note: we just want to apply the final styles for the rootElement, so we do not\n // just apply the styles to the last timeline but the last timeline which\n // element is the root one (basically `*`-styles are replaced with the actual\n // state style values only for the root element)\n if (timelines.length && finalStyles.size) {\n let lastRootTimeline;\n for (let i = timelines.length - 1; i >= 0; i--) {\n const timeline = timelines[i];\n if (timeline.element === rootElement) {\n lastRootTimeline = timeline;\n break;\n }\n }\n if (lastRootTimeline && !lastRootTimeline.allowOnlyTimelineStyles()) {\n lastRootTimeline.setStyles([finalStyles], null, context.errors, options);\n }\n }\n return timelines.length\n ? timelines.map((timeline) => timeline.buildKeyframes())\n : [createTimelineInstruction(rootElement, [], [], [], 0, delay, '', false)];\n }\n visitTrigger(ast, context) {\n // these values are not visited in this AST\n }\n visitState(ast, context) {\n // these values are not visited in this AST\n }\n visitTransition(ast, context) {\n // these values are not visited in this AST\n }\n visitAnimateChild(ast, context) {\n const elementInstructions = context.subInstructions.get(context.element);\n if (elementInstructions) {\n const innerContext = context.createSubContext(ast.options);\n const startTime = context.currentTimeline.currentTime;\n const endTime = this._visitSubInstructions(elementInstructions, innerContext, innerContext.options);\n if (startTime != endTime) {\n // we do this on the upper context because we created a sub context for\n // the sub child animations\n context.transformIntoNewTimeline(endTime);\n }\n }\n context.previousNode = ast;\n }\n visitAnimateRef(ast, context) {\n const innerContext = context.createSubContext(ast.options);\n innerContext.transformIntoNewTimeline();\n this._applyAnimationRefDelays([ast.options, ast.animation.options], context, innerContext);\n this.visitReference(ast.animation, innerContext);\n context.transformIntoNewTimeline(innerContext.currentTimeline.currentTime);\n context.previousNode = ast;\n }\n _applyAnimationRefDelays(animationsRefsOptions, context, innerContext) {\n for (const animationRefOptions of animationsRefsOptions) {\n const animationDelay = animationRefOptions?.delay;\n if (animationDelay) {\n const animationDelayValue = typeof animationDelay === 'number'\n ? animationDelay\n : resolveTimingValue(interpolateParams(animationDelay, animationRefOptions?.params ?? {}, context.errors));\n innerContext.delayNextStep(animationDelayValue);\n }\n }\n }\n _visitSubInstructions(instructions, context, options) {\n const startTime = context.currentTimeline.currentTime;\n let furthestTime = startTime;\n // this is a special-case for when a user wants to skip a sub\n // animation from being fired entirely.\n const duration = options.duration != null ? resolveTimingValue(options.duration) : null;\n const delay = options.delay != null ? resolveTimingValue(options.delay) : null;\n if (duration !== 0) {\n instructions.forEach((instruction) => {\n const instructionTimings = context.appendInstructionToTimeline(instruction, duration, delay);\n furthestTime = Math.max(furthestTime, instructionTimings.duration + instructionTimings.delay);\n });\n }\n return furthestTime;\n }\n visitReference(ast, context) {\n context.updateOptions(ast.options, true);\n visitDslNode(this, ast.animation, context);\n context.previousNode = ast;\n }\n visitSequence(ast, context) {\n const subContextCount = context.subContextCount;\n let ctx = context;\n const options = ast.options;\n if (options && (options.params || options.delay)) {\n ctx = context.createSubContext(options);\n ctx.transformIntoNewTimeline();\n if (options.delay != null) {\n if (ctx.previousNode.type == AnimationMetadataType.Style) {\n ctx.currentTimeline.snapshotCurrentStyles();\n ctx.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n }\n const delay = resolveTimingValue(options.delay);\n ctx.delayNextStep(delay);\n }\n }\n if (ast.steps.length) {\n ast.steps.forEach((s) => visitDslNode(this, s, ctx));\n // this is here just in case the inner steps only contain or end with a style() call\n ctx.currentTimeline.applyStylesToKeyframe();\n // this means that some animation function within the sequence\n // ended up creating a sub timeline (which means the current\n // timeline cannot overlap with the contents of the sequence)\n if (ctx.subContextCount > subContextCount) {\n ctx.transformIntoNewTimeline();\n }\n }\n context.previousNode = ast;\n }\n visitGroup(ast, context) {\n const innerTimelines = [];\n let furthestTime = context.currentTimeline.currentTime;\n const delay = ast.options && ast.options.delay ? resolveTimingValue(ast.options.delay) : 0;\n ast.steps.forEach((s) => {\n const innerContext = context.createSubContext(ast.options);\n if (delay) {\n innerContext.delayNextStep(delay);\n }\n visitDslNode(this, s, innerContext);\n furthestTime = Math.max(furthestTime, innerContext.currentTimeline.currentTime);\n innerTimelines.push(innerContext.currentTimeline);\n });\n // this operation is run after the AST loop because otherwise\n // if the parent timeline's collected styles were updated then\n // it would pass in invalid data into the new-to-be forked items\n innerTimelines.forEach((timeline) => context.currentTimeline.mergeTimelineCollectedStyles(timeline));\n context.transformIntoNewTimeline(furthestTime);\n context.previousNode = ast;\n }\n _visitTiming(ast, context) {\n if (ast.dynamic) {\n const strValue = ast.strValue;\n const timingValue = context.params\n ? interpolateParams(strValue, context.params, context.errors)\n : strValue;\n return resolveTiming(timingValue, context.errors);\n }\n else {\n return { duration: ast.duration, delay: ast.delay, easing: ast.easing };\n }\n }\n visitAnimate(ast, context) {\n const timings = (context.currentAnimateTimings = this._visitTiming(ast.timings, context));\n const timeline = context.currentTimeline;\n if (timings.delay) {\n context.incrementTime(timings.delay);\n timeline.snapshotCurrentStyles();\n }\n const style = ast.style;\n if (style.type == AnimationMetadataType.Keyframes) {\n this.visitKeyframes(style, context);\n }\n else {\n context.incrementTime(timings.duration);\n this.visitStyle(style, context);\n timeline.applyStylesToKeyframe();\n }\n context.currentAnimateTimings = null;\n context.previousNode = ast;\n }\n visitStyle(ast, context) {\n const timeline = context.currentTimeline;\n const timings = context.currentAnimateTimings;\n // this is a special case for when a style() call\n // directly follows an animate() call (but not inside of an animate() call)\n if (!timings && timeline.hasCurrentStyleProperties()) {\n timeline.forwardFrame();\n }\n const easing = (timings && timings.easing) || ast.easing;\n if (ast.isEmptyStep) {\n timeline.applyEmptyStep(easing);\n }\n else {\n timeline.setStyles(ast.styles, easing, context.errors, context.options);\n }\n context.previousNode = ast;\n }\n visitKeyframes(ast, context) {\n const currentAnimateTimings = context.currentAnimateTimings;\n const startTime = context.currentTimeline.duration;\n const duration = currentAnimateTimings.duration;\n const innerContext = context.createSubContext();\n const innerTimeline = innerContext.currentTimeline;\n innerTimeline.easing = currentAnimateTimings.easing;\n ast.styles.forEach((step) => {\n const offset = step.offset || 0;\n innerTimeline.forwardTime(offset * duration);\n innerTimeline.setStyles(step.styles, step.easing, context.errors, context.options);\n innerTimeline.applyStylesToKeyframe();\n });\n // this will ensure that the parent timeline gets all the styles from\n // the child even if the new timeline below is not used\n context.currentTimeline.mergeTimelineCollectedStyles(innerTimeline);\n // we do this because the window between this timeline and the sub timeline\n // should ensure that the styles within are exactly the same as they were before\n context.transformIntoNewTimeline(startTime + duration);\n context.previousNode = ast;\n }\n visitQuery(ast, context) {\n // in the event that the first step before this is a style step we need\n // to ensure the styles are applied before the children are animated\n const startTime = context.currentTimeline.currentTime;\n const options = (ast.options || {});\n const delay = options.delay ? resolveTimingValue(options.delay) : 0;\n if (delay &&\n (context.previousNode.type === AnimationMetadataType.Style ||\n (startTime == 0 && context.currentTimeline.hasCurrentStyleProperties()))) {\n context.currentTimeline.snapshotCurrentStyles();\n context.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n }\n let furthestTime = startTime;\n const elms = context.invokeQuery(ast.selector, ast.originalSelector, ast.limit, ast.includeSelf, options.optional ? true : false, context.errors);\n context.currentQueryTotal = elms.length;\n let sameElementTimeline = null;\n elms.forEach((element, i) => {\n context.currentQueryIndex = i;\n const innerContext = context.createSubContext(ast.options, element);\n if (delay) {\n innerContext.delayNextStep(delay);\n }\n if (element === context.element) {\n sameElementTimeline = innerContext.currentTimeline;\n }\n visitDslNode(this, ast.animation, innerContext);\n // this is here just incase the inner steps only contain or end\n // with a style() call (which is here to signal that this is a preparatory\n // call to style an element before it is animated again)\n innerContext.currentTimeline.applyStylesToKeyframe();\n const endTime = innerContext.currentTimeline.currentTime;\n furthestTime = Math.max(furthestTime, endTime);\n });\n context.currentQueryIndex = 0;\n context.currentQueryTotal = 0;\n context.transformIntoNewTimeline(furthestTime);\n if (sameElementTimeline) {\n context.currentTimeline.mergeTimelineCollectedStyles(sameElementTimeline);\n context.currentTimeline.snapshotCurrentStyles();\n }\n context.previousNode = ast;\n }\n visitStagger(ast, context) {\n const parentContext = context.parentContext;\n const tl = context.currentTimeline;\n const timings = ast.timings;\n const duration = Math.abs(timings.duration);\n const maxTime = duration * (context.currentQueryTotal - 1);\n let delay = duration * context.currentQueryIndex;\n let staggerTransformer = timings.duration < 0 ? 'reverse' : timings.easing;\n switch (staggerTransformer) {\n case 'reverse':\n delay = maxTime - delay;\n break;\n case 'full':\n delay = parentContext.currentStaggerTime;\n break;\n }\n const timeline = context.currentTimeline;\n if (delay) {\n timeline.delayNextStep(delay);\n }\n const startingTime = timeline.currentTime;\n visitDslNode(this, ast.animation, context);\n context.previousNode = ast;\n // time = duration + delay\n // the reason why this computation is so complex is because\n // the inner timeline may either have a delay value or a stretched\n // keyframe depending on if a subtimeline is not used or is used.\n parentContext.currentStaggerTime =\n tl.currentTime - startingTime + (tl.startTime - parentContext.currentTimeline.startTime);\n }\n}\nconst DEFAULT_NOOP_PREVIOUS_NODE = {};\nclass AnimationTimelineContext {\n constructor(_driver, element, subInstructions, _enterClassName, _leaveClassName, errors, timelines, initialTimeline) {\n this._driver = _driver;\n this.element = element;\n this.subInstructions = subInstructions;\n this._enterClassName = _enterClassName;\n this._leaveClassName = _leaveClassName;\n this.errors = errors;\n this.timelines = timelines;\n this.parentContext = null;\n this.currentAnimateTimings = null;\n this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n this.subContextCount = 0;\n this.options = {};\n this.currentQueryIndex = 0;\n this.currentQueryTotal = 0;\n this.currentStaggerTime = 0;\n this.currentTimeline = initialTimeline || new TimelineBuilder(this._driver, element, 0);\n timelines.push(this.currentTimeline);\n }\n get params() {\n return this.options.params;\n }\n updateOptions(options, skipIfExists) {\n if (!options)\n return;\n const newOptions = options;\n let optionsToUpdate = this.options;\n // NOTE: this will get patched up when other animation methods support duration overrides\n if (newOptions.duration != null) {\n optionsToUpdate.duration = resolveTimingValue(newOptions.duration);\n }\n if (newOptions.delay != null) {\n optionsToUpdate.delay = resolveTimingValue(newOptions.delay);\n }\n const newParams = newOptions.params;\n if (newParams) {\n let paramsToUpdate = optionsToUpdate.params;\n if (!paramsToUpdate) {\n paramsToUpdate = this.options.params = {};\n }\n Object.keys(newParams).forEach((name) => {\n if (!skipIfExists || !paramsToUpdate.hasOwnProperty(name)) {\n paramsToUpdate[name] = interpolateParams(newParams[name], paramsToUpdate, this.errors);\n }\n });\n }\n }\n _copyOptions() {\n const options = {};\n if (this.options) {\n const oldParams = this.options.params;\n if (oldParams) {\n const params = (options['params'] = {});\n Object.keys(oldParams).forEach((name) => {\n params[name] = oldParams[name];\n });\n }\n }\n return options;\n }\n createSubContext(options = null, element, newTime) {\n const target = element || this.element;\n const context = new AnimationTimelineContext(this._driver, target, this.subInstructions, this._enterClassName, this._leaveClassName, this.errors, this.timelines, this.currentTimeline.fork(target, newTime || 0));\n context.previousNode = this.previousNode;\n context.currentAnimateTimings = this.currentAnimateTimings;\n context.options = this._copyOptions();\n context.updateOptions(options);\n context.currentQueryIndex = this.currentQueryIndex;\n context.currentQueryTotal = this.currentQueryTotal;\n context.parentContext = this;\n this.subContextCount++;\n return context;\n }\n transformIntoNewTimeline(newTime) {\n this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n this.currentTimeline = this.currentTimeline.fork(this.element, newTime);\n this.timelines.push(this.currentTimeline);\n return this.currentTimeline;\n }\n appendInstructionToTimeline(instruction, duration, delay) {\n const updatedTimings = {\n duration: duration != null ? duration : instruction.duration,\n delay: this.currentTimeline.currentTime + (delay != null ? delay : 0) + instruction.delay,\n easing: '',\n };\n const builder = new SubTimelineBuilder(this._driver, instruction.element, instruction.keyframes, instruction.preStyleProps, instruction.postStyleProps, updatedTimings, instruction.stretchStartingKeyframe);\n this.timelines.push(builder);\n return updatedTimings;\n }\n incrementTime(time) {\n this.currentTimeline.forwardTime(this.currentTimeline.duration + time);\n }\n delayNextStep(delay) {\n // negative delays are not yet supported\n if (delay > 0) {\n this.currentTimeline.delayNextStep(delay);\n }\n }\n invokeQuery(selector, originalSelector, limit, includeSelf, optional, errors) {\n let results = [];\n if (includeSelf) {\n results.push(this.element);\n }\n if (selector.length > 0) {\n // only if :self is used then the selector can be empty\n selector = selector.replace(ENTER_TOKEN_REGEX, '.' + this._enterClassName);\n selector = selector.replace(LEAVE_TOKEN_REGEX, '.' + this._leaveClassName);\n const multi = limit != 1;\n let elements = this._driver.query(this.element, selector, multi);\n if (limit !== 0) {\n elements =\n limit < 0\n ? elements.slice(elements.length + limit, elements.length)\n : elements.slice(0, limit);\n }\n results.push(...elements);\n }\n if (!optional && results.length == 0) {\n errors.push(invalidQuery(originalSelector));\n }\n return results;\n }\n}\nclass TimelineBuilder {\n constructor(_driver, element, startTime, _elementTimelineStylesLookup) {\n this._driver = _driver;\n this.element = element;\n this.startTime = startTime;\n this._elementTimelineStylesLookup = _elementTimelineStylesLookup;\n this.duration = 0;\n this.easing = null;\n this._previousKeyframe = new Map();\n this._currentKeyframe = new Map();\n this._keyframes = new Map();\n this._styleSummary = new Map();\n this._localTimelineStyles = new Map();\n this._pendingStyles = new Map();\n this._backFill = new Map();\n this._currentEmptyStepKeyframe = null;\n if (!this._elementTimelineStylesLookup) {\n this._elementTimelineStylesLookup = new Map();\n }\n this._globalTimelineStyles = this._elementTimelineStylesLookup.get(element);\n if (!this._globalTimelineStyles) {\n this._globalTimelineStyles = this._localTimelineStyles;\n this._elementTimelineStylesLookup.set(element, this._localTimelineStyles);\n }\n this._loadKeyframe();\n }\n containsAnimation() {\n switch (this._keyframes.size) {\n case 0:\n return false;\n case 1:\n return this.hasCurrentStyleProperties();\n default:\n return true;\n }\n }\n hasCurrentStyleProperties() {\n return this._currentKeyframe.size > 0;\n }\n get currentTime() {\n return this.startTime + this.duration;\n }\n delayNextStep(delay) {\n // in the event that a style() step is placed right before a stagger()\n // and that style() step is the very first style() value in the animation\n // then we need to make a copy of the keyframe [0, copy, 1] so that the delay\n // properly applies the style() values to work with the stagger...\n const hasPreStyleStep = this._keyframes.size === 1 && this._pendingStyles.size;\n if (this.duration || hasPreStyleStep) {\n this.forwardTime(this.currentTime + delay);\n if (hasPreStyleStep) {\n this.snapshotCurrentStyles();\n }\n }\n else {\n this.startTime += delay;\n }\n }\n fork(element, currentTime) {\n this.applyStylesToKeyframe();\n return new TimelineBuilder(this._driver, element, currentTime || this.currentTime, this._elementTimelineStylesLookup);\n }\n _loadKeyframe() {\n if (this._currentKeyframe) {\n this._previousKeyframe = this._currentKeyframe;\n }\n this._currentKeyframe = this._keyframes.get(this.duration);\n if (!this._currentKeyframe) {\n this._currentKeyframe = new Map();\n this._keyframes.set(this.duration, this._currentKeyframe);\n }\n }\n forwardFrame() {\n this.duration += ONE_FRAME_IN_MILLISECONDS;\n this._loadKeyframe();\n }\n forwardTime(time) {\n this.applyStylesToKeyframe();\n this.duration = time;\n this._loadKeyframe();\n }\n _updateStyle(prop, value) {\n this._localTimelineStyles.set(prop, value);\n this._globalTimelineStyles.set(prop, value);\n this._styleSummary.set(prop, { time: this.currentTime, value });\n }\n allowOnlyTimelineStyles() {\n return this._currentEmptyStepKeyframe !== this._currentKeyframe;\n }\n applyEmptyStep(easing) {\n if (easing) {\n this._previousKeyframe.set('easing', easing);\n }\n // special case for animate(duration):\n // all missing styles are filled with a `*` value then\n // if any destination styles are filled in later on the same\n // keyframe then they will override the overridden styles\n // We use `_globalTimelineStyles` here because there may be\n // styles in previous keyframes that are not present in this timeline\n for (let [prop, value] of this._globalTimelineStyles) {\n this._backFill.set(prop, value || AUTO_STYLE);\n this._currentKeyframe.set(prop, AUTO_STYLE);\n }\n this._currentEmptyStepKeyframe = this._currentKeyframe;\n }\n setStyles(input, easing, errors, options) {\n if (easing) {\n this._previousKeyframe.set('easing', easing);\n }\n const params = (options && options.params) || {};\n const styles = flattenStyles(input, this._globalTimelineStyles);\n for (let [prop, value] of styles) {\n const val = interpolateParams(value, params, errors);\n this._pendingStyles.set(prop, val);\n if (!this._localTimelineStyles.has(prop)) {\n this._backFill.set(prop, this._globalTimelineStyles.get(prop) ?? AUTO_STYLE);\n }\n this._updateStyle(prop, val);\n }\n }\n applyStylesToKeyframe() {\n if (this._pendingStyles.size == 0)\n return;\n this._pendingStyles.forEach((val, prop) => {\n this._currentKeyframe.set(prop, val);\n });\n this._pendingStyles.clear();\n this._localTimelineStyles.forEach((val, prop) => {\n if (!this._currentKeyframe.has(prop)) {\n this._currentKeyframe.set(prop, val);\n }\n });\n }\n snapshotCurrentStyles() {\n for (let [prop, val] of this._localTimelineStyles) {\n this._pendingStyles.set(prop, val);\n this._updateStyle(prop, val);\n }\n }\n getFinalKeyframe() {\n return this._keyframes.get(this.duration);\n }\n get properties() {\n const properties = [];\n for (let prop in this._currentKeyframe) {\n properties.push(prop);\n }\n return properties;\n }\n mergeTimelineCollectedStyles(timeline) {\n timeline._styleSummary.forEach((details1, prop) => {\n const details0 = this._styleSummary.get(prop);\n if (!details0 || details1.time > details0.time) {\n this._updateStyle(prop, details1.value);\n }\n });\n }\n buildKeyframes() {\n this.applyStylesToKeyframe();\n const preStyleProps = new Set();\n const postStyleProps = new Set();\n const isEmpty = this._keyframes.size === 1 && this.duration === 0;\n let finalKeyframes = [];\n this._keyframes.forEach((keyframe, time) => {\n const finalKeyframe = new Map([...this._backFill, ...keyframe]);\n finalKeyframe.forEach((value, prop) => {\n if (value === ɵPRE_STYLE) {\n preStyleProps.add(prop);\n }\n else if (value === AUTO_STYLE) {\n postStyleProps.add(prop);\n }\n });\n if (!isEmpty) {\n finalKeyframe.set('offset', time / this.duration);\n }\n finalKeyframes.push(finalKeyframe);\n });\n const preProps = [...preStyleProps.values()];\n const postProps = [...postStyleProps.values()];\n // special case for a 0-second animation (which is designed just to place styles onscreen)\n if (isEmpty) {\n const kf0 = finalKeyframes[0];\n const kf1 = new Map(kf0);\n kf0.set('offset', 0);\n kf1.set('offset', 1);\n finalKeyframes = [kf0, kf1];\n }\n return createTimelineInstruction(this.element, finalKeyframes, preProps, postProps, this.duration, this.startTime, this.easing, false);\n }\n}\nclass SubTimelineBuilder extends TimelineBuilder {\n constructor(driver, element, keyframes, preStyleProps, postStyleProps, timings, _stretchStartingKeyframe = false) {\n super(driver, element, timings.delay);\n this.keyframes = keyframes;\n this.preStyleProps = preStyleProps;\n this.postStyleProps = postStyleProps;\n this._stretchStartingKeyframe = _stretchStartingKeyframe;\n this.timings = { duration: timings.duration, delay: timings.delay, easing: timings.easing };\n }\n containsAnimation() {\n return this.keyframes.length > 1;\n }\n buildKeyframes() {\n let keyframes = this.keyframes;\n let { delay, duration, easing } = this.timings;\n if (this._stretchStartingKeyframe && delay) {\n const newKeyframes = [];\n const totalTime = duration + delay;\n const startingGap = delay / totalTime;\n // the original starting keyframe now starts once the delay is done\n const newFirstKeyframe = new Map(keyframes[0]);\n newFirstKeyframe.set('offset', 0);\n newKeyframes.push(newFirstKeyframe);\n const oldFirstKeyframe = new Map(keyframes[0]);\n oldFirstKeyframe.set('offset', roundOffset(startingGap));\n newKeyframes.push(oldFirstKeyframe);\n /*\n When the keyframe is stretched then it means that the delay before the animation\n starts is gone. Instead the first keyframe is placed at the start of the animation\n and it is then copied to where it starts when the original delay is over. This basically\n means nothing animates during that delay, but the styles are still rendered. For this\n to work the original offset values that exist in the original keyframes must be \"warped\"\n so that they can take the new keyframe + delay into account.\n \n delay=1000, duration=1000, keyframes = 0 .5 1\n \n turns into\n \n delay=0, duration=2000, keyframes = 0 .33 .66 1\n */\n // offsets between 1 ... n -1 are all warped by the keyframe stretch\n const limit = keyframes.length - 1;\n for (let i = 1; i <= limit; i++) {\n let kf = new Map(keyframes[i]);\n const oldOffset = kf.get('offset');\n const timeAtKeyframe = delay + oldOffset * duration;\n kf.set('offset', roundOffset(timeAtKeyframe / totalTime));\n newKeyframes.push(kf);\n }\n // the new starting keyframe should be added at the start\n duration = totalTime;\n delay = 0;\n easing = '';\n keyframes = newKeyframes;\n }\n return createTimelineInstruction(this.element, keyframes, this.preStyleProps, this.postStyleProps, duration, delay, easing, true);\n }\n}\nfunction roundOffset(offset, decimalPoints = 3) {\n const mult = Math.pow(10, decimalPoints - 1);\n return Math.round(offset * mult) / mult;\n}\nfunction flattenStyles(input, allStyles) {\n const styles = new Map();\n let allProperties;\n input.forEach((token) => {\n if (token === '*') {\n allProperties ??= allStyles.keys();\n for (let prop of allProperties) {\n styles.set(prop, AUTO_STYLE);\n }\n }\n else {\n for (let [prop, val] of token) {\n styles.set(prop, val);\n }\n }\n });\n return styles;\n}\n\nfunction createTransitionInstruction(element, triggerName, fromState, toState, isRemovalTransition, fromStyles, toStyles, timelines, queriedElements, preStyleProps, postStyleProps, totalTime, errors) {\n return {\n type: 0 /* AnimationTransitionInstructionType.TransitionAnimation */,\n element,\n triggerName,\n isRemovalTransition,\n fromState,\n fromStyles,\n toState,\n toStyles,\n timelines,\n queriedElements,\n preStyleProps,\n postStyleProps,\n totalTime,\n errors,\n };\n}\n\nconst EMPTY_OBJECT = {};\nclass AnimationTransitionFactory {\n constructor(_triggerName, ast, _stateStyles) {\n this._triggerName = _triggerName;\n this.ast = ast;\n this._stateStyles = _stateStyles;\n }\n match(currentState, nextState, element, params) {\n return oneOrMoreTransitionsMatch(this.ast.matchers, currentState, nextState, element, params);\n }\n buildStyles(stateName, params, errors) {\n let styler = this._stateStyles.get('*');\n if (stateName !== undefined) {\n styler = this._stateStyles.get(stateName?.toString()) || styler;\n }\n return styler ? styler.buildStyles(params, errors) : new Map();\n }\n build(driver, element, currentState, nextState, enterClassName, leaveClassName, currentOptions, nextOptions, subInstructions, skipAstBuild) {\n const errors = [];\n const transitionAnimationParams = (this.ast.options && this.ast.options.params) || EMPTY_OBJECT;\n const currentAnimationParams = (currentOptions && currentOptions.params) || EMPTY_OBJECT;\n const currentStateStyles = this.buildStyles(currentState, currentAnimationParams, errors);\n const nextAnimationParams = (nextOptions && nextOptions.params) || EMPTY_OBJECT;\n const nextStateStyles = this.buildStyles(nextState, nextAnimationParams, errors);\n const queriedElements = new Set();\n const preStyleMap = new Map();\n const postStyleMap = new Map();\n const isRemoval = nextState === 'void';\n const animationOptions = {\n params: applyParamDefaults(nextAnimationParams, transitionAnimationParams),\n delay: this.ast.options?.delay,\n };\n const timelines = skipAstBuild\n ? []\n : buildAnimationTimelines(driver, element, this.ast.animation, enterClassName, leaveClassName, currentStateStyles, nextStateStyles, animationOptions, subInstructions, errors);\n let totalTime = 0;\n timelines.forEach((tl) => {\n totalTime = Math.max(tl.duration + tl.delay, totalTime);\n });\n if (errors.length) {\n return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, [], [], preStyleMap, postStyleMap, totalTime, errors);\n }\n timelines.forEach((tl) => {\n const elm = tl.element;\n const preProps = getOrSetDefaultValue(preStyleMap, elm, new Set());\n tl.preStyleProps.forEach((prop) => preProps.add(prop));\n const postProps = getOrSetDefaultValue(postStyleMap, elm, new Set());\n tl.postStyleProps.forEach((prop) => postProps.add(prop));\n if (elm !== element) {\n queriedElements.add(elm);\n }\n });\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n checkNonAnimatableInTimelines(timelines, this._triggerName, driver);\n }\n return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, timelines, [...queriedElements.values()], preStyleMap, postStyleMap, totalTime);\n }\n}\n/**\n * Checks inside a set of timelines if they try to animate a css property which is not considered\n * animatable, in that case it prints a warning on the console.\n * Besides that the function doesn't have any other effect.\n *\n * Note: this check is done here after the timelines are built instead of doing on a lower level so\n * that we can make sure that the warning appears only once per instruction (we can aggregate here\n * all the issues instead of finding them separately).\n *\n * @param timelines The built timelines for the current instruction.\n * @param triggerName The name of the trigger for the current instruction.\n * @param driver Animation driver used to perform the check.\n *\n */\nfunction checkNonAnimatableInTimelines(timelines, triggerName, driver) {\n if (!driver.validateAnimatableStyleProperty) {\n return;\n }\n const allowedNonAnimatableProps = new Set([\n // 'easing' is a utility/synthetic prop we use to represent\n // easing functions, it represents a property of the animation\n // which is not animatable but different values can be used\n // in different steps\n 'easing',\n ]);\n const invalidNonAnimatableProps = new Set();\n timelines.forEach(({ keyframes }) => {\n const nonAnimatablePropsInitialValues = new Map();\n keyframes.forEach((keyframe) => {\n const entriesToCheck = Array.from(keyframe.entries()).filter(([prop]) => !allowedNonAnimatableProps.has(prop));\n for (const [prop, value] of entriesToCheck) {\n if (!driver.validateAnimatableStyleProperty(prop)) {\n if (nonAnimatablePropsInitialValues.has(prop) && !invalidNonAnimatableProps.has(prop)) {\n const propInitialValue = nonAnimatablePropsInitialValues.get(prop);\n if (propInitialValue !== value) {\n invalidNonAnimatableProps.add(prop);\n }\n }\n else {\n nonAnimatablePropsInitialValues.set(prop, value);\n }\n }\n }\n });\n });\n if (invalidNonAnimatableProps.size > 0) {\n console.warn(`Warning: The animation trigger \"${triggerName}\" is attempting to animate the following` +\n ' not animatable properties: ' +\n Array.from(invalidNonAnimatableProps).join(', ') +\n '\\n' +\n '(to check the list of all animatable properties visit https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties)');\n }\n}\nfunction oneOrMoreTransitionsMatch(matchFns, currentState, nextState, element, params) {\n return matchFns.some((fn) => fn(currentState, nextState, element, params));\n}\nfunction applyParamDefaults(userParams, defaults) {\n const result = { ...defaults };\n Object.entries(userParams).forEach(([key, value]) => {\n if (value != null) {\n result[key] = value;\n }\n });\n return result;\n}\nclass AnimationStateStyles {\n constructor(styles, defaultParams, normalizer) {\n this.styles = styles;\n this.defaultParams = defaultParams;\n this.normalizer = normalizer;\n }\n buildStyles(params, errors) {\n const finalStyles = new Map();\n const combinedParams = applyParamDefaults(params, this.defaultParams);\n this.styles.styles.forEach((value) => {\n if (typeof value !== 'string') {\n value.forEach((val, prop) => {\n if (val) {\n val = interpolateParams(val, combinedParams, errors);\n }\n const normalizedProp = this.normalizer.normalizePropertyName(prop, errors);\n val = this.normalizer.normalizeStyleValue(prop, normalizedProp, val, errors);\n finalStyles.set(prop, val);\n });\n }\n });\n return finalStyles;\n }\n}\n\nfunction buildTrigger(name, ast, normalizer) {\n return new AnimationTrigger(name, ast, normalizer);\n}\nclass AnimationTrigger {\n constructor(name, ast, _normalizer) {\n this.name = name;\n this.ast = ast;\n this._normalizer = _normalizer;\n this.transitionFactories = [];\n this.states = new Map();\n ast.states.forEach((ast) => {\n const defaultParams = (ast.options && ast.options.params) || {};\n this.states.set(ast.name, new AnimationStateStyles(ast.style, defaultParams, _normalizer));\n });\n balanceProperties(this.states, 'true', '1');\n balanceProperties(this.states, 'false', '0');\n ast.transitions.forEach((ast) => {\n this.transitionFactories.push(new AnimationTransitionFactory(name, ast, this.states));\n });\n this.fallbackTransition = createFallbackTransition(name, this.states, this._normalizer);\n }\n get containsQueries() {\n return this.ast.queryCount > 0;\n }\n matchTransition(currentState, nextState, element, params) {\n const entry = this.transitionFactories.find((f) => f.match(currentState, nextState, element, params));\n return entry || null;\n }\n matchStyles(currentState, params, errors) {\n return this.fallbackTransition.buildStyles(currentState, params, errors);\n }\n}\nfunction createFallbackTransition(triggerName, states, normalizer) {\n const matchers = [(fromState, toState) => true];\n const animation = { type: AnimationMetadataType.Sequence, steps: [], options: null };\n const transition = {\n type: AnimationMetadataType.Transition,\n animation,\n matchers,\n options: null,\n queryCount: 0,\n depCount: 0,\n };\n return new AnimationTransitionFactory(triggerName, transition, states);\n}\nfunction balanceProperties(stateMap, key1, key2) {\n if (stateMap.has(key1)) {\n if (!stateMap.has(key2)) {\n stateMap.set(key2, stateMap.get(key1));\n }\n }\n else if (stateMap.has(key2)) {\n stateMap.set(key1, stateMap.get(key2));\n }\n}\n\nconst EMPTY_INSTRUCTION_MAP = new ElementInstructionMap();\nclass TimelineAnimationEngine {\n constructor(bodyNode, _driver, _normalizer) {\n this.bodyNode = bodyNode;\n this._driver = _driver;\n this._normalizer = _normalizer;\n this._animations = new Map();\n this._playersById = new Map();\n this.players = [];\n }\n register(id, metadata) {\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(this._driver, metadata, errors, warnings);\n if (errors.length) {\n throw registerFailed(errors);\n }\n else {\n if (warnings.length) {\n warnRegister(warnings);\n }\n this._animations.set(id, ast);\n }\n }\n _buildPlayer(i, preStyles, postStyles) {\n const element = i.element;\n const keyframes = normalizeKeyframes$1(this._normalizer, i.keyframes, preStyles, postStyles);\n return this._driver.animate(element, keyframes, i.duration, i.delay, i.easing, [], true);\n }\n create(id, element, options = {}) {\n const errors = [];\n const ast = this._animations.get(id);\n let instructions;\n const autoStylesMap = new Map();\n if (ast) {\n instructions = buildAnimationTimelines(this._driver, element, ast, ENTER_CLASSNAME, LEAVE_CLASSNAME, new Map(), new Map(), options, EMPTY_INSTRUCTION_MAP, errors);\n instructions.forEach((inst) => {\n const styles = getOrSetDefaultValue(autoStylesMap, inst.element, new Map());\n inst.postStyleProps.forEach((prop) => styles.set(prop, null));\n });\n }\n else {\n errors.push(missingOrDestroyedAnimation());\n instructions = [];\n }\n if (errors.length) {\n throw createAnimationFailed(errors);\n }\n autoStylesMap.forEach((styles, element) => {\n styles.forEach((_, prop) => {\n styles.set(prop, this._driver.computeStyle(element, prop, AUTO_STYLE));\n });\n });\n const players = instructions.map((i) => {\n const styles = autoStylesMap.get(i.element);\n return this._buildPlayer(i, new Map(), styles);\n });\n const player = optimizeGroupPlayer(players);\n this._playersById.set(id, player);\n player.onDestroy(() => this.destroy(id));\n this.players.push(player);\n return player;\n }\n destroy(id) {\n const player = this._getPlayer(id);\n player.destroy();\n this._playersById.delete(id);\n const index = this.players.indexOf(player);\n if (index >= 0) {\n this.players.splice(index, 1);\n }\n }\n _getPlayer(id) {\n const player = this._playersById.get(id);\n if (!player) {\n throw missingPlayer(id);\n }\n return player;\n }\n listen(id, element, eventName, callback) {\n // triggerName, fromState, toState are all ignored for timeline animations\n const baseEvent = makeAnimationEvent(element, '', '', '');\n listenOnPlayer(this._getPlayer(id), eventName, baseEvent, callback);\n return () => { };\n }\n command(id, element, command, args) {\n if (command == 'register') {\n this.register(id, args[0]);\n return;\n }\n if (command == 'create') {\n const options = (args[0] || {});\n this.create(id, element, options);\n return;\n }\n const player = this._getPlayer(id);\n switch (command) {\n case 'play':\n player.play();\n break;\n case 'pause':\n player.pause();\n break;\n case 'reset':\n player.reset();\n break;\n case 'restart':\n player.restart();\n break;\n case 'finish':\n player.finish();\n break;\n case 'init':\n player.init();\n break;\n case 'setPosition':\n player.setPosition(parseFloat(args[0]));\n break;\n case 'destroy':\n this.destroy(id);\n break;\n }\n }\n}\n\nconst QUEUED_CLASSNAME = 'ng-animate-queued';\nconst QUEUED_SELECTOR = '.ng-animate-queued';\nconst DISABLED_CLASSNAME = 'ng-animate-disabled';\nconst DISABLED_SELECTOR = '.ng-animate-disabled';\nconst STAR_CLASSNAME = 'ng-star-inserted';\nconst STAR_SELECTOR = '.ng-star-inserted';\nconst EMPTY_PLAYER_ARRAY = [];\nconst NULL_REMOVAL_STATE = {\n namespaceId: '',\n setForRemoval: false,\n setForMove: false,\n hasAnimation: false,\n removedBeforeQueried: false,\n};\nconst NULL_REMOVED_QUERIED_STATE = {\n namespaceId: '',\n setForMove: false,\n setForRemoval: false,\n hasAnimation: false,\n removedBeforeQueried: true,\n};\nconst REMOVAL_FLAG = '__ng_removed';\nclass StateValue {\n get params() {\n return this.options.params;\n }\n constructor(input, namespaceId = '') {\n this.namespaceId = namespaceId;\n const isObj = input && input.hasOwnProperty('value');\n const value = isObj ? input['value'] : input;\n this.value = normalizeTriggerValue(value);\n if (isObj) {\n // we drop the value property from options.\n const { value, ...options } = input;\n this.options = options;\n }\n else {\n this.options = {};\n }\n if (!this.options.params) {\n this.options.params = {};\n }\n }\n absorbOptions(options) {\n const newParams = options.params;\n if (newParams) {\n const oldParams = this.options.params;\n Object.keys(newParams).forEach((prop) => {\n if (oldParams[prop] == null) {\n oldParams[prop] = newParams[prop];\n }\n });\n }\n }\n}\nconst VOID_VALUE = 'void';\nconst DEFAULT_STATE_VALUE = new StateValue(VOID_VALUE);\nclass AnimationTransitionNamespace {\n constructor(id, hostElement, _engine) {\n this.id = id;\n this.hostElement = hostElement;\n this._engine = _engine;\n this.players = [];\n this._triggers = new Map();\n this._queue = [];\n this._elementListeners = new Map();\n this._hostClassName = 'ng-tns-' + id;\n addClass(hostElement, this._hostClassName);\n }\n listen(element, name, phase, callback) {\n if (!this._triggers.has(name)) {\n throw missingTrigger(phase, name);\n }\n if (phase == null || phase.length == 0) {\n throw missingEvent(name);\n }\n if (!isTriggerEventValid(phase)) {\n throw unsupportedTriggerEvent(phase, name);\n }\n const listeners = getOrSetDefaultValue(this._elementListeners, element, []);\n const data = { name, phase, callback };\n listeners.push(data);\n const triggersWithStates = getOrSetDefaultValue(this._engine.statesByElement, element, new Map());\n if (!triggersWithStates.has(name)) {\n addClass(element, NG_TRIGGER_CLASSNAME);\n addClass(element, NG_TRIGGER_CLASSNAME + '-' + name);\n triggersWithStates.set(name, DEFAULT_STATE_VALUE);\n }\n return () => {\n // the event listener is removed AFTER the flush has occurred such\n // that leave animations callbacks can fire (otherwise if the node\n // is removed in between then the listeners would be deregistered)\n this._engine.afterFlush(() => {\n const index = listeners.indexOf(data);\n if (index >= 0) {\n listeners.splice(index, 1);\n }\n if (!this._triggers.has(name)) {\n triggersWithStates.delete(name);\n }\n });\n };\n }\n register(name, ast) {\n if (this._triggers.has(name)) {\n // throw\n return false;\n }\n else {\n this._triggers.set(name, ast);\n return true;\n }\n }\n _getTrigger(name) {\n const trigger = this._triggers.get(name);\n if (!trigger) {\n throw unregisteredTrigger(name);\n }\n return trigger;\n }\n trigger(element, triggerName, value, defaultToFallback = true) {\n const trigger = this._getTrigger(triggerName);\n const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n let triggersWithStates = this._engine.statesByElement.get(element);\n if (!triggersWithStates) {\n addClass(element, NG_TRIGGER_CLASSNAME);\n addClass(element, NG_TRIGGER_CLASSNAME + '-' + triggerName);\n this._engine.statesByElement.set(element, (triggersWithStates = new Map()));\n }\n let fromState = triggersWithStates.get(triggerName);\n const toState = new StateValue(value, this.id);\n const isObj = value && value.hasOwnProperty('value');\n if (!isObj && fromState) {\n toState.absorbOptions(fromState.options);\n }\n triggersWithStates.set(triggerName, toState);\n if (!fromState) {\n fromState = DEFAULT_STATE_VALUE;\n }\n const isRemoval = toState.value === VOID_VALUE;\n // normally this isn't reached by here, however, if an object expression\n // is passed in then it may be a new object each time. Comparing the value\n // is important since that will stay the same despite there being a new object.\n // The removal arc here is special cased because the same element is triggered\n // twice in the event that it contains animations on the outer/inner portions\n // of the host container\n if (!isRemoval && fromState.value === toState.value) {\n // this means that despite the value not changing, some inner params\n // have changed which means that the animation final styles need to be applied\n if (!objEquals(fromState.params, toState.params)) {\n const errors = [];\n const fromStyles = trigger.matchStyles(fromState.value, fromState.params, errors);\n const toStyles = trigger.matchStyles(toState.value, toState.params, errors);\n if (errors.length) {\n this._engine.reportError(errors);\n }\n else {\n this._engine.afterFlush(() => {\n eraseStyles(element, fromStyles);\n setStyles(element, toStyles);\n });\n }\n }\n return;\n }\n const playersOnElement = getOrSetDefaultValue(this._engine.playersByElement, element, []);\n playersOnElement.forEach((player) => {\n // only remove the player if it is queued on the EXACT same trigger/namespace\n // we only also deal with queued players here because if the animation has\n // started then we want to keep the player alive until the flush happens\n // (which is where the previousPlayers are passed into the new player)\n if (player.namespaceId == this.id && player.triggerName == triggerName && player.queued) {\n player.destroy();\n }\n });\n let transition = trigger.matchTransition(fromState.value, toState.value, element, toState.params);\n let isFallbackTransition = false;\n if (!transition) {\n if (!defaultToFallback)\n return;\n transition = trigger.fallbackTransition;\n isFallbackTransition = true;\n }\n this._engine.totalQueuedPlayers++;\n this._queue.push({\n element,\n triggerName,\n transition,\n fromState,\n toState,\n player,\n isFallbackTransition,\n });\n if (!isFallbackTransition) {\n addClass(element, QUEUED_CLASSNAME);\n player.onStart(() => {\n removeClass(element, QUEUED_CLASSNAME);\n });\n }\n player.onDone(() => {\n let index = this.players.indexOf(player);\n if (index >= 0) {\n this.players.splice(index, 1);\n }\n const players = this._engine.playersByElement.get(element);\n if (players) {\n let index = players.indexOf(player);\n if (index >= 0) {\n players.splice(index, 1);\n }\n }\n });\n this.players.push(player);\n playersOnElement.push(player);\n return player;\n }\n deregister(name) {\n this._triggers.delete(name);\n this._engine.statesByElement.forEach((stateMap) => stateMap.delete(name));\n this._elementListeners.forEach((listeners, element) => {\n this._elementListeners.set(element, listeners.filter((entry) => {\n return entry.name != name;\n }));\n });\n }\n clearElementCache(element) {\n this._engine.statesByElement.delete(element);\n this._elementListeners.delete(element);\n const elementPlayers = this._engine.playersByElement.get(element);\n if (elementPlayers) {\n elementPlayers.forEach((player) => player.destroy());\n this._engine.playersByElement.delete(element);\n }\n }\n _signalRemovalForInnerTriggers(rootElement, context) {\n const elements = this._engine.driver.query(rootElement, NG_TRIGGER_SELECTOR, true);\n // emulate a leave animation for all inner nodes within this node.\n // If there are no animations found for any of the nodes then clear the cache\n // for the element.\n elements.forEach((elm) => {\n // this means that an inner remove() operation has already kicked off\n // the animation on this element...\n if (elm[REMOVAL_FLAG])\n return;\n const namespaces = this._engine.fetchNamespacesByElement(elm);\n if (namespaces.size) {\n namespaces.forEach((ns) => ns.triggerLeaveAnimation(elm, context, false, true));\n }\n else {\n this.clearElementCache(elm);\n }\n });\n // If the child elements were removed along with the parent, their animations might not\n // have completed. Clear all the elements from the cache so we don't end up with a memory leak.\n this._engine.afterFlushAnimationsDone(() => elements.forEach((elm) => this.clearElementCache(elm)));\n }\n triggerLeaveAnimation(element, context, destroyAfterComplete, defaultToFallback) {\n const triggerStates = this._engine.statesByElement.get(element);\n const previousTriggersValues = new Map();\n if (triggerStates) {\n const players = [];\n triggerStates.forEach((state, triggerName) => {\n previousTriggersValues.set(triggerName, state.value);\n // this check is here in the event that an element is removed\n // twice (both on the host level and the component level)\n if (this._triggers.has(triggerName)) {\n const player = this.trigger(element, triggerName, VOID_VALUE, defaultToFallback);\n if (player) {\n players.push(player);\n }\n }\n });\n if (players.length) {\n this._engine.markElementAsRemoved(this.id, element, true, context, previousTriggersValues);\n if (destroyAfterComplete) {\n optimizeGroupPlayer(players).onDone(() => this._engine.processLeaveNode(element));\n }\n return true;\n }\n }\n return false;\n }\n prepareLeaveAnimationListeners(element) {\n const listeners = this._elementListeners.get(element);\n const elementStates = this._engine.statesByElement.get(element);\n // if this statement fails then it means that the element was picked up\n // by an earlier flush (or there are no listeners at all to track the leave).\n if (listeners && elementStates) {\n const visitedTriggers = new Set();\n listeners.forEach((listener) => {\n const triggerName = listener.name;\n if (visitedTriggers.has(triggerName))\n return;\n visitedTriggers.add(triggerName);\n const trigger = this._triggers.get(triggerName);\n const transition = trigger.fallbackTransition;\n const fromState = elementStates.get(triggerName) || DEFAULT_STATE_VALUE;\n const toState = new StateValue(VOID_VALUE);\n const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n this._engine.totalQueuedPlayers++;\n this._queue.push({\n element,\n triggerName,\n transition,\n fromState,\n toState,\n player,\n isFallbackTransition: true,\n });\n });\n }\n }\n removeNode(element, context) {\n const engine = this._engine;\n if (element.childElementCount) {\n this._signalRemovalForInnerTriggers(element, context);\n }\n // this means that a * => VOID animation was detected and kicked off\n if (this.triggerLeaveAnimation(element, context, true))\n return;\n // find the player that is animating and make sure that the\n // removal is delayed until that player has completed\n let containsPotentialParentTransition = false;\n if (engine.totalAnimations) {\n const currentPlayers = engine.players.length\n ? engine.playersByQueriedElement.get(element)\n : [];\n // when this `if statement` does not continue forward it means that\n // a previous animation query has selected the current element and\n // is animating it. In this situation want to continue forwards and\n // allow the element to be queued up for animation later.\n if (currentPlayers && currentPlayers.length) {\n containsPotentialParentTransition = true;\n }\n else {\n let parent = element;\n while ((parent = parent.parentNode)) {\n const triggers = engine.statesByElement.get(parent);\n if (triggers) {\n containsPotentialParentTransition = true;\n break;\n }\n }\n }\n }\n // at this stage we know that the element will either get removed\n // during flush or will be picked up by a parent query. Either way\n // we need to fire the listeners for this element when it DOES get\n // removed (once the query parent animation is done or after flush)\n this.prepareLeaveAnimationListeners(element);\n // whether or not a parent has an animation we need to delay the deferral of the leave\n // operation until we have more information (which we do after flush() has been called)\n if (containsPotentialParentTransition) {\n engine.markElementAsRemoved(this.id, element, false, context);\n }\n else {\n const removalFlag = element[REMOVAL_FLAG];\n if (!removalFlag || removalFlag === NULL_REMOVAL_STATE) {\n // we do this after the flush has occurred such\n // that the callbacks can be fired\n engine.afterFlush(() => this.clearElementCache(element));\n engine.destroyInnerAnimations(element);\n engine._onRemovalComplete(element, context);\n }\n }\n }\n insertNode(element, parent) {\n addClass(element, this._hostClassName);\n }\n drainQueuedTransitions(microtaskId) {\n const instructions = [];\n this._queue.forEach((entry) => {\n const player = entry.player;\n if (player.destroyed)\n return;\n const element = entry.element;\n const listeners = this._elementListeners.get(element);\n if (listeners) {\n listeners.forEach((listener) => {\n if (listener.name == entry.triggerName) {\n const baseEvent = makeAnimationEvent(element, entry.triggerName, entry.fromState.value, entry.toState.value);\n baseEvent['_data'] = microtaskId;\n listenOnPlayer(entry.player, listener.phase, baseEvent, listener.callback);\n }\n });\n }\n if (player.markedForDestroy) {\n this._engine.afterFlush(() => {\n // now we can destroy the element properly since the event listeners have\n // been bound to the player\n player.destroy();\n });\n }\n else {\n instructions.push(entry);\n }\n });\n this._queue = [];\n return instructions.sort((a, b) => {\n // if depCount == 0 them move to front\n // otherwise if a contains b then move back\n const d0 = a.transition.ast.depCount;\n const d1 = b.transition.ast.depCount;\n if (d0 == 0 || d1 == 0) {\n return d0 - d1;\n }\n return this._engine.driver.containsElement(a.element, b.element) ? 1 : -1;\n });\n }\n destroy(context) {\n this.players.forEach((p) => p.destroy());\n this._signalRemovalForInnerTriggers(this.hostElement, context);\n }\n}\nclass TransitionAnimationEngine {\n /** @internal */\n _onRemovalComplete(element, context) {\n this.onRemovalComplete(element, context);\n }\n constructor(bodyNode, driver, _normalizer) {\n this.bodyNode = bodyNode;\n this.driver = driver;\n this._normalizer = _normalizer;\n this.players = [];\n this.newHostElements = new Map();\n this.playersByElement = new Map();\n this.playersByQueriedElement = new Map();\n this.statesByElement = new Map();\n this.disabledNodes = new Set();\n this.totalAnimations = 0;\n this.totalQueuedPlayers = 0;\n this._namespaceLookup = {};\n this._namespaceList = [];\n this._flushFns = [];\n this._whenQuietFns = [];\n this.namespacesByHostElement = new Map();\n this.collectedEnterElements = [];\n this.collectedLeaveElements = [];\n // this method is designed to be overridden by the code that uses this engine\n this.onRemovalComplete = (element, context) => { };\n }\n get queuedPlayers() {\n const players = [];\n this._namespaceList.forEach((ns) => {\n ns.players.forEach((player) => {\n if (player.queued) {\n players.push(player);\n }\n });\n });\n return players;\n }\n createNamespace(namespaceId, hostElement) {\n const ns = new AnimationTransitionNamespace(namespaceId, hostElement, this);\n if (this.bodyNode && this.driver.containsElement(this.bodyNode, hostElement)) {\n this._balanceNamespaceList(ns, hostElement);\n }\n else {\n // defer this later until flush during when the host element has\n // been inserted so that we know exactly where to place it in\n // the namespace list\n this.newHostElements.set(hostElement, ns);\n // given that this host element is a part of the animation code, it\n // may or may not be inserted by a parent node that is of an\n // animation renderer type. If this happens then we can still have\n // access to this item when we query for :enter nodes. If the parent\n // is a renderer then the set data-structure will normalize the entry\n this.collectEnterElement(hostElement);\n }\n return (this._namespaceLookup[namespaceId] = ns);\n }\n _balanceNamespaceList(ns, hostElement) {\n const namespaceList = this._namespaceList;\n const namespacesByHostElement = this.namespacesByHostElement;\n const limit = namespaceList.length - 1;\n if (limit >= 0) {\n let found = false;\n // Find the closest ancestor with an existing namespace so we can then insert `ns` after it,\n // establishing a top-down ordering of namespaces in `this._namespaceList`.\n let ancestor = this.driver.getParentElement(hostElement);\n while (ancestor) {\n const ancestorNs = namespacesByHostElement.get(ancestor);\n if (ancestorNs) {\n // An animation namespace has been registered for this ancestor, so we insert `ns`\n // right after it to establish top-down ordering of animation namespaces.\n const index = namespaceList.indexOf(ancestorNs);\n namespaceList.splice(index + 1, 0, ns);\n found = true;\n break;\n }\n ancestor = this.driver.getParentElement(ancestor);\n }\n if (!found) {\n // No namespace exists that is an ancestor of `ns`, so `ns` is inserted at the front to\n // ensure that any existing descendants are ordered after `ns`, retaining the desired\n // top-down ordering.\n namespaceList.unshift(ns);\n }\n }\n else {\n namespaceList.push(ns);\n }\n namespacesByHostElement.set(hostElement, ns);\n return ns;\n }\n register(namespaceId, hostElement) {\n let ns = this._namespaceLookup[namespaceId];\n if (!ns) {\n ns = this.createNamespace(namespaceId, hostElement);\n }\n return ns;\n }\n registerTrigger(namespaceId, name, trigger) {\n let ns = this._namespaceLookup[namespaceId];\n if (ns && ns.register(name, trigger)) {\n this.totalAnimations++;\n }\n }\n destroy(namespaceId, context) {\n if (!namespaceId)\n return;\n this.afterFlush(() => { });\n this.afterFlushAnimationsDone(() => {\n const ns = this._fetchNamespace(namespaceId);\n this.namespacesByHostElement.delete(ns.hostElement);\n const index = this._namespaceList.indexOf(ns);\n if (index >= 0) {\n this._namespaceList.splice(index, 1);\n }\n ns.destroy(context);\n delete this._namespaceLookup[namespaceId];\n });\n }\n _fetchNamespace(id) {\n return this._namespaceLookup[id];\n }\n fetchNamespacesByElement(element) {\n // normally there should only be one namespace per element, however\n // if @triggers are placed on both the component element and then\n // its host element (within the component code) then there will be\n // two namespaces returned. We use a set here to simply deduplicate\n // the namespaces in case (for the reason described above) there are multiple triggers\n const namespaces = new Set();\n const elementStates = this.statesByElement.get(element);\n if (elementStates) {\n for (let stateValue of elementStates.values()) {\n if (stateValue.namespaceId) {\n const ns = this._fetchNamespace(stateValue.namespaceId);\n if (ns) {\n namespaces.add(ns);\n }\n }\n }\n }\n return namespaces;\n }\n trigger(namespaceId, element, name, value) {\n if (isElementNode(element)) {\n const ns = this._fetchNamespace(namespaceId);\n if (ns) {\n ns.trigger(element, name, value);\n return true;\n }\n }\n return false;\n }\n insertNode(namespaceId, element, parent, insertBefore) {\n if (!isElementNode(element))\n return;\n // special case for when an element is removed and reinserted (move operation)\n // when this occurs we do not want to use the element for deletion later\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n details.setForRemoval = false;\n details.setForMove = true;\n const index = this.collectedLeaveElements.indexOf(element);\n if (index >= 0) {\n this.collectedLeaveElements.splice(index, 1);\n }\n }\n // in the event that the namespaceId is blank then the caller\n // code does not contain any animation code in it, but it is\n // just being called so that the node is marked as being inserted\n if (namespaceId) {\n const ns = this._fetchNamespace(namespaceId);\n // This if-statement is a workaround for router issue #21947.\n // The router sometimes hits a race condition where while a route\n // is being instantiated a new navigation arrives, triggering leave\n // animation of DOM that has not been fully initialized, until this\n // is resolved, we need to handle the scenario when DOM is not in a\n // consistent state during the animation.\n if (ns) {\n ns.insertNode(element, parent);\n }\n }\n // only *directives and host elements are inserted before\n if (insertBefore) {\n this.collectEnterElement(element);\n }\n }\n collectEnterElement(element) {\n this.collectedEnterElements.push(element);\n }\n markElementAsDisabled(element, value) {\n if (value) {\n if (!this.disabledNodes.has(element)) {\n this.disabledNodes.add(element);\n addClass(element, DISABLED_CLASSNAME);\n }\n }\n else if (this.disabledNodes.has(element)) {\n this.disabledNodes.delete(element);\n removeClass(element, DISABLED_CLASSNAME);\n }\n }\n removeNode(namespaceId, element, context) {\n if (isElementNode(element)) {\n const ns = namespaceId ? this._fetchNamespace(namespaceId) : null;\n if (ns) {\n ns.removeNode(element, context);\n }\n else {\n this.markElementAsRemoved(namespaceId, element, false, context);\n }\n const hostNS = this.namespacesByHostElement.get(element);\n if (hostNS && hostNS.id !== namespaceId) {\n hostNS.removeNode(element, context);\n }\n }\n else {\n this._onRemovalComplete(element, context);\n }\n }\n markElementAsRemoved(namespaceId, element, hasAnimation, context, previousTriggersValues) {\n this.collectedLeaveElements.push(element);\n element[REMOVAL_FLAG] = {\n namespaceId,\n setForRemoval: context,\n hasAnimation,\n removedBeforeQueried: false,\n previousTriggersValues,\n };\n }\n listen(namespaceId, element, name, phase, callback) {\n if (isElementNode(element)) {\n return this._fetchNamespace(namespaceId).listen(element, name, phase, callback);\n }\n return () => { };\n }\n _buildInstruction(entry, subTimelines, enterClassName, leaveClassName, skipBuildAst) {\n return entry.transition.build(this.driver, entry.element, entry.fromState.value, entry.toState.value, enterClassName, leaveClassName, entry.fromState.options, entry.toState.options, subTimelines, skipBuildAst);\n }\n destroyInnerAnimations(containerElement) {\n let elements = this.driver.query(containerElement, NG_TRIGGER_SELECTOR, true);\n elements.forEach((element) => this.destroyActiveAnimationsForElement(element));\n if (this.playersByQueriedElement.size == 0)\n return;\n elements = this.driver.query(containerElement, NG_ANIMATING_SELECTOR, true);\n elements.forEach((element) => this.finishActiveQueriedAnimationOnElement(element));\n }\n destroyActiveAnimationsForElement(element) {\n const players = this.playersByElement.get(element);\n if (players) {\n players.forEach((player) => {\n // special case for when an element is set for destruction, but hasn't started.\n // in this situation we want to delay the destruction until the flush occurs\n // so that any event listeners attached to the player are triggered.\n if (player.queued) {\n player.markedForDestroy = true;\n }\n else {\n player.destroy();\n }\n });\n }\n }\n finishActiveQueriedAnimationOnElement(element) {\n const players = this.playersByQueriedElement.get(element);\n if (players) {\n players.forEach((player) => player.finish());\n }\n }\n whenRenderingDone() {\n return new Promise((resolve) => {\n if (this.players.length) {\n return optimizeGroupPlayer(this.players).onDone(() => resolve());\n }\n else {\n resolve();\n }\n });\n }\n processLeaveNode(element) {\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n // this will prevent it from removing it twice\n element[REMOVAL_FLAG] = NULL_REMOVAL_STATE;\n if (details.namespaceId) {\n this.destroyInnerAnimations(element);\n const ns = this._fetchNamespace(details.namespaceId);\n if (ns) {\n ns.clearElementCache(element);\n }\n }\n this._onRemovalComplete(element, details.setForRemoval);\n }\n if (element.classList?.contains(DISABLED_CLASSNAME)) {\n this.markElementAsDisabled(element, false);\n }\n this.driver.query(element, DISABLED_SELECTOR, true).forEach((node) => {\n this.markElementAsDisabled(node, false);\n });\n }\n flush(microtaskId = -1) {\n let players = [];\n if (this.newHostElements.size) {\n this.newHostElements.forEach((ns, element) => this._balanceNamespaceList(ns, element));\n this.newHostElements.clear();\n }\n if (this.totalAnimations && this.collectedEnterElements.length) {\n for (let i = 0; i < this.collectedEnterElements.length; i++) {\n const elm = this.collectedEnterElements[i];\n addClass(elm, STAR_CLASSNAME);\n }\n }\n if (this._namespaceList.length &&\n (this.totalQueuedPlayers || this.collectedLeaveElements.length)) {\n const cleanupFns = [];\n try {\n players = this._flushAnimations(cleanupFns, microtaskId);\n }\n finally {\n for (let i = 0; i < cleanupFns.length; i++) {\n cleanupFns[i]();\n }\n }\n }\n else {\n for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n const element = this.collectedLeaveElements[i];\n this.processLeaveNode(element);\n }\n }\n this.totalQueuedPlayers = 0;\n this.collectedEnterElements.length = 0;\n this.collectedLeaveElements.length = 0;\n this._flushFns.forEach((fn) => fn());\n this._flushFns = [];\n if (this._whenQuietFns.length) {\n // we move these over to a variable so that\n // if any new callbacks are registered in another\n // flush they do not populate the existing set\n const quietFns = this._whenQuietFns;\n this._whenQuietFns = [];\n if (players.length) {\n optimizeGroupPlayer(players).onDone(() => {\n quietFns.forEach((fn) => fn());\n });\n }\n else {\n quietFns.forEach((fn) => fn());\n }\n }\n }\n reportError(errors) {\n throw triggerTransitionsFailed(errors);\n }\n _flushAnimations(cleanupFns, microtaskId) {\n const subTimelines = new ElementInstructionMap();\n const skippedPlayers = [];\n const skippedPlayersMap = new Map();\n const queuedInstructions = [];\n const queriedElements = new Map();\n const allPreStyleElements = new Map();\n const allPostStyleElements = new Map();\n const disabledElementsSet = new Set();\n this.disabledNodes.forEach((node) => {\n disabledElementsSet.add(node);\n const nodesThatAreDisabled = this.driver.query(node, QUEUED_SELECTOR, true);\n for (let i = 0; i < nodesThatAreDisabled.length; i++) {\n disabledElementsSet.add(nodesThatAreDisabled[i]);\n }\n });\n const bodyNode = this.bodyNode;\n const allTriggerElements = Array.from(this.statesByElement.keys());\n const enterNodeMap = buildRootMap(allTriggerElements, this.collectedEnterElements);\n // this must occur before the instructions are built below such that\n // the :enter queries match the elements (since the timeline queries\n // are fired during instruction building).\n const enterNodeMapIds = new Map();\n let i = 0;\n enterNodeMap.forEach((nodes, root) => {\n const className = ENTER_CLASSNAME + i++;\n enterNodeMapIds.set(root, className);\n nodes.forEach((node) => addClass(node, className));\n });\n const allLeaveNodes = [];\n const mergedLeaveNodes = new Set();\n const leaveNodesWithoutAnimations = new Set();\n for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n const element = this.collectedLeaveElements[i];\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n allLeaveNodes.push(element);\n mergedLeaveNodes.add(element);\n if (details.hasAnimation) {\n this.driver\n .query(element, STAR_SELECTOR, true)\n .forEach((elm) => mergedLeaveNodes.add(elm));\n }\n else {\n leaveNodesWithoutAnimations.add(element);\n }\n }\n }\n const leaveNodeMapIds = new Map();\n const leaveNodeMap = buildRootMap(allTriggerElements, Array.from(mergedLeaveNodes));\n leaveNodeMap.forEach((nodes, root) => {\n const className = LEAVE_CLASSNAME + i++;\n leaveNodeMapIds.set(root, className);\n nodes.forEach((node) => addClass(node, className));\n });\n cleanupFns.push(() => {\n enterNodeMap.forEach((nodes, root) => {\n const className = enterNodeMapIds.get(root);\n nodes.forEach((node) => removeClass(node, className));\n });\n leaveNodeMap.forEach((nodes, root) => {\n const className = leaveNodeMapIds.get(root);\n nodes.forEach((node) => removeClass(node, className));\n });\n allLeaveNodes.forEach((element) => {\n this.processLeaveNode(element);\n });\n });\n const allPlayers = [];\n const erroneousTransitions = [];\n for (let i = this._namespaceList.length - 1; i >= 0; i--) {\n const ns = this._namespaceList[i];\n ns.drainQueuedTransitions(microtaskId).forEach((entry) => {\n const player = entry.player;\n const element = entry.element;\n allPlayers.push(player);\n if (this.collectedEnterElements.length) {\n const details = element[REMOVAL_FLAG];\n // animations for move operations (elements being removed and reinserted,\n // e.g. when the order of an *ngFor list changes) are currently not supported\n if (details && details.setForMove) {\n if (details.previousTriggersValues &&\n details.previousTriggersValues.has(entry.triggerName)) {\n const previousValue = details.previousTriggersValues.get(entry.triggerName);\n // we need to restore the previous trigger value since the element has\n // only been moved and hasn't actually left the DOM\n const triggersWithStates = this.statesByElement.get(entry.element);\n if (triggersWithStates && triggersWithStates.has(entry.triggerName)) {\n const state = triggersWithStates.get(entry.triggerName);\n state.value = previousValue;\n triggersWithStates.set(entry.triggerName, state);\n }\n }\n player.destroy();\n return;\n }\n }\n const nodeIsOrphaned = !bodyNode || !this.driver.containsElement(bodyNode, element);\n const leaveClassName = leaveNodeMapIds.get(element);\n const enterClassName = enterNodeMapIds.get(element);\n const instruction = this._buildInstruction(entry, subTimelines, enterClassName, leaveClassName, nodeIsOrphaned);\n if (instruction.errors && instruction.errors.length) {\n erroneousTransitions.push(instruction);\n return;\n }\n // even though the element may not be in the DOM, it may still\n // be added at a later point (due to the mechanics of content\n // projection and/or dynamic component insertion) therefore it's\n // important to still style the element.\n if (nodeIsOrphaned) {\n player.onStart(() => eraseStyles(element, instruction.fromStyles));\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n skippedPlayers.push(player);\n return;\n }\n // if an unmatched transition is queued and ready to go\n // then it SHOULD NOT render an animation and cancel the\n // previously running animations.\n if (entry.isFallbackTransition) {\n player.onStart(() => eraseStyles(element, instruction.fromStyles));\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n skippedPlayers.push(player);\n return;\n }\n // this means that if a parent animation uses this animation as a sub-trigger\n // then it will instruct the timeline builder not to add a player delay, but\n // instead stretch the first keyframe gap until the animation starts. This is\n // important in order to prevent extra initialization styles from being\n // required by the user for the animation.\n const timelines = [];\n instruction.timelines.forEach((tl) => {\n tl.stretchStartingKeyframe = true;\n if (!this.disabledNodes.has(tl.element)) {\n timelines.push(tl);\n }\n });\n instruction.timelines = timelines;\n subTimelines.append(element, instruction.timelines);\n const tuple = { instruction, player, element };\n queuedInstructions.push(tuple);\n instruction.queriedElements.forEach((element) => getOrSetDefaultValue(queriedElements, element, []).push(player));\n instruction.preStyleProps.forEach((stringMap, element) => {\n if (stringMap.size) {\n let setVal = allPreStyleElements.get(element);\n if (!setVal) {\n allPreStyleElements.set(element, (setVal = new Set()));\n }\n stringMap.forEach((_, prop) => setVal.add(prop));\n }\n });\n instruction.postStyleProps.forEach((stringMap, element) => {\n let setVal = allPostStyleElements.get(element);\n if (!setVal) {\n allPostStyleElements.set(element, (setVal = new Set()));\n }\n stringMap.forEach((_, prop) => setVal.add(prop));\n });\n });\n }\n if (erroneousTransitions.length) {\n const errors = [];\n erroneousTransitions.forEach((instruction) => {\n errors.push(transitionFailed(instruction.triggerName, instruction.errors));\n });\n allPlayers.forEach((player) => player.destroy());\n this.reportError(errors);\n }\n const allPreviousPlayersMap = new Map();\n // this map tells us which element in the DOM tree is contained by\n // which animation. Further down this map will get populated once\n // the players are built and in doing so we can use it to efficiently\n // figure out if a sub player is skipped due to a parent player having priority.\n const animationElementMap = new Map();\n queuedInstructions.forEach((entry) => {\n const element = entry.element;\n if (subTimelines.has(element)) {\n animationElementMap.set(element, element);\n this._beforeAnimationBuild(entry.player.namespaceId, entry.instruction, allPreviousPlayersMap);\n }\n });\n skippedPlayers.forEach((player) => {\n const element = player.element;\n const previousPlayers = this._getPreviousPlayers(element, false, player.namespaceId, player.triggerName, null);\n previousPlayers.forEach((prevPlayer) => {\n getOrSetDefaultValue(allPreviousPlayersMap, element, []).push(prevPlayer);\n prevPlayer.destroy();\n });\n });\n // this is a special case for nodes that will be removed either by\n // having their own leave animations or by being queried in a container\n // that will be removed once a parent animation is complete. The idea\n // here is that * styles must be identical to ! styles because of\n // backwards compatibility (* is also filled in by default in many places).\n // Otherwise * styles will return an empty value or \"auto\" since the element\n // passed to getComputedStyle will not be visible (since * === destination)\n const replaceNodes = allLeaveNodes.filter((node) => {\n return replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements);\n });\n // POST STAGE: fill the * styles\n const postStylesMap = new Map();\n const allLeaveQueriedNodes = cloakAndComputeStyles(postStylesMap, this.driver, leaveNodesWithoutAnimations, allPostStyleElements, AUTO_STYLE);\n allLeaveQueriedNodes.forEach((node) => {\n if (replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements)) {\n replaceNodes.push(node);\n }\n });\n // PRE STAGE: fill the ! styles\n const preStylesMap = new Map();\n enterNodeMap.forEach((nodes, root) => {\n cloakAndComputeStyles(preStylesMap, this.driver, new Set(nodes), allPreStyleElements, ɵPRE_STYLE);\n });\n replaceNodes.forEach((node) => {\n const post = postStylesMap.get(node);\n const pre = preStylesMap.get(node);\n postStylesMap.set(node, new Map([...(post?.entries() ?? []), ...(pre?.entries() ?? [])]));\n });\n const rootPlayers = [];\n const subPlayers = [];\n const NO_PARENT_ANIMATION_ELEMENT_DETECTED = {};\n queuedInstructions.forEach((entry) => {\n const { element, player, instruction } = entry;\n // this means that it was never consumed by a parent animation which\n // means that it is independent and therefore should be set for animation\n if (subTimelines.has(element)) {\n if (disabledElementsSet.has(element)) {\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n player.disabled = true;\n player.overrideTotalTime(instruction.totalTime);\n skippedPlayers.push(player);\n return;\n }\n // this will flow up the DOM and query the map to figure out\n // if a parent animation has priority over it. In the situation\n // that a parent is detected then it will cancel the loop. If\n // nothing is detected, or it takes a few hops to find a parent,\n // then it will fill in the missing nodes and signal them as having\n // a detected parent (or a NO_PARENT value via a special constant).\n let parentWithAnimation = NO_PARENT_ANIMATION_ELEMENT_DETECTED;\n if (animationElementMap.size > 1) {\n let elm = element;\n const parentsToAdd = [];\n while ((elm = elm.parentNode)) {\n const detectedParent = animationElementMap.get(elm);\n if (detectedParent) {\n parentWithAnimation = detectedParent;\n break;\n }\n parentsToAdd.push(elm);\n }\n parentsToAdd.forEach((parent) => animationElementMap.set(parent, parentWithAnimation));\n }\n const innerPlayer = this._buildAnimation(player.namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap);\n player.setRealPlayer(innerPlayer);\n if (parentWithAnimation === NO_PARENT_ANIMATION_ELEMENT_DETECTED) {\n rootPlayers.push(player);\n }\n else {\n const parentPlayers = this.playersByElement.get(parentWithAnimation);\n if (parentPlayers && parentPlayers.length) {\n player.parentPlayer = optimizeGroupPlayer(parentPlayers);\n }\n skippedPlayers.push(player);\n }\n }\n else {\n eraseStyles(element, instruction.fromStyles);\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n // there still might be a ancestor player animating this\n // element therefore we will still add it as a sub player\n // even if its animation may be disabled\n subPlayers.push(player);\n if (disabledElementsSet.has(element)) {\n skippedPlayers.push(player);\n }\n }\n });\n // find all of the sub players' corresponding inner animation players\n subPlayers.forEach((player) => {\n // even if no players are found for a sub animation it\n // will still complete itself after the next tick since it's Noop\n const playersForElement = skippedPlayersMap.get(player.element);\n if (playersForElement && playersForElement.length) {\n const innerPlayer = optimizeGroupPlayer(playersForElement);\n player.setRealPlayer(innerPlayer);\n }\n });\n // the reason why we don't actually play the animation is\n // because all that a skipped player is designed to do is to\n // fire the start/done transition callback events\n skippedPlayers.forEach((player) => {\n if (player.parentPlayer) {\n player.syncPlayerEvents(player.parentPlayer);\n }\n else {\n player.destroy();\n }\n });\n // run through all of the queued removals and see if they\n // were picked up by a query. If not then perform the removal\n // operation right away unless a parent animation is ongoing.\n for (let i = 0; i < allLeaveNodes.length; i++) {\n const element = allLeaveNodes[i];\n const details = element[REMOVAL_FLAG];\n removeClass(element, LEAVE_CLASSNAME);\n // this means the element has a removal animation that is being\n // taken care of and therefore the inner elements will hang around\n // until that animation is over (or the parent queried animation)\n if (details && details.hasAnimation)\n continue;\n let players = [];\n // if this element is queried or if it contains queried children\n // then we want for the element not to be removed from the page\n // until the queried animations have finished\n if (queriedElements.size) {\n let queriedPlayerResults = queriedElements.get(element);\n if (queriedPlayerResults && queriedPlayerResults.length) {\n players.push(...queriedPlayerResults);\n }\n let queriedInnerElements = this.driver.query(element, NG_ANIMATING_SELECTOR, true);\n for (let j = 0; j < queriedInnerElements.length; j++) {\n let queriedPlayers = queriedElements.get(queriedInnerElements[j]);\n if (queriedPlayers && queriedPlayers.length) {\n players.push(...queriedPlayers);\n }\n }\n }\n const activePlayers = players.filter((p) => !p.destroyed);\n if (activePlayers.length) {\n removeNodesAfterAnimationDone(this, element, activePlayers);\n }\n else {\n this.processLeaveNode(element);\n }\n }\n // this is required so the cleanup method doesn't remove them\n allLeaveNodes.length = 0;\n rootPlayers.forEach((player) => {\n this.players.push(player);\n player.onDone(() => {\n player.destroy();\n const index = this.players.indexOf(player);\n this.players.splice(index, 1);\n });\n player.play();\n });\n return rootPlayers;\n }\n afterFlush(callback) {\n this._flushFns.push(callback);\n }\n afterFlushAnimationsDone(callback) {\n this._whenQuietFns.push(callback);\n }\n _getPreviousPlayers(element, isQueriedElement, namespaceId, triggerName, toStateValue) {\n let players = [];\n if (isQueriedElement) {\n const queriedElementPlayers = this.playersByQueriedElement.get(element);\n if (queriedElementPlayers) {\n players = queriedElementPlayers;\n }\n }\n else {\n const elementPlayers = this.playersByElement.get(element);\n if (elementPlayers) {\n const isRemovalAnimation = !toStateValue || toStateValue == VOID_VALUE;\n elementPlayers.forEach((player) => {\n if (player.queued)\n return;\n if (!isRemovalAnimation && player.triggerName != triggerName)\n return;\n players.push(player);\n });\n }\n }\n if (namespaceId || triggerName) {\n players = players.filter((player) => {\n if (namespaceId && namespaceId != player.namespaceId)\n return false;\n if (triggerName && triggerName != player.triggerName)\n return false;\n return true;\n });\n }\n return players;\n }\n _beforeAnimationBuild(namespaceId, instruction, allPreviousPlayersMap) {\n const triggerName = instruction.triggerName;\n const rootElement = instruction.element;\n // when a removal animation occurs, ALL previous players are collected\n // and destroyed (even if they are outside of the current namespace)\n const targetNameSpaceId = instruction.isRemovalTransition\n ? undefined\n : namespaceId;\n const targetTriggerName = instruction.isRemovalTransition\n ? undefined\n : triggerName;\n for (const timelineInstruction of instruction.timelines) {\n const element = timelineInstruction.element;\n const isQueriedElement = element !== rootElement;\n const players = getOrSetDefaultValue(allPreviousPlayersMap, element, []);\n const previousPlayers = this._getPreviousPlayers(element, isQueriedElement, targetNameSpaceId, targetTriggerName, instruction.toState);\n previousPlayers.forEach((player) => {\n const realPlayer = player.getRealPlayer();\n if (realPlayer.beforeDestroy) {\n realPlayer.beforeDestroy();\n }\n player.destroy();\n players.push(player);\n });\n }\n // this needs to be done so that the PRE/POST styles can be\n // computed properly without interfering with the previous animation\n eraseStyles(rootElement, instruction.fromStyles);\n }\n _buildAnimation(namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap) {\n const triggerName = instruction.triggerName;\n const rootElement = instruction.element;\n // we first run this so that the previous animation player\n // data can be passed into the successive animation players\n const allQueriedPlayers = [];\n const allConsumedElements = new Set();\n const allSubElements = new Set();\n const allNewPlayers = instruction.timelines.map((timelineInstruction) => {\n const element = timelineInstruction.element;\n allConsumedElements.add(element);\n // FIXME (matsko): make sure to-be-removed animations are removed properly\n const details = element[REMOVAL_FLAG];\n if (details && details.removedBeforeQueried)\n return new NoopAnimationPlayer(timelineInstruction.duration, timelineInstruction.delay);\n const isQueriedElement = element !== rootElement;\n const previousPlayers = flattenGroupPlayers((allPreviousPlayersMap.get(element) || EMPTY_PLAYER_ARRAY).map((p) => p.getRealPlayer())).filter((p) => {\n // the `element` is not apart of the AnimationPlayer definition, but\n // Mock/WebAnimations\n // use the element within their implementation. This will be added in Angular5 to\n // AnimationPlayer\n const pp = p;\n return pp.element ? pp.element === element : false;\n });\n const preStyles = preStylesMap.get(element);\n const postStyles = postStylesMap.get(element);\n const keyframes = normalizeKeyframes$1(this._normalizer, timelineInstruction.keyframes, preStyles, postStyles);\n const player = this._buildPlayer(timelineInstruction, keyframes, previousPlayers);\n // this means that this particular player belongs to a sub trigger. It is\n // important that we match this player up with the corresponding (@trigger.listener)\n if (timelineInstruction.subTimeline && skippedPlayersMap) {\n allSubElements.add(element);\n }\n if (isQueriedElement) {\n const wrappedPlayer = new TransitionAnimationPlayer(namespaceId, triggerName, element);\n wrappedPlayer.setRealPlayer(player);\n allQueriedPlayers.push(wrappedPlayer);\n }\n return player;\n });\n allQueriedPlayers.forEach((player) => {\n getOrSetDefaultValue(this.playersByQueriedElement, player.element, []).push(player);\n player.onDone(() => deleteOrUnsetInMap(this.playersByQueriedElement, player.element, player));\n });\n allConsumedElements.forEach((element) => addClass(element, NG_ANIMATING_CLASSNAME));\n const player = optimizeGroupPlayer(allNewPlayers);\n player.onDestroy(() => {\n allConsumedElements.forEach((element) => removeClass(element, NG_ANIMATING_CLASSNAME));\n setStyles(rootElement, instruction.toStyles);\n });\n // this basically makes all of the callbacks for sub element animations\n // be dependent on the upper players for when they finish\n allSubElements.forEach((element) => {\n getOrSetDefaultValue(skippedPlayersMap, element, []).push(player);\n });\n return player;\n }\n _buildPlayer(instruction, keyframes, previousPlayers) {\n if (keyframes.length > 0) {\n return this.driver.animate(instruction.element, keyframes, instruction.duration, instruction.delay, instruction.easing, previousPlayers);\n }\n // special case for when an empty transition|definition is provided\n // ... there is no point in rendering an empty animation\n return new NoopAnimationPlayer(instruction.duration, instruction.delay);\n }\n}\nclass TransitionAnimationPlayer {\n constructor(namespaceId, triggerName, element) {\n this.namespaceId = namespaceId;\n this.triggerName = triggerName;\n this.element = element;\n this._player = new NoopAnimationPlayer();\n this._containsRealPlayer = false;\n this._queuedCallbacks = new Map();\n this.destroyed = false;\n this.parentPlayer = null;\n this.markedForDestroy = false;\n this.disabled = false;\n this.queued = true;\n this.totalTime = 0;\n }\n setRealPlayer(player) {\n if (this._containsRealPlayer)\n return;\n this._player = player;\n this._queuedCallbacks.forEach((callbacks, phase) => {\n callbacks.forEach((callback) => listenOnPlayer(player, phase, undefined, callback));\n });\n this._queuedCallbacks.clear();\n this._containsRealPlayer = true;\n this.overrideTotalTime(player.totalTime);\n this.queued = false;\n }\n getRealPlayer() {\n return this._player;\n }\n overrideTotalTime(totalTime) {\n this.totalTime = totalTime;\n }\n syncPlayerEvents(player) {\n const p = this._player;\n if (p.triggerCallback) {\n player.onStart(() => p.triggerCallback('start'));\n }\n player.onDone(() => this.finish());\n player.onDestroy(() => this.destroy());\n }\n _queueEvent(name, callback) {\n getOrSetDefaultValue(this._queuedCallbacks, name, []).push(callback);\n }\n onDone(fn) {\n if (this.queued) {\n this._queueEvent('done', fn);\n }\n this._player.onDone(fn);\n }\n onStart(fn) {\n if (this.queued) {\n this._queueEvent('start', fn);\n }\n this._player.onStart(fn);\n }\n onDestroy(fn) {\n if (this.queued) {\n this._queueEvent('destroy', fn);\n }\n this._player.onDestroy(fn);\n }\n init() {\n this._player.init();\n }\n hasStarted() {\n return this.queued ? false : this._player.hasStarted();\n }\n play() {\n !this.queued && this._player.play();\n }\n pause() {\n !this.queued && this._player.pause();\n }\n restart() {\n !this.queued && this._player.restart();\n }\n finish() {\n this._player.finish();\n }\n destroy() {\n this.destroyed = true;\n this._player.destroy();\n }\n reset() {\n !this.queued && this._player.reset();\n }\n setPosition(p) {\n if (!this.queued) {\n this._player.setPosition(p);\n }\n }\n getPosition() {\n return this.queued ? 0 : this._player.getPosition();\n }\n /** @internal */\n triggerCallback(phaseName) {\n const p = this._player;\n if (p.triggerCallback) {\n p.triggerCallback(phaseName);\n }\n }\n}\nfunction deleteOrUnsetInMap(map, key, value) {\n let currentValues = map.get(key);\n if (currentValues) {\n if (currentValues.length) {\n const index = currentValues.indexOf(value);\n currentValues.splice(index, 1);\n }\n if (currentValues.length == 0) {\n map.delete(key);\n }\n }\n return currentValues;\n}\nfunction normalizeTriggerValue(value) {\n // we use `!= null` here because it's the most simple\n // way to test against a \"falsy\" value without mixing\n // in empty strings or a zero value. DO NOT OPTIMIZE.\n return value != null ? value : null;\n}\nfunction isElementNode(node) {\n return node && node['nodeType'] === 1;\n}\nfunction isTriggerEventValid(eventName) {\n return eventName == 'start' || eventName == 'done';\n}\nfunction cloakElement(element, value) {\n const oldValue = element.style.display;\n element.style.display = value != null ? value : 'none';\n return oldValue;\n}\nfunction cloakAndComputeStyles(valuesMap, driver, elements, elementPropsMap, defaultStyle) {\n const cloakVals = [];\n elements.forEach((element) => cloakVals.push(cloakElement(element)));\n const failedElements = [];\n elementPropsMap.forEach((props, element) => {\n const styles = new Map();\n props.forEach((prop) => {\n const value = driver.computeStyle(element, prop, defaultStyle);\n styles.set(prop, value);\n // there is no easy way to detect this because a sub element could be removed\n // by a parent animation element being detached.\n if (!value || value.length == 0) {\n element[REMOVAL_FLAG] = NULL_REMOVED_QUERIED_STATE;\n failedElements.push(element);\n }\n });\n valuesMap.set(element, styles);\n });\n // we use a index variable here since Set.forEach(a, i) does not return\n // an index value for the closure (but instead just the value)\n let i = 0;\n elements.forEach((element) => cloakElement(element, cloakVals[i++]));\n return failedElements;\n}\n/*\nSince the Angular renderer code will return a collection of inserted\nnodes in all areas of a DOM tree, it's up to this algorithm to figure\nout which nodes are roots for each animation @trigger.\n\nBy placing each inserted node into a Set and traversing upwards, it\nis possible to find the @trigger elements and well any direct *star\ninsertion nodes, if a @trigger root is found then the enter element\nis placed into the Map[@trigger] spot.\n */\nfunction buildRootMap(roots, nodes) {\n const rootMap = new Map();\n roots.forEach((root) => rootMap.set(root, []));\n if (nodes.length == 0)\n return rootMap;\n const NULL_NODE = 1;\n const nodeSet = new Set(nodes);\n const localRootMap = new Map();\n function getRoot(node) {\n if (!node)\n return NULL_NODE;\n let root = localRootMap.get(node);\n if (root)\n return root;\n const parent = node.parentNode;\n if (rootMap.has(parent)) {\n // ngIf inside @trigger\n root = parent;\n }\n else if (nodeSet.has(parent)) {\n // ngIf inside ngIf\n root = NULL_NODE;\n }\n else {\n // recurse upwards\n root = getRoot(parent);\n }\n localRootMap.set(node, root);\n return root;\n }\n nodes.forEach((node) => {\n const root = getRoot(node);\n if (root !== NULL_NODE) {\n rootMap.get(root).push(node);\n }\n });\n return rootMap;\n}\nfunction addClass(element, className) {\n element.classList?.add(className);\n}\nfunction removeClass(element, className) {\n element.classList?.remove(className);\n}\nfunction removeNodesAfterAnimationDone(engine, element, players) {\n optimizeGroupPlayer(players).onDone(() => engine.processLeaveNode(element));\n}\nfunction flattenGroupPlayers(players) {\n const finalPlayers = [];\n _flattenGroupPlayersRecur(players, finalPlayers);\n return finalPlayers;\n}\nfunction _flattenGroupPlayersRecur(players, finalPlayers) {\n for (let i = 0; i < players.length; i++) {\n const player = players[i];\n if (player instanceof ɵAnimationGroupPlayer) {\n _flattenGroupPlayersRecur(player.players, finalPlayers);\n }\n else {\n finalPlayers.push(player);\n }\n }\n}\nfunction objEquals(a, b) {\n const k1 = Object.keys(a);\n const k2 = Object.keys(b);\n if (k1.length != k2.length)\n return false;\n for (let i = 0; i < k1.length; i++) {\n const prop = k1[i];\n if (!b.hasOwnProperty(prop) || a[prop] !== b[prop])\n return false;\n }\n return true;\n}\nfunction replacePostStylesAsPre(element, allPreStyleElements, allPostStyleElements) {\n const postEntry = allPostStyleElements.get(element);\n if (!postEntry)\n return false;\n let preEntry = allPreStyleElements.get(element);\n if (preEntry) {\n postEntry.forEach((data) => preEntry.add(data));\n }\n else {\n allPreStyleElements.set(element, postEntry);\n }\n allPostStyleElements.delete(element);\n return true;\n}\n\nclass AnimationEngine {\n constructor(doc, _driver, _normalizer) {\n this._driver = _driver;\n this._normalizer = _normalizer;\n this._triggerCache = {};\n // this method is designed to be overridden by the code that uses this engine\n this.onRemovalComplete = (element, context) => { };\n this._transitionEngine = new TransitionAnimationEngine(doc.body, _driver, _normalizer);\n this._timelineEngine = new TimelineAnimationEngine(doc.body, _driver, _normalizer);\n this._transitionEngine.onRemovalComplete = (element, context) => this.onRemovalComplete(element, context);\n }\n registerTrigger(componentId, namespaceId, hostElement, name, metadata) {\n const cacheKey = componentId + '-' + name;\n let trigger = this._triggerCache[cacheKey];\n if (!trigger) {\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(this._driver, metadata, errors, warnings);\n if (errors.length) {\n throw triggerBuildFailed(name, errors);\n }\n if (warnings.length) {\n warnTriggerBuild(name, warnings);\n }\n trigger = buildTrigger(name, ast, this._normalizer);\n this._triggerCache[cacheKey] = trigger;\n }\n this._transitionEngine.registerTrigger(namespaceId, name, trigger);\n }\n register(namespaceId, hostElement) {\n this._transitionEngine.register(namespaceId, hostElement);\n }\n destroy(namespaceId, context) {\n this._transitionEngine.destroy(namespaceId, context);\n }\n onInsert(namespaceId, element, parent, insertBefore) {\n this._transitionEngine.insertNode(namespaceId, element, parent, insertBefore);\n }\n onRemove(namespaceId, element, context) {\n this._transitionEngine.removeNode(namespaceId, element, context);\n }\n disableAnimations(element, disable) {\n this._transitionEngine.markElementAsDisabled(element, disable);\n }\n process(namespaceId, element, property, value) {\n if (property.charAt(0) == '@') {\n const [id, action] = parseTimelineCommand(property);\n const args = value;\n this._timelineEngine.command(id, element, action, args);\n }\n else {\n this._transitionEngine.trigger(namespaceId, element, property, value);\n }\n }\n listen(namespaceId, element, eventName, eventPhase, callback) {\n // @@listen\n if (eventName.charAt(0) == '@') {\n const [id, action] = parseTimelineCommand(eventName);\n return this._timelineEngine.listen(id, element, action, callback);\n }\n return this._transitionEngine.listen(namespaceId, element, eventName, eventPhase, callback);\n }\n flush(microtaskId = -1) {\n this._transitionEngine.flush(microtaskId);\n }\n get players() {\n return [...this._transitionEngine.players, ...this._timelineEngine.players];\n }\n whenRenderingDone() {\n return this._transitionEngine.whenRenderingDone();\n }\n afterFlushAnimationsDone(cb) {\n this._transitionEngine.afterFlushAnimationsDone(cb);\n }\n}\n\n/**\n * Returns an instance of `SpecialCasedStyles` if and when any special (non animateable) styles are\n * detected.\n *\n * In CSS there exist properties that cannot be animated within a keyframe animation\n * (whether it be via CSS keyframes or web-animations) and the animation implementation\n * will ignore them. This function is designed to detect those special cased styles and\n * return a container that will be executed at the start and end of the animation.\n *\n * @returns an instance of `SpecialCasedStyles` if any special styles are detected otherwise `null`\n */\nfunction packageNonAnimatableStyles(element, styles) {\n let startStyles = null;\n let endStyles = null;\n if (Array.isArray(styles) && styles.length) {\n startStyles = filterNonAnimatableStyles(styles[0]);\n if (styles.length > 1) {\n endStyles = filterNonAnimatableStyles(styles[styles.length - 1]);\n }\n }\n else if (styles instanceof Map) {\n startStyles = filterNonAnimatableStyles(styles);\n }\n return startStyles || endStyles ? new SpecialCasedStyles(element, startStyles, endStyles) : null;\n}\n/**\n * Designed to be executed during a keyframe-based animation to apply any special-cased styles.\n *\n * When started (when the `start()` method is run) then the provided `startStyles`\n * will be applied. When finished (when the `finish()` method is called) the\n * `endStyles` will be applied as well any any starting styles. Finally when\n * `destroy()` is called then all styles will be removed.\n */\nclass SpecialCasedStyles {\n static { this.initialStylesByElement = new WeakMap(); }\n constructor(_element, _startStyles, _endStyles) {\n this._element = _element;\n this._startStyles = _startStyles;\n this._endStyles = _endStyles;\n this._state = 0 /* SpecialCasedStylesState.Pending */;\n let initialStyles = SpecialCasedStyles.initialStylesByElement.get(_element);\n if (!initialStyles) {\n SpecialCasedStyles.initialStylesByElement.set(_element, (initialStyles = new Map()));\n }\n this._initialStyles = initialStyles;\n }\n start() {\n if (this._state < 1 /* SpecialCasedStylesState.Started */) {\n if (this._startStyles) {\n setStyles(this._element, this._startStyles, this._initialStyles);\n }\n this._state = 1 /* SpecialCasedStylesState.Started */;\n }\n }\n finish() {\n this.start();\n if (this._state < 2 /* SpecialCasedStylesState.Finished */) {\n setStyles(this._element, this._initialStyles);\n if (this._endStyles) {\n setStyles(this._element, this._endStyles);\n this._endStyles = null;\n }\n this._state = 1 /* SpecialCasedStylesState.Started */;\n }\n }\n destroy() {\n this.finish();\n if (this._state < 3 /* SpecialCasedStylesState.Destroyed */) {\n SpecialCasedStyles.initialStylesByElement.delete(this._element);\n if (this._startStyles) {\n eraseStyles(this._element, this._startStyles);\n this._endStyles = null;\n }\n if (this._endStyles) {\n eraseStyles(this._element, this._endStyles);\n this._endStyles = null;\n }\n setStyles(this._element, this._initialStyles);\n this._state = 3 /* SpecialCasedStylesState.Destroyed */;\n }\n }\n}\nfunction filterNonAnimatableStyles(styles) {\n let result = null;\n styles.forEach((val, prop) => {\n if (isNonAnimatableStyle(prop)) {\n result = result || new Map();\n result.set(prop, val);\n }\n });\n return result;\n}\nfunction isNonAnimatableStyle(prop) {\n return prop === 'display' || prop === 'position';\n}\n\nclass WebAnimationsPlayer {\n constructor(element, keyframes, options, _specialStyles) {\n this.element = element;\n this.keyframes = keyframes;\n this.options = options;\n this._specialStyles = _specialStyles;\n this._onDoneFns = [];\n this._onStartFns = [];\n this._onDestroyFns = [];\n this._initialized = false;\n this._finished = false;\n this._started = false;\n this._destroyed = false;\n // the following original fns are persistent copies of the _onStartFns and _onDoneFns\n // and are used to reset the fns to their original values upon reset()\n // (since the _onStartFns and _onDoneFns get deleted after they are called)\n this._originalOnDoneFns = [];\n this._originalOnStartFns = [];\n this.time = 0;\n this.parentPlayer = null;\n this.currentSnapshot = new Map();\n this._duration = options['duration'];\n this._delay = options['delay'] || 0;\n this.time = this._duration + this._delay;\n }\n _onFinish() {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach((fn) => fn());\n this._onDoneFns = [];\n }\n }\n init() {\n this._buildPlayer();\n this._preparePlayerBeforeStart();\n }\n _buildPlayer() {\n if (this._initialized)\n return;\n this._initialized = true;\n const keyframes = this.keyframes;\n // @ts-expect-error overwriting a readonly property\n this.domPlayer = this._triggerWebAnimation(this.element, keyframes, this.options);\n this._finalKeyframe = keyframes.length ? keyframes[keyframes.length - 1] : new Map();\n const onFinish = () => this._onFinish();\n this.domPlayer.addEventListener('finish', onFinish);\n this.onDestroy(() => {\n // We must remove the `finish` event listener once an animation has completed all its\n // iterations. This action is necessary to prevent a memory leak since the listener captures\n // `this`, creating a closure that prevents `this` from being garbage collected.\n this.domPlayer.removeEventListener('finish', onFinish);\n });\n }\n _preparePlayerBeforeStart() {\n // this is required so that the player doesn't start to animate right away\n if (this._delay) {\n this._resetDomPlayerState();\n }\n else {\n this.domPlayer.pause();\n }\n }\n _convertKeyframesToObject(keyframes) {\n const kfs = [];\n keyframes.forEach((frame) => {\n kfs.push(Object.fromEntries(frame));\n });\n return kfs;\n }\n /** @internal */\n _triggerWebAnimation(element, keyframes, options) {\n return element.animate(this._convertKeyframesToObject(keyframes), options);\n }\n onStart(fn) {\n this._originalOnStartFns.push(fn);\n this._onStartFns.push(fn);\n }\n onDone(fn) {\n this._originalOnDoneFns.push(fn);\n this._onDoneFns.push(fn);\n }\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n play() {\n this._buildPlayer();\n if (!this.hasStarted()) {\n this._onStartFns.forEach((fn) => fn());\n this._onStartFns = [];\n this._started = true;\n if (this._specialStyles) {\n this._specialStyles.start();\n }\n }\n this.domPlayer.play();\n }\n pause() {\n this.init();\n this.domPlayer.pause();\n }\n finish() {\n this.init();\n if (this._specialStyles) {\n this._specialStyles.finish();\n }\n this._onFinish();\n this.domPlayer.finish();\n }\n reset() {\n this._resetDomPlayerState();\n this._destroyed = false;\n this._finished = false;\n this._started = false;\n this._onStartFns = this._originalOnStartFns;\n this._onDoneFns = this._originalOnDoneFns;\n }\n _resetDomPlayerState() {\n if (this.domPlayer) {\n this.domPlayer.cancel();\n }\n }\n restart() {\n this.reset();\n this.play();\n }\n hasStarted() {\n return this._started;\n }\n destroy() {\n if (!this._destroyed) {\n this._destroyed = true;\n this._resetDomPlayerState();\n this._onFinish();\n if (this._specialStyles) {\n this._specialStyles.destroy();\n }\n this._onDestroyFns.forEach((fn) => fn());\n this._onDestroyFns = [];\n }\n }\n setPosition(p) {\n if (this.domPlayer === undefined) {\n this.init();\n }\n this.domPlayer.currentTime = p * this.time;\n }\n getPosition() {\n // tsc is complaining with TS2362 without the conversion to number\n return +(this.domPlayer.currentTime ?? 0) / this.time;\n }\n get totalTime() {\n return this._delay + this._duration;\n }\n beforeDestroy() {\n const styles = new Map();\n if (this.hasStarted()) {\n // note: this code is invoked only when the `play` function was called prior to this\n // (thus `hasStarted` returns true), this implies that the code that initializes\n // `_finalKeyframe` has also been executed and the non-null assertion can be safely used here\n const finalKeyframe = this._finalKeyframe;\n finalKeyframe.forEach((val, prop) => {\n if (prop !== 'offset') {\n styles.set(prop, this._finished ? val : computeStyle(this.element, prop));\n }\n });\n }\n this.currentSnapshot = styles;\n }\n /** @internal */\n triggerCallback(phaseName) {\n const methods = phaseName === 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach((fn) => fn());\n methods.length = 0;\n }\n}\n\nclass WebAnimationsDriver {\n validateStyleProperty(prop) {\n // Perform actual validation in dev mode only, in prod mode this check is a noop.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n return validateStyleProperty(prop);\n }\n return true;\n }\n validateAnimatableStyleProperty(prop) {\n // Perform actual validation in dev mode only, in prod mode this check is a noop.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n const cssProp = camelCaseToDashCase(prop);\n return validateWebAnimatableStyleProperty(cssProp);\n }\n return true;\n }\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n getParentElement(element) {\n return getParentElement(element);\n }\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n computeStyle(element, prop, defaultValue) {\n return computeStyle(element, prop);\n }\n animate(element, keyframes, duration, delay, easing, previousPlayers = []) {\n const fill = delay == 0 ? 'both' : 'forwards';\n const playerOptions = { duration, delay, fill };\n // we check for this to avoid having a null|undefined value be present\n // for the easing (which results in an error for certain browsers #9752)\n if (easing) {\n playerOptions['easing'] = easing;\n }\n const previousStyles = new Map();\n const previousWebAnimationPlayers = (previousPlayers.filter((player) => player instanceof WebAnimationsPlayer));\n if (allowPreviousPlayerStylesMerge(duration, delay)) {\n previousWebAnimationPlayers.forEach((player) => {\n player.currentSnapshot.forEach((val, prop) => previousStyles.set(prop, val));\n });\n }\n let _keyframes = normalizeKeyframes(keyframes).map((styles) => new Map(styles));\n _keyframes = balancePreviousStylesIntoKeyframes(element, _keyframes, previousStyles);\n const specialStyles = packageNonAnimatableStyles(element, _keyframes);\n return new WebAnimationsPlayer(element, _keyframes, playerOptions, specialStyles);\n }\n}\n\nfunction createEngine(type, doc) {\n // TODO: find a way to make this tree shakable.\n if (type === 'noop') {\n return new AnimationEngine(doc, new NoopAnimationDriver(), new NoopAnimationStyleNormalizer());\n }\n return new AnimationEngine(doc, new WebAnimationsDriver(), new WebAnimationsStyleNormalizer());\n}\n\nclass Animation {\n constructor(_driver, input) {\n this._driver = _driver;\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(_driver, input, errors, warnings);\n if (errors.length) {\n throw validationFailed(errors);\n }\n if (warnings.length) {\n warnValidation(warnings);\n }\n this._animationAst = ast;\n }\n buildTimelines(element, startingStyles, destinationStyles, options, subInstructions) {\n const start = Array.isArray(startingStyles)\n ? normalizeStyles(startingStyles)\n : startingStyles;\n const dest = Array.isArray(destinationStyles)\n ? normalizeStyles(destinationStyles)\n : destinationStyles;\n const errors = [];\n subInstructions = subInstructions || new ElementInstructionMap();\n const result = buildAnimationTimelines(this._driver, element, this._animationAst, ENTER_CLASSNAME, LEAVE_CLASSNAME, start, dest, options, subInstructions, errors);\n if (errors.length) {\n throw buildingFailed(errors);\n }\n return result;\n }\n}\n\nconst ANIMATION_PREFIX = '@';\nconst DISABLE_ANIMATIONS_FLAG = '@.disabled';\nclass BaseAnimationRenderer {\n constructor(namespaceId, delegate, engine, _onDestroy) {\n this.namespaceId = namespaceId;\n this.delegate = delegate;\n this.engine = engine;\n this._onDestroy = _onDestroy;\n // We need to explicitly type this property because of an api-extractor bug\n // See https://github.com/microsoft/rushstack/issues/4390\n this.ɵtype = 0 /* AnimationRendererType.Regular */;\n }\n get data() {\n return this.delegate.data;\n }\n destroyNode(node) {\n this.delegate.destroyNode?.(node);\n }\n destroy() {\n this.engine.destroy(this.namespaceId, this.delegate);\n this.engine.afterFlushAnimationsDone(() => {\n // Call the renderer destroy method after the animations has finished as otherwise\n // styles will be removed too early which will cause an unstyled animation.\n queueMicrotask(() => {\n this.delegate.destroy();\n });\n });\n this._onDestroy?.();\n }\n createElement(name, namespace) {\n return this.delegate.createElement(name, namespace);\n }\n createComment(value) {\n return this.delegate.createComment(value);\n }\n createText(value) {\n return this.delegate.createText(value);\n }\n appendChild(parent, newChild) {\n this.delegate.appendChild(parent, newChild);\n this.engine.onInsert(this.namespaceId, newChild, parent, false);\n }\n insertBefore(parent, newChild, refChild, isMove = true) {\n this.delegate.insertBefore(parent, newChild, refChild);\n // If `isMove` true than we should animate this insert.\n this.engine.onInsert(this.namespaceId, newChild, parent, isMove);\n }\n removeChild(parent, oldChild, isHostElement) {\n // Prior to the changes in #57203, this method wasn't being called at all by `core` if the child\n // doesn't have a parent. There appears to be some animation-specific downstream logic that\n // depends on the null check happening before the animation engine. This check keeps the old\n // behavior while allowing `core` to not have to check for the parent element anymore.\n if (this.parentNode(oldChild)) {\n this.engine.onRemove(this.namespaceId, oldChild, this.delegate);\n }\n }\n selectRootElement(selectorOrNode, preserveContent) {\n return this.delegate.selectRootElement(selectorOrNode, preserveContent);\n }\n parentNode(node) {\n return this.delegate.parentNode(node);\n }\n nextSibling(node) {\n return this.delegate.nextSibling(node);\n }\n setAttribute(el, name, value, namespace) {\n this.delegate.setAttribute(el, name, value, namespace);\n }\n removeAttribute(el, name, namespace) {\n this.delegate.removeAttribute(el, name, namespace);\n }\n addClass(el, name) {\n this.delegate.addClass(el, name);\n }\n removeClass(el, name) {\n this.delegate.removeClass(el, name);\n }\n setStyle(el, style, value, flags) {\n this.delegate.setStyle(el, style, value, flags);\n }\n removeStyle(el, style, flags) {\n this.delegate.removeStyle(el, style, flags);\n }\n setProperty(el, name, value) {\n if (name.charAt(0) == ANIMATION_PREFIX && name == DISABLE_ANIMATIONS_FLAG) {\n this.disableAnimations(el, !!value);\n }\n else {\n this.delegate.setProperty(el, name, value);\n }\n }\n setValue(node, value) {\n this.delegate.setValue(node, value);\n }\n listen(target, eventName, callback) {\n return this.delegate.listen(target, eventName, callback);\n }\n disableAnimations(element, value) {\n this.engine.disableAnimations(element, value);\n }\n}\nclass AnimationRenderer extends BaseAnimationRenderer {\n constructor(factory, namespaceId, delegate, engine, onDestroy) {\n super(namespaceId, delegate, engine, onDestroy);\n this.factory = factory;\n this.namespaceId = namespaceId;\n }\n setProperty(el, name, value) {\n if (name.charAt(0) == ANIMATION_PREFIX) {\n if (name.charAt(1) == '.' && name == DISABLE_ANIMATIONS_FLAG) {\n value = value === undefined ? true : !!value;\n this.disableAnimations(el, value);\n }\n else {\n this.engine.process(this.namespaceId, el, name.slice(1), value);\n }\n }\n else {\n this.delegate.setProperty(el, name, value);\n }\n }\n listen(target, eventName, callback) {\n if (eventName.charAt(0) == ANIMATION_PREFIX) {\n const element = resolveElementFromTarget(target);\n let name = eventName.slice(1);\n let phase = '';\n // @listener.phase is for trigger animation callbacks\n // @@listener is for animation builder callbacks\n if (name.charAt(0) != ANIMATION_PREFIX) {\n [name, phase] = parseTriggerCallbackName(name);\n }\n return this.engine.listen(this.namespaceId, element, name, phase, (event) => {\n const countId = event['_data'] || -1;\n this.factory.scheduleListenerCallback(countId, callback, event);\n });\n }\n return this.delegate.listen(target, eventName, callback);\n }\n}\nfunction resolveElementFromTarget(target) {\n switch (target) {\n case 'body':\n return document.body;\n case 'document':\n return document;\n case 'window':\n return window;\n default:\n return target;\n }\n}\nfunction parseTriggerCallbackName(triggerName) {\n const dotIndex = triggerName.indexOf('.');\n const trigger = triggerName.substring(0, dotIndex);\n const phase = triggerName.slice(dotIndex + 1);\n return [trigger, phase];\n}\n\nclass AnimationRendererFactory {\n constructor(delegate, engine, _zone) {\n this.delegate = delegate;\n this.engine = engine;\n this._zone = _zone;\n this._currentId = 0;\n this._microtaskId = 1;\n this._animationCallbacksBuffer = [];\n this._rendererCache = new Map();\n this._cdRecurDepth = 0;\n engine.onRemovalComplete = (element, delegate) => {\n delegate?.removeChild(null, element);\n };\n }\n createRenderer(hostElement, type) {\n const EMPTY_NAMESPACE_ID = '';\n // cache the delegates to find out which cached delegate can\n // be used by which cached renderer\n const delegate = this.delegate.createRenderer(hostElement, type);\n if (!hostElement || !type?.data?.['animation']) {\n const cache = this._rendererCache;\n let renderer = cache.get(delegate);\n if (!renderer) {\n // Ensure that the renderer is removed from the cache on destroy\n // since it may contain references to detached DOM nodes.\n const onRendererDestroy = () => cache.delete(delegate);\n renderer = new BaseAnimationRenderer(EMPTY_NAMESPACE_ID, delegate, this.engine, onRendererDestroy);\n // only cache this result when the base renderer is used\n cache.set(delegate, renderer);\n }\n return renderer;\n }\n const componentId = type.id;\n const namespaceId = type.id + '-' + this._currentId;\n this._currentId++;\n this.engine.register(namespaceId, hostElement);\n const registerTrigger = (trigger) => {\n if (Array.isArray(trigger)) {\n trigger.forEach(registerTrigger);\n }\n else {\n this.engine.registerTrigger(componentId, namespaceId, hostElement, trigger.name, trigger);\n }\n };\n const animationTriggers = type.data['animation'];\n animationTriggers.forEach(registerTrigger);\n return new AnimationRenderer(this, namespaceId, delegate, this.engine);\n }\n begin() {\n this._cdRecurDepth++;\n if (this.delegate.begin) {\n this.delegate.begin();\n }\n }\n _scheduleCountTask() {\n queueMicrotask(() => {\n this._microtaskId++;\n });\n }\n /** @internal */\n scheduleListenerCallback(count, fn, data) {\n if (count >= 0 && count < this._microtaskId) {\n this._zone.run(() => fn(data));\n return;\n }\n const animationCallbacksBuffer = this._animationCallbacksBuffer;\n if (animationCallbacksBuffer.length == 0) {\n queueMicrotask(() => {\n this._zone.run(() => {\n animationCallbacksBuffer.forEach((tuple) => {\n const [fn, data] = tuple;\n fn(data);\n });\n this._animationCallbacksBuffer = [];\n });\n });\n }\n animationCallbacksBuffer.push([fn, data]);\n }\n end() {\n this._cdRecurDepth--;\n // this is to prevent animations from running twice when an inner\n // component does CD when a parent component instead has inserted it\n if (this._cdRecurDepth == 0) {\n this._zone.runOutsideAngular(() => {\n this._scheduleCountTask();\n this.engine.flush(this._microtaskId);\n });\n }\n if (this.delegate.end) {\n this.delegate.end();\n }\n }\n whenRenderingDone() {\n return this.engine.whenRenderingDone();\n }\n}\n\n/**\n * @module\n * @description\n * Entry point for all animation APIs of the animation browser package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AnimationDriver, NoopAnimationDriver, Animation as ɵAnimation, AnimationEngine as ɵAnimationEngine, AnimationRenderer as ɵAnimationRenderer, AnimationRendererFactory as ɵAnimationRendererFactory, AnimationStyleNormalizer as ɵAnimationStyleNormalizer, BaseAnimationRenderer as ɵBaseAnimationRenderer, NoopAnimationStyleNormalizer as ɵNoopAnimationStyleNormalizer, WebAnimationsDriver as ɵWebAnimationsDriver, WebAnimationsPlayer as ɵWebAnimationsPlayer, WebAnimationsStyleNormalizer as ɵWebAnimationsStyleNormalizer, allowPreviousPlayerStylesMerge as ɵallowPreviousPlayerStylesMerge, camelCaseToDashCase as ɵcamelCaseToDashCase, containsElement as ɵcontainsElement, createEngine as ɵcreateEngine, getParentElement as ɵgetParentElement, invokeQuery as ɵinvokeQuery, normalizeKeyframes as ɵnormalizeKeyframes, validateStyleProperty as ɵvalidateStyleProperty, validateWebAnimatableStyleProperty as ɵvalidateWebAnimatableStyleProperty };\n","/**\n * @license Angular v18.2.13\n * (c) 2010-2024 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { Injectable, Inject, RendererFactory2, NgZone, ANIMATION_MODULE_TYPE, NgModule, ɵperformanceMarkFeature } from '@angular/core';\nexport { ANIMATION_MODULE_TYPE } from '@angular/core';\nimport { ɵDomRendererFactory2, BrowserModule } from '@angular/platform-browser';\nimport * as i1 from '@angular/animations/browser';\nimport { ɵAnimationEngine, ɵWebAnimationsStyleNormalizer, ɵAnimationRendererFactory, ɵAnimationStyleNormalizer, AnimationDriver, ɵWebAnimationsDriver, NoopAnimationDriver } from '@angular/animations/browser';\nimport { DOCUMENT } from '@angular/common';\n\nclass InjectableAnimationEngine extends ɵAnimationEngine {\n // The `ApplicationRef` is injected here explicitly to force the dependency ordering.\n // Since the `ApplicationRef` should be created earlier before the `AnimationEngine`, they\n // both have `ngOnDestroy` hooks and `flush()` must be called after all views are destroyed.\n constructor(doc, driver, normalizer) {\n super(doc, driver, normalizer);\n }\n ngOnDestroy() {\n this.flush();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.13\", ngImport: i0, type: InjectableAnimationEngine, deps: [{ token: DOCUMENT }, { token: i1.AnimationDriver }, { token: i1.ɵAnimationStyleNormalizer }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"18.2.13\", ngImport: i0, type: InjectableAnimationEngine }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.13\", ngImport: i0, type: InjectableAnimationEngine, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: Document, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i1.AnimationDriver }, { type: i1.ɵAnimationStyleNormalizer }] });\nfunction instantiateDefaultStyleNormalizer() {\n return new ɵWebAnimationsStyleNormalizer();\n}\nfunction instantiateRendererFactory(renderer, engine, zone) {\n return new ɵAnimationRendererFactory(renderer, engine, zone);\n}\nconst SHARED_ANIMATION_PROVIDERS = [\n { provide: ɵAnimationStyleNormalizer, useFactory: instantiateDefaultStyleNormalizer },\n { provide: ɵAnimationEngine, useClass: InjectableAnimationEngine },\n {\n provide: RendererFactory2,\n useFactory: instantiateRendererFactory,\n deps: [ɵDomRendererFactory2, ɵAnimationEngine, NgZone],\n },\n];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserModule.\n */\nconst BROWSER_ANIMATIONS_PROVIDERS = [\n { provide: AnimationDriver, useFactory: () => new ɵWebAnimationsDriver() },\n { provide: ANIMATION_MODULE_TYPE, useValue: 'BrowserAnimations' },\n ...SHARED_ANIMATION_PROVIDERS,\n];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserTestingModule.\n */\nconst BROWSER_NOOP_ANIMATIONS_PROVIDERS = [\n { provide: AnimationDriver, useClass: NoopAnimationDriver },\n { provide: ANIMATION_MODULE_TYPE, useValue: 'NoopAnimations' },\n ...SHARED_ANIMATION_PROVIDERS,\n];\n\n/**\n * Exports `BrowserModule` with additional dependency-injection providers\n * for use with animations. See [Animations](guide/animations).\n * @publicApi\n */\nclass BrowserAnimationsModule {\n /**\n * Configures the module based on the specified object.\n *\n * @param config Object used to configure the behavior of the `BrowserAnimationsModule`.\n * @see {@link BrowserAnimationsModuleConfig}\n *\n * @usageNotes\n * When registering the `BrowserAnimationsModule`, you can use the `withConfig`\n * function as follows:\n * ```\n * @NgModule({\n * imports: [BrowserAnimationsModule.withConfig(config)]\n * })\n * class MyNgModule {}\n * ```\n */\n static withConfig(config) {\n return {\n ngModule: BrowserAnimationsModule,\n providers: config.disableAnimations\n ? BROWSER_NOOP_ANIMATIONS_PROVIDERS\n : BROWSER_ANIMATIONS_PROVIDERS,\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.13\", ngImport: i0, type: BrowserAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"18.2.13\", ngImport: i0, type: BrowserAnimationsModule, exports: [BrowserModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"18.2.13\", ngImport: i0, type: BrowserAnimationsModule, providers: BROWSER_ANIMATIONS_PROVIDERS, imports: [BrowserModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.13\", ngImport: i0, type: BrowserAnimationsModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [BrowserModule],\n providers: BROWSER_ANIMATIONS_PROVIDERS,\n }]\n }] });\n/**\n * Returns the set of dependency-injection providers\n * to enable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to enable animations in an application\n * bootstrapped using the `bootstrapApplication` function. In this scenario there\n * is no need to import the `BrowserAnimationsModule` NgModule at all, just add\n * providers returned by this function to the `providers` list as show below.\n *\n * ```typescript\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n */\nfunction provideAnimations() {\n ɵperformanceMarkFeature('NgEagerAnimations');\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideAnimations` call results in app code.\n return [...BROWSER_ANIMATIONS_PROVIDERS];\n}\n/**\n * A null player that must be imported to allow disabling of animations.\n * @publicApi\n */\nclass NoopAnimationsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.13\", ngImport: i0, type: NoopAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"18.2.13\", ngImport: i0, type: NoopAnimationsModule, exports: [BrowserModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"18.2.13\", ngImport: i0, type: NoopAnimationsModule, providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS, imports: [BrowserModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.13\", ngImport: i0, type: NoopAnimationsModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [BrowserModule],\n providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS,\n }]\n }] });\n/**\n * Returns the set of dependency-injection providers\n * to disable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to bootstrap an application using\n * the `bootstrapApplication` function, but you need to disable animations\n * (for example, when running tests).\n *\n * ```typescript\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideNoopAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n */\nfunction provideNoopAnimations() {\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideNoopAnimations` call results in app code.\n return [...BROWSER_NOOP_ANIMATIONS_PROVIDERS];\n}\n\n/**\n * @module\n * @description\n * Entry point for all animation APIs of the animation browser package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BrowserAnimationsModule, NoopAnimationsModule, provideAnimations, provideNoopAnimations, InjectableAnimationEngine as ɵInjectableAnimationEngine };\n","import { Injectable } from \"@angular/core\";\r\nimport { ActivatedRouteSnapshot, RouterStateSnapshot } from \"@angular/router\";\r\nimport { NavController } from \"@ionic/angular\";\r\nimport { Observable } from \"rxjs\";\r\nimport { tap } from \"rxjs/operators\";\r\nimport { LocationStateQuery } from \"../state/location-state.query\";\r\n\r\n@Injectable({\r\n\tprovidedIn: \"root\",\r\n})\r\nexport class OperatorSelectedGuard {\r\n\tconstructor(\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate navController: NavController,\r\n\t) {}\r\n\r\n\tcanActivate(_next: ActivatedRouteSnapshot, _state: RouterStateSnapshot): Observable {\r\n\t\treturn this.locationStateQuery.operatorIsSelected$.pipe(\r\n\t\t\ttap((operatorIsSelected) => {\r\n\t\t\t\tif (!operatorIsSelected) {\r\n\t\t\t\t\tthis.navController.navigateRoot(\"operators\");\r\n\t\t\t\t}\r\n\t\t\t}),\r\n\t\t);\r\n\t}\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ActivatedRouteSnapshot, RouterStateSnapshot } from \"@angular/router\";\r\nimport { NavController } from \"@ionic/angular\";\r\nimport { Observable } from \"rxjs\";\r\nimport { tap } from \"rxjs/operators\";\r\nimport { LocationStateQuery } from \"../state/location-state.query\";\r\n\r\n@Injectable({\r\n\tprovidedIn: \"root\",\r\n})\r\nexport class RideOpsKeySetGuard {\r\n\tconstructor(\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate navController: NavController,\r\n\t) {}\r\n\r\n\tcanActivate(_next: ActivatedRouteSnapshot, _state: RouterStateSnapshot): Observable {\r\n\t\treturn this.locationStateQuery.rideOpsKeyIsSet$.pipe(\r\n\t\t\ttap((rideOpsKeySet) => {\r\n\t\t\t\tif (!rideOpsKeySet) {\r\n\t\t\t\t\tthis.navController.navigateRoot(\"setup\");\r\n\t\t\t\t}\r\n\t\t\t}),\r\n\t\t);\r\n\t}\r\n}\r\n","import { NgModule } from \"@angular/core\";\r\nimport { PreloadAllModules, RouterModule, Routes } from \"@angular/router\";\r\nimport { OperatorSelectedGuard } from \"./configuration/guards/operator-selected.guard\";\r\nimport { RideOpsKeySetGuard } from \"./configuration/guards/rideops-key-set.guard\";\r\nimport { RideOpsKeyNotSetGuard } from \"./configuration/guards/rideops-key-not-set.guard\";\r\n\r\nconst routes: Routes = [\r\n\t{\r\n\t\tpath: \"dashboard\",\r\n\t\tloadChildren: () => import(\"./features/dashboard/dashboard.module\").then((m) => m.DashboardModule),\r\n\t\tcanActivate: [RideOpsKeySetGuard, OperatorSelectedGuard],\r\n\t},\r\n\t{\r\n\t\tpath: \"operators\",\r\n\t\tloadChildren: () => import(\"./features/operators/operators.module\").then((m) => m.OperatorsPageModule),\r\n\t\tcanActivate: [RideOpsKeySetGuard],\r\n\t},\r\n\t{\r\n\t\tpath: \"setup\",\r\n\t\tloadChildren: () => import(\"./features/setup/setup.module\").then((m) => m.SetupPageModule),\r\n\t\tcanActivate: [RideOpsKeyNotSetGuard],\r\n\t},\r\n\t{\r\n\t\tpath: \"manuals\",\r\n\t\tloadChildren: () => import(\"./features/manuals/manuals.module\").then((m) => m.ManualsPageModule),\r\n\t\tcanActivate: [RideOpsKeySetGuard, OperatorSelectedGuard],\r\n\t},\r\n\t{\r\n\t\tpath: \"notes\",\r\n\t\tloadChildren: () => import(\"./features/notes/notes.module\").then((m) => m.NotesPageModule),\r\n\t\tcanActivate: [RideOpsKeySetGuard, OperatorSelectedGuard],\r\n\t},\r\n\t{\r\n\t\tpath: \"\",\r\n\t\tredirectTo: \"dashboard\",\r\n\t\tpathMatch: \"full\",\r\n\t},\r\n\t{\r\n\t\tpath: \"**\",\r\n\t\tredirectTo: \"dashboard\",\r\n\t\tpathMatch: \"full\",\r\n\t},\r\n];\r\n\r\n@NgModule({\r\n\timports: [RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })],\r\n\texports: [RouterModule],\r\n})\r\nexport class AppRoutingModule {}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ActivatedRouteSnapshot, RouterStateSnapshot } from \"@angular/router\";\r\nimport { NavController } from \"@ionic/angular\";\r\nimport { Observable } from \"rxjs\";\r\nimport { map, tap } from \"rxjs/operators\";\r\nimport { LocationStateQuery } from \"../state/location-state.query\";\r\n\r\n@Injectable({\r\n\tprovidedIn: \"root\",\r\n})\r\nexport class RideOpsKeyNotSetGuard {\r\n\tconstructor(\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate navController: NavController,\r\n\t) {}\r\n\r\n\tcanActivate(_next: ActivatedRouteSnapshot, _state: RouterStateSnapshot): Observable {\r\n\t\tconst rideOpsKeyNotSet$ = this.locationStateQuery.rideOpsKeyIsSet$.pipe(\r\n\t\t\tmap((rideOpsKeySet) => {\r\n\t\t\t\treturn rideOpsKeySet == false;\r\n\t\t\t}),\r\n\t\t);\r\n\r\n\t\treturn rideOpsKeyNotSet$.pipe(\r\n\t\t\ttap((rideOpsKeyNotSet) => {\r\n\t\t\t\tif (rideOpsKeyNotSet == false) {\r\n\t\t\t\t\tthis.navController.navigateRoot(\"operators\");\r\n\t\t\t\t}\r\n\t\t\t}),\r\n\t\t);\r\n\t}\r\n}\r\n","import { Component } from \"@angular/core\";\r\nimport { RaygunService } from \"./configuration/services/raygun.service\";\r\nimport { UpdateService } from \"./configuration/services/update.service\";\r\nimport { LocationStateService } from \"./configuration/state/location-state.service\";\r\n\r\n@Component({\r\n\tselector: \"app-root\",\r\n\ttemplateUrl: \"app.component.html\",\r\n\tstyleUrls: [\"app.component.scss\"],\r\n})\r\nexport class AppComponent {\r\n\tconstructor(\r\n\t\tupdateService: UpdateService,\r\n\t\traygunService: RaygunService,\r\n\t\tlocationStateService: LocationStateService,\r\n\t) {\r\n\t\traygunService.activate();\r\n\t\tupdateService.activate();\r\n\r\n\t\tlocationStateService.activate();\r\n\t}\r\n}\r\n","\r\n\t\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\r\n\r\n\t\r\n\r\n","import { firstValueFrom, Observable } from \"rxjs\";\r\nexport {};\r\n\r\ndeclare module \"rxjs\" {\r\n\tinterface Observable {\r\n\t\tfirstAsync(): Promise;\r\n\t}\r\n}\r\n\r\ndeclare global {\r\n\tinterface Date {\r\n\t\taddHours(hours: number): Date;\r\n\t}\r\n}\r\n\r\nexport const sleep = (duration: number) => new Promise((resolve) => setTimeout(resolve, duration));\r\n\r\nObservable.prototype.firstAsync = function () {\r\n\treturn firstValueFrom(this);\r\n};\r\n\r\nDate.prototype.addHours = function (hours: number) {\r\n\tthis.setTime(this.getTime() + hours * 60 * 60 * 1000);\r\n\treturn this;\r\n};\r\n","/* \"Barrel\" of Http Interceptors */\r\nimport { HTTP_INTERCEPTORS } from \"@angular/common/http\";\r\nimport { AuthInterceptor } from \"./auth.interceptor\";\r\n\r\n/** Http interceptor providers in outside-in order */\r\nexport const httpInterceptorProviders = [{ provide: HTTP_INTERCEPTORS, useClass: AuthInterceptor, multi: true }];\r\n","import { HttpErrorResponse, HttpHandler, HttpInterceptor, HttpRequest } from \"@angular/common/http\";\r\nimport { Injectable } from \"@angular/core\";\r\nimport { AlertController } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { mergeMap, take, tap } from \"rxjs/operators\";\r\nimport { LocationStateQuery } from \"../state/location-state.query\";\r\nimport { OperatorService } from \"../services/operator.service\";\r\nimport { RaygunService } from \"../services/raygun.service\";\r\nimport { combineLatest } from \"rxjs\";\r\n\r\n@Injectable()\r\nexport class AuthInterceptor implements HttpInterceptor {\r\n\tconstructor(\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate alertController: AlertController,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t\tprivate operatorService: OperatorService,\r\n\t\tprivate raygunService: RaygunService,\r\n\t) {}\r\n\r\n\tprivate handleUnauthorized = async (error: HttpErrorResponse, originalRequest: HttpRequest) => {\r\n\t\tif (error?.status != 401) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t//We dont want to log bad login attempts\r\n\t\tconst endpont = error.url.split(\"/\").pop();\r\n\t\tif (endpont == \"login\") {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst currentOperator = await this.locationStateQuery.operator$.firstAsync();\r\n\t\tconst headerUserId = originalRequest.headers.get(\"X-User-Identifier\");\r\n\r\n\t\t// If the current operator is the same as from the original request, just show unauthorized modal.\r\n\t\tif (headerUserId != null && headerUserId == currentOperator?.id) {\r\n\t\t\treturn await this.showUnauthorizedModalAndClearOperator();\r\n\t\t}\r\n\r\n\t\t// If there is a discrepancy between current operator and original request, send the error to RayGun\r\n\t\tthis.raygunService.send(new Error(\"401 error occured\"), {\r\n\t\t\theaderUserId: headerUserId,\r\n\t\t\tcurrentOperator: currentOperator?.id,\r\n\t\t\thttpErrorResponse: error,\r\n\t\t});\r\n\t};\r\n\t// we dont want to keep spam opening the unauthorized window, if multiple network requests fail.\r\n\tprivate unauthorizedModalVisible = false;\r\n\tprivate showUnauthorizedModalAndClearOperator = async () => {\r\n\t\tif (this.unauthorizedModalVisible) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.unauthorizedModalVisible = true;\r\n\r\n\t\tawait this.operatorService.logoutOperator();\r\n\r\n\t\tconst alert = await this.alertController.create({\r\n\t\t\theader: this.translocoService.translate(\"AUTHENTICATION_ERROR_TITLE\"),\r\n\t\t\tmessage: this.translocoService.translate(\"AUTHENTICATION_ERROR_MESSAGE\"),\r\n\t\t\tbuttons: [this.translocoService.translate(\"AUTHENTICATION_ERROR_OK\")],\r\n\t\t});\r\n\r\n\t\tawait alert.present();\r\n\t\tawait alert.onDidDismiss();\r\n\r\n\t\tthis.unauthorizedModalVisible = false;\r\n\t};\r\n\r\n\tintercept(request: HttpRequest, next: HttpHandler) {\r\n\t\treturn combineLatest([this.locationStateQuery.rideOpsKey$, this.locationStateQuery.operator$]).pipe(\r\n\t\t\ttake(1),\r\n\t\t\tmergeMap(([rideOpsKey, operator]) => {\r\n\t\t\t\t// Key isn't set yet, but we still need to load .json via http\r\n\t\t\t\tif (rideOpsKey == undefined) {\r\n\t\t\t\t\treturn next.handle(request);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tconst headers: Record = {\r\n\t\t\t\t\t\"X-RideOps-key\": rideOpsKey,\r\n\t\t\t\t\t\"X-Api-Client\": \"RideOps/1.0\",\r\n\t\t\t\t};\r\n\r\n\t\t\t\tif (operator && request.headers.keys().includes(\"X-User-Identifier\") == false) {\r\n\t\t\t\t\theaders[\"X-User-Identifier\"] = operator.id;\r\n\t\t\t\t\theaders[\"X-Pin-Code\"] = operator.pin;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tconst authenticatedRequest: HttpRequest = request.clone({\r\n\t\t\t\t\tsetHeaders: headers,\r\n\t\t\t\t});\r\n\r\n\t\t\t\treturn next.handle(authenticatedRequest).pipe(\r\n\t\t\t\t\ttap({\r\n\t\t\t\t\t\terror: async (error: HttpErrorResponse) => {\r\n\t\t\t\t\t\t\tawait this.handleUnauthorized(error, authenticatedRequest);\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t}),\r\n\t\t\t\t);\r\n\t\t\t}),\r\n\t\t);\r\n\t}\r\n}\r\n","import { ErrorHandler } from \"@angular/core\";\r\nimport rg4js from \"raygun4js\";\r\nimport { environment } from \"../../environments/environment\";\r\n\r\nrg4js(\"apiKey\", \"hXS8nneDPWTtjllqS0nwAA\");\r\nrg4js(\"setVersion\", environment.buildNumber);\r\nrg4js(\"enableCrashReporting\", true);\r\nrg4js(\"enablePulse\", true);\r\nrg4js(\"options\", { excludedHostnames: [\"localhost\"] });\r\n\r\nexport class RaygunErrorHandler implements ErrorHandler {\r\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n\thandleError(error: any) {\r\n\t\trg4js(\"send\", { error: error });\r\n\t\tconsole.error(error);\r\n\t}\r\n}\r\n","import { HttpClient } from \"@angular/common/http\";\r\nimport { Injectable, NgModule } from \"@angular/core\";\r\nimport { Translation, TranslocoLoader, TranslocoModule, provideTransloco } from \"@ngneat/transloco\";\r\nimport { environment } from \"../../../environments/environment\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class TranslocoHttpLoader implements TranslocoLoader {\r\n\tconstructor(private http: HttpClient) {}\r\n\r\n\tgetTranslation(lang: string) {\r\n\t\treturn this.http.get(`/assets/i18n/${lang}.json`);\r\n\t}\r\n}\r\n\r\n@NgModule({\r\n\texports: [TranslocoModule],\r\n\tproviders: [\r\n\t\tprovideTransloco({\r\n\t\t\tconfig: {\r\n\t\t\t\tavailableLangs: [\r\n\t\t\t\t\t{ id: \"source\", label: \"Source\" },\r\n\t\t\t\t\t{ id: \"da\", label: \"Danish\" },\r\n\t\t\t\t\t{ id: \"de\", label: \"German\" },\r\n\t\t\t\t\t{ id: \"en\", label: \"English\" },\r\n\t\t\t\t\t{ id: \"es\", label: \"Spanish\" },\r\n\t\t\t\t\t{ id: \"fi\", label: \"Finnish\" },\r\n\t\t\t\t\t{ id: \"fr\", label: \"French\" },\r\n\t\t\t\t\t{ id: \"hr\", label: \"Hungarian\" },\r\n\t\t\t\t\t{ id: \"it\", label: \"Italian\" },\r\n\t\t\t\t\t{ id: \"nl\", label: \"Dutch\" },\r\n\t\t\t\t\t{ id: \"no\", label: \"Norwegian\" },\r\n\t\t\t\t\t{ id: \"pl\", label: \"Polish\" },\r\n\t\t\t\t\t{ id: \"pt\", label: \"Portuguese\" },\r\n\t\t\t\t\t{ id: \"ru\", label: \"Russian\" },\r\n\t\t\t\t\t{ id: \"sv\", label: \"Swedish\" },\r\n\t\t\t\t\t{ id: \"zh\", label: \"Chinese\" },\r\n\t\t\t\t],\r\n\t\t\t\tdefaultLang: \"en\",\r\n\t\t\t\tfallbackLang: \"source\",\r\n\t\t\t\tmissingHandler: {\r\n\t\t\t\t\tuseFallbackTranslation: true,\r\n\t\t\t\t},\r\n\t\t\t\t// Remove this option if your application doesn't support changing language in runtime.\r\n\t\t\t\treRenderOnLangChange: true,\r\n\t\t\t\tprodMode: environment.isProduction,\r\n\t\t\t},\r\n\t\t\tloader: TranslocoHttpLoader,\r\n\t\t}),\r\n\t],\r\n})\r\nexport class TranslocoRootModule {}\r\n","import { APP_INITIALIZER } from \"@angular/core\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { LocationStateQuery } from \"../state/location-state.query\";\r\nimport { LanguageService } from \"../services/language.service\";\r\nimport { combineLatest } from \"rxjs\";\r\n\r\nexport function preloadLanguage(\r\n\tlocationStateQuery: LocationStateQuery,\r\n\ttranslocoService: TranslocoService,\r\n\tlanguageService: LanguageService,\r\n) {\r\n\treturn async function () {\r\n\t\tconst [location, operator] = await combineLatest([\r\n\t\t\tlocationStateQuery.location$,\r\n\t\t\tlocationStateQuery.operator$,\r\n\t\t]).firstAsync();\r\n\r\n\t\tconst availableLanguages = languageService.getAvailableLangs().map((x) => x.id);\r\n\r\n\t\tlet language: string = operator?.language || location?.language || \"en\";\r\n\r\n\t\tif (availableLanguages.includes(language) === false) {\r\n\t\t\tlanguage = \"en\";\r\n\t\t}\r\n\r\n\t\ttranslocoService.setActiveLang(language);\r\n\t\treturn await translocoService.load(language, { fallbackLangs: [\"source\"] }).firstAsync();\r\n\t};\r\n}\r\n\r\nexport const preLoadTranslocoLanguage = {\r\n\tprovide: APP_INITIALIZER,\r\n\tmulti: true,\r\n\tuseFactory: preloadLanguage,\r\n\tdeps: [LocationStateQuery, TranslocoService, LanguageService],\r\n};\r\n","import { isPlatformServer } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, PLATFORM_ID, NgModule } from '@angular/core';\nimport { Storage } from '@ionic/storage';\nexport { Storage } from '@ionic/storage';\n\nconst StorageConfigToken = new InjectionToken('STORAGE_CONFIG_TOKEN');\nclass NoopStorage extends Storage {\n constructor() {\n super();\n }\n async create() {\n return this;\n }\n async defineDriver() { }\n get driver() {\n return 'noop';\n }\n async get(key) {\n return null;\n }\n async set(key, value) { }\n async remove(key) { }\n async clear() { }\n async length() {\n return 0;\n }\n async keys() {\n return [];\n }\n // eslint-disable-next-line @typescript-eslint/ban-types\n async forEach(iteratorCallback) { }\n setEncryptionKey(key) { }\n}\nfunction provideStorage(platformId, storageConfig) {\n if (isPlatformServer(platformId)) {\n // When running in a server context return the NoopStorage\n return new NoopStorage();\n }\n return new Storage(storageConfig);\n}\nclass IonicStorageModule {\n static forRoot(storageConfig = null) {\n return {\n ngModule: IonicStorageModule,\n providers: [\n { provide: StorageConfigToken, useValue: storageConfig },\n {\n provide: Storage,\n useFactory: provideStorage,\n deps: [PLATFORM_ID, StorageConfigToken],\n },\n ],\n };\n }\n}\nIonicStorageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.1.2\", ngImport: i0, type: IonicStorageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nIonicStorageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.1.2\", ngImport: i0, type: IonicStorageModule });\nIonicStorageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.1.2\", ngImport: i0, type: IonicStorageModule });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.1.2\", ngImport: i0, type: IonicStorageModule, decorators: [{\n type: NgModule\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { IonicStorageModule, StorageConfigToken, provideStorage };\n","import { CommonModule } from \"@angular/common\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { FormsModule, ReactiveFormsModule } from \"@angular/forms\";\r\nimport { IonicModule } from \"@ionic/angular\";\r\nimport { TranslocoModule } from \"@ngneat/transloco\";\r\nimport { ComponentsModule } from \"../../../components/components.module\";\r\nimport { AssignmentModalComponent } from \"./assignment-modal.component\";\r\nimport { AssignmentDescriptionComponent } from \"../components/assignment-description/assignment-description.component\";\r\nimport { AssigneePickerModalComponent } from \"../modals/assignee-picker/assignee-picker.modal.component\";\r\nimport { QuillViewComponent } from \"ngx-quill\";\r\nimport { AssigneePickerModalService } from \"../modals/assignee-picker/assignee-picker.modal.service\";\r\nimport { AssetPickerModalComponent } from \"../../../modals/asset-picker/asset-picker.modal.component\";\r\nimport { AssetPickerModalService } from \"../../../modals/asset-picker/asset-picker.modal.service\";\r\nimport { AssignmentAssigneesComponent } from \"../components/assignment-assignees/assignment-assignees.component\";\r\nimport { AssignmentAssetComponent } from \"../components/assignment-asset/assignment-asset.component\";\r\nimport { AssignmentSolutionComponent } from \"../components/assignment-solution/assignment-solution.component\";\r\nimport { SolutionDetailsModalComponent } from \"./solution-details/solution-details.modal.component\";\r\nimport { AssignmentSolutionDetailsModalService } from \"./solution-details/solution-details.modal.service\";\r\nimport { AttachmentsComponent } from \"../../checklists/components/shared/attachments/attachments.component\";\r\nimport { AssignmentService } from \"../services/assignment.service\";\r\nimport { AssignmentModalService } from \"./assignment-modal.service\";\r\nimport { QuillEditorComponent } from \"ngx-quill\";\r\n\r\n@NgModule({\r\n\tdeclarations: [\r\n\t\tAssignmentModalComponent,\r\n\t\tAssignmentDescriptionComponent,\r\n\t\tAssigneePickerModalComponent,\r\n\t\tAssetPickerModalComponent,\r\n\t\tAssignmentAssigneesComponent,\r\n\t\tAssignmentAssetComponent,\r\n\t\tAssignmentSolutionComponent,\r\n\t\tSolutionDetailsModalComponent,\r\n\t],\r\n\tproviders: [\r\n\t\tAssigneePickerModalService,\r\n\t\tAssetPickerModalService,\r\n\t\tAssignmentSolutionDetailsModalService,\r\n\t\tAssignmentService,\r\n\t\tAssignmentModalService,\r\n\t],\r\n\timports: [\r\n\t\tCommonModule,\r\n\t\tFormsModule,\r\n\t\tReactiveFormsModule,\r\n\t\tIonicModule,\r\n\t\tTranslocoModule,\r\n\t\tComponentsModule,\r\n\t\tQuillViewComponent,\r\n\t\tAttachmentsComponent,\r\n\t\tQuillEditorComponent,\r\n\t],\r\n})\r\nexport class AssignmentModule {}\r\n","import { provideHttpClient, withInterceptorsFromDi } from \"@angular/common/http\";\r\nimport { ErrorHandler, Injector, NgModule } from \"@angular/core\";\r\nimport { BrowserModule } from \"@angular/platform-browser\";\r\nimport { BrowserAnimationsModule } from \"@angular/platform-browser/animations\";\r\nimport { RouteReuseStrategy } from \"@angular/router\";\r\nimport { ServiceWorkerModule } from \"@angular/service-worker\";\r\nimport { IonicModule, IonicRouteStrategy } from \"@ionic/angular\";\r\nimport { environment } from \"../environments/environment\";\r\nimport { AppRoutingModule } from \"./app-routing.module\";\r\nimport { AppComponent } from \"./app.component\";\r\nimport { ComponentsModule } from \"./components/components.module\";\r\nimport \"./configuration/extensions\";\r\nimport { httpInterceptorProviders } from \"./configuration/interceptors\";\r\nimport { RaygunErrorHandler } from \"./configuration/raygun-error-handler\";\r\nimport { TranslocoRootModule } from \"./configuration/transloco/transloco-root.module\";\r\nimport { preLoadTranslocoLanguage } from \"./configuration/transloco/transloco.preload\";\r\nimport { ChecklistModule } from \"./features/checklists/checklist.module\";\r\nimport { NgxExtendedPdfViewerModule } from \"ngx-extended-pdf-viewer\";\r\nimport { IonicStorageModule } from \"@ionic/storage-angular\";\r\nimport { QuillModule } from \"ngx-quill\";\r\nimport { AssignmentModule } from \"./features/assignments/modals/assignment-modal.module\";\r\n\r\nexport let ServiceLocator: Injector;\r\n\r\n@NgModule({\r\n\tdeclarations: [AppComponent],\r\n\tbootstrap: [AppComponent],\r\n\timports: [\r\n\t\tBrowserModule,\r\n\t\tIonicModule.forRoot({ mode: \"md\", innerHTMLTemplatesEnabled: true }),\r\n\t\tQuillModule.forRoot(),\r\n\t\tAppRoutingModule,\r\n\t\tIonicStorageModule.forRoot(),\r\n\t\tTranslocoRootModule,\r\n\t\tServiceWorkerModule.register(\"ngsw-worker.js\", { enabled: environment.isProduction }),\r\n\t\tComponentsModule,\r\n\t\tChecklistModule,\r\n\t\tAssignmentModule,\r\n\t\tNgxExtendedPdfViewerModule,\r\n\t\tBrowserAnimationsModule,\r\n\t],\r\n\tproviders: [\r\n\t\thttpInterceptorProviders,\r\n\t\t{ provide: ErrorHandler, useClass: RaygunErrorHandler },\r\n\t\t{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy },\r\n\t\tpreLoadTranslocoLanguage,\r\n\t\tprovideHttpClient(withInterceptorsFromDi()),\r\n\t],\r\n})\r\nexport class AppModule {\r\n\tconstructor(injector: Injector) {\r\n\t\tServiceLocator = injector;\r\n\t}\r\n}\r\n","import { Component, Input, OnChanges, OnInit, SimpleChanges } from \"@angular/core\";\r\nimport { UtilityService } from \"../../configuration/services/utility.service\";\r\n\r\n@Component({\r\n\tselector: \"app-avatar\",\r\n\tstyleUrls: [\"./avatar.component.scss\"],\r\n\ttemplate: `\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t`,\r\n})\r\nexport class AvatarComponent implements OnInit, OnChanges {\r\n\tprivate static readonly FallbackProfileImage = \"../../assets/images/default_user.jpg\";\r\n\r\n\tconstructor(private utilityService: UtilityService) {}\r\n\t@Input() file: string;\r\n\t@Input() size = 65;\r\n\turl: string;\r\n\r\n\tsetImage = async () => {\r\n\t\tthis.url =\r\n\t\t\tthis.file == null || this.file == undefined || this.file == \"\"\r\n\t\t\t\t? AvatarComponent.FallbackProfileImage\r\n\t\t\t\t: await this.utilityService.getImageUrl(this.file, undefined, \"fill\", this.size);\r\n\t};\r\n\r\n\tngOnChanges(_changes: SimpleChanges): void {\r\n\t\tthis.setImage();\r\n\t}\r\n\r\n\tonError() {\r\n\t\tthis.url = AvatarComponent.FallbackProfileImage;\r\n\t}\r\n\r\n\tngOnInit() {\r\n\t\tthis.setImage();\r\n\t}\r\n}\r\n","import { CommonModule } from \"@angular/common\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { FormsModule } from \"@angular/forms\";\r\nimport { IonicModule } from \"@ionic/angular\";\r\nimport { TranslocoModule } from \"@ngneat/transloco\";\r\nimport { ScannerComponent } from \"./scanner.component\";\r\nimport { ScannerModalService } from \"./scanner-modal.service\";\r\n\r\n@NgModule({\r\n\timports: [CommonModule, FormsModule, IonicModule, TranslocoModule],\r\n\tdeclarations: [ScannerComponent],\r\n\tproviders: [ScannerModalService],\r\n})\r\nexport class ScannerModule {}\r\n","import { CommonModule } from \"@angular/common\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { FormsModule } from \"@angular/forms\";\r\nimport { IonicModule } from \"@ionic/angular\";\r\nimport { TranslocoModule } from \"@ngneat/transloco\";\r\nimport { SignatureComponent } from \"./signature.component\";\r\nimport { SignatureModalService } from \"./signature-modal.service\";\r\n\r\n@NgModule({\r\n\timports: [CommonModule, FormsModule, IonicModule, TranslocoModule],\r\n\tdeclarations: [SignatureComponent],\r\n\tproviders: [SignatureModalService],\r\n})\r\nexport class SignatureModule {}\r\n","import { CommonModule } from \"@angular/common\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { FormsModule } from \"@angular/forms\";\r\nimport { IonicModule } from \"@ionic/angular\";\r\nimport { TranslocoModule } from \"@ngneat/transloco\";\r\nimport { FileUploadsComponent } from \"./file-uploads.component\";\r\nimport { FileUploadsModalService } from \"./file-uploads-modal-service\";\r\n\r\n@NgModule({\r\n\timports: [CommonModule, FormsModule, IonicModule, TranslocoModule],\r\n\tdeclarations: [FileUploadsComponent],\r\n\tproviders: [FileUploadsModalService],\r\n})\r\nexport class FileUploadsModule {}\r\n","import { CommonModule } from \"@angular/common\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { FormsModule } from \"@angular/forms\";\r\nimport { IonicModule } from \"@ionic/angular\";\r\nimport { TranslocoModule } from \"@ngneat/transloco\";\r\nimport { ImageViewerComponent } from \"./image-viewer.component\";\r\nimport { ImageViewerModalService } from \"./image-viewer.modal.service\";\r\n\r\n@NgModule({\r\n\timports: [CommonModule, FormsModule, IonicModule, TranslocoModule],\r\n\tdeclarations: [ImageViewerComponent],\r\n\tproviders: [ImageViewerModalService],\r\n})\r\nexport class ImageViewerModule {}\r\n","import { Component, Input } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\n\r\n@Component({\r\n\tselector: \"app-text-editor\",\r\n\ttemplateUrl: \"./text-editor.component.html\",\r\n\tstyleUrls: [\"./text-editor.component.scss\"],\r\n})\r\nexport class TextEditorComponent {\r\n\tstatic modalId = \"text-editor-component\";\r\n\r\n\tstatic save = \"save\";\r\n\tstatic cancel = \"cancel\";\r\n\r\n\tconstructor(private modalController: ModalController) {}\r\n\t@Input() text: string;\r\n\r\n\tsave = () => {\r\n\t\tthis.modalController.dismiss(this.text, TextEditorComponent.save, TextEditorComponent.modalId);\r\n\t};\r\n\r\n\tcancel = () => {\r\n\t\tthis.modalController.dismiss(\"\", TextEditorComponent.cancel, TextEditorComponent.modalId);\r\n\t};\r\n\r\n\tmodules = {\r\n\t\ttoolbar: [\r\n\t\t\t[\"bold\", \"italic\", \"underline\", \"strike\"],\r\n\t\t\t[{ list: \"ordered\" }, { list: \"bullet\" }],\r\n\t\t],\r\n\t};\r\n}\r\n","\r\n\t\r\n\t\t\r\n\t\t\t{{ \"ASSIGNMENT__DESCRIPTION\" | transloco }}\r\n\t\t\r\n\t\t\r\n\t\t\t{{ \"ASSIGNMENT__DESCRIPTION_EDITOR_DESCRIPTION\" | transloco }}\r\n\t\t\r\n\t\r\n\r\n\t\r\n\t\t\r\n\t\t
\r\n\t\t\t{{ \"BASE__CANCEL\" | transloco }}\r\n\t\t\t{{ \"BASE__SAVE\" | transloco }}\r\n\t\t
\r\n\t
\r\n
\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { TextEditorComponent } from \"./text-editor.component\";\r\n\r\n@Injectable()\r\nexport class TextEditorModalService {\r\n\tconstructor(private modalController: ModalController) {}\r\n\r\n\tcreate = (text: string) => {\r\n\t\treturn this.modalController.create({\r\n\t\t\tid: TextEditorComponent.modalId,\r\n\t\t\tcssClass: \"text-editor-modal\",\r\n\t\t\tcomponent: TextEditorComponent,\r\n\t\t\tcomponentProps: {\r\n\t\t\t\ttext: text,\r\n\t\t\t},\r\n\t\t});\r\n\t};\r\n}\r\n","import { CommonModule } from \"@angular/common\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { FormsModule } from \"@angular/forms\";\r\nimport { IonicModule } from \"@ionic/angular\";\r\nimport { TranslocoModule } from \"@ngneat/transloco\";\r\nimport { TextEditorComponent } from \"./text-editor.component\";\r\nimport { TextEditorModalService } from \"./text-editor-modal.service\";\r\nimport { QuillEditorComponent } from \"ngx-quill\";\r\n\r\n@NgModule({\r\n\timports: [CommonModule, FormsModule, IonicModule, TranslocoModule, QuillEditorComponent],\r\n\tdeclarations: [TextEditorComponent],\r\n\tproviders: [TextEditorModalService],\r\n})\r\nexport class TextEditorModule {}\r\n","import { CommonModule } from \"@angular/common\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { RouterModule } from \"@angular/router\";\r\nimport { IonicModule } from \"@ionic/angular\";\r\nimport { TranslocoModule } from \"@ngneat/transloco\";\r\nimport { DirectivesModule } from \"../configuration/directives/directives.module\";\r\nimport { ChangePinCodeModal } from \"../modals/change-pin-code/change-pin-code.modal\";\r\nimport { LanguagePickerModalModule } from \"../modals/language-picker/language-picker.module\";\r\nimport { AvatarComponent } from \"./avatar/avatar.component\";\r\nimport { CurrentUserComponent } from \"./current-user/current-user.component\";\r\nimport { EnvironmentBarComponent } from \"./environment-bar/environment-bar.component\";\r\nimport { LocationStatusComponent } from \"./location-status/location-status.component\";\r\nimport { MenuBarComponent } from \"./menu-bar/menu-bar.component\";\r\nimport { NumberGridComponent } from \"./number-grid/number-grid.component\";\r\nimport { NumberSelectorComponent } from \"./number-selector/number-selector.component\";\r\nimport { OperatorLoginModal } from \"./operator-login/modals/operator-login.modal\";\r\nimport { OperatorLoginComponent } from \"./operator-login/operator-login.component\";\r\nimport { PinCodeInputComponent } from \"./pin-code-input/pin-code-input.component\";\r\nimport { SettingsComponent } from \"./settings/settings.component\";\r\nimport { StatisticsNumberComponent } from \"./statistics/statistics-number.component\";\r\nimport { StatisticsTimeComponent } from \"./statistics/statistics-time.component\";\r\nimport { StatisticsComponent } from \"./statistics/statistics.component\";\r\nimport { NoteTemplateComponent } from \"../features/notes/components/note-template.component\";\r\nimport { GroupingComponent } from \"./grouping/grouping.component\";\r\nimport { OfflineMessageComponent } from \"./offline-message/offline-message.component\";\r\nimport { ScannerModule } from \"../modals/scanner/scanner.module\";\r\nimport { UserPickerModal } from \"../features/operators/modals/user-picker.modal\";\r\nimport { UserPickerComponent } from \"../features/operators/modals/user-picker.component\";\r\nimport { SignatureModule } from \"../modals/signature/signature.module\";\r\nimport { FileUploadsModule } from \"../modals/file-uploads/file-uploads.module\";\r\nimport { ImageViewerModule } from \"../modals/image-viewer/image-viewer.module\";\r\nimport { FormsModule, ReactiveFormsModule } from \"@angular/forms\";\r\nimport { QueueWidgetSettingsComponent } from \"../features/dashboard/widgets/queue-widget-settings.component\";\r\nimport { QueueWidgetComponent } from \"../features/dashboard/widgets/queue-widget.component\";\r\nimport { LastUpdatedComponentModule } from \"./last-updated/last-updated.module\";\r\nimport { TextEditorModule } from \"../modals/text-editor/text-editor.module\";\r\n\r\nconst components = [\r\n\tMenuBarComponent,\r\n\tEnvironmentBarComponent,\r\n\tCurrentUserComponent,\r\n\tLocationStatusComponent,\r\n\tAvatarComponent,\r\n\tOperatorLoginComponent,\r\n\tNumberSelectorComponent,\r\n\tNumberGridComponent,\r\n\tSettingsComponent,\r\n\tPinCodeInputComponent,\r\n\tStatisticsComponent,\r\n\tStatisticsTimeComponent,\r\n\tStatisticsNumberComponent,\r\n\tNoteTemplateComponent,\r\n\tGroupingComponent,\r\n\tOfflineMessageComponent,\r\n\tUserPickerComponent,\r\n\tQueueWidgetComponent,\r\n\tQueueWidgetSettingsComponent,\r\n];\r\n\r\n@NgModule({\r\n\timports: [\r\n\t\tCommonModule,\r\n\t\tIonicModule,\r\n\t\tRouterModule,\r\n\t\tTranslocoModule,\r\n\r\n\t\tLanguagePickerModalModule,\r\n\t\tScannerModule,\r\n\t\tSignatureModule,\r\n\t\tFileUploadsModule,\r\n\t\tImageViewerModule,\r\n\t\tTextEditorModule,\r\n\t\tDirectivesModule,\r\n\t\tReactiveFormsModule,\r\n\t\tLastUpdatedComponentModule,\r\n\t\tFormsModule,\r\n\t],\r\n\tproviders: [OperatorLoginModal, ChangePinCodeModal, UserPickerModal],\r\n\tdeclarations: components,\r\n\texports: components,\r\n})\r\nexport class ComponentsModule {}\r\n","
\r\n\t
\r\n\t\t
\r\n\t\t\t{{ operator.name }}\r\n\t\t\t 0\">\r\n\t\t\t\t{{\r\n\t\t\t\t\t\"CURRENT_USER__AND_NUMBER_OF_ATTENDANTS\"\r\n\t\t\t\t\t\t| transloco: { attendants: (positionsWithAttendant$ | async).length }\r\n\t\t\t\t}}\r\n\t\t\t\r\n\t\t
\r\n\t\t
\r\n\t\t\t\r\n\t\t\t\t{{ \"CURRENT_USER__JUST_LOGGED_IN\" | transloco }}\r\n\t\t\t\r\n\t\t\t 0\">\r\n\t\t\t\t{{ \"CURRENT_USER__OPERATING_MINUTES\" | transloco: { minutes: timeLoggedIn.minutes } }}\r\n\t\t\t\r\n\t\t\t 0\">\r\n\t\t\t\t{{\r\n\t\t\t\t\t\"CURRENT_USER__OPERATING_HOURS_MINUTES\"\r\n\t\t\t\t\t\t| transloco: { hours: timeLoggedIn.hours, minutes: timeLoggedIn.minutes }\r\n\t\t\t\t}}\r\n\t\t\t\r\n\t\t
\r\n\t
\r\n\r\n\t\r\n
\r\n","import { Component } from \"@angular/core\";\r\nimport { combineLatest, interval } from \"rxjs\";\r\nimport { map, startWith } from \"rxjs/operators\";\r\nimport { TimeSpanModel } from \"source/app/models/time-span.model\";\r\nimport { LocationStateQuery } from \"../../configuration/state/location-state.query\";\r\n\r\n@Component({\r\n\tselector: \"app-current-user\",\r\n\ttemplateUrl: \"./current-user.component.html\",\r\n\tstyleUrls: [\"./current-user.component.scss\"],\r\n})\r\nexport class CurrentUserComponent {\r\n\tconstructor(private locationStateQuery: LocationStateQuery) {}\r\n\r\n\toperator$ = this.locationStateQuery.selectOperator$;\r\n\tpositionsWithAttendant$ = this.locationStateQuery.positions$.pipe(\r\n\t\tmap((positions) => {\r\n\t\t\treturn positions.filter((position) => position.attendant != null);\r\n\t\t}),\r\n\t);\r\n\r\n\ttimeLoggedIn$ = combineLatest([interval(1000).pipe(startWith(0)), this.operator$]).pipe(\r\n\t\tmap(([_ticks, operator]) => {\r\n\t\t\tif (operator?.loggedIn == undefined) {\r\n\t\t\t\treturn undefined;\r\n\t\t\t}\r\n\r\n\t\t\tconst loggedIn = new Date(operator.loggedIn).getTime();\r\n\t\t\tconst now = new Date().getTime();\r\n\r\n\t\t\treturn TimeSpanModel.fromMinutes((now - loggedIn) / 60000);\r\n\t\t}),\r\n\t);\r\n}\r\n","\r\n
\r\n\t
\r\n\t\t{{ environmentName$ | async }}\r\n\t
\r\n\t
v{{ buildNumber }}
\r\n
\r\n","import { Component, Inject } from \"@angular/core\";\r\nimport { map } from \"rxjs/operators\";\r\nimport { environment } from \"../../../environments/environment\";\r\nimport { EnvironmentQuery } from \"../../configuration/state/environment.query\";\r\nimport { EnvironmentState } from \"../../configuration/state/environment.state\";\r\n\r\n@Component({\r\n\tselector: \"app-environment-bar\",\r\n\ttemplateUrl: \"./environment-bar.component.html\",\r\n\tstyleUrls: [\"./environment-bar.component.scss\"],\r\n})\r\n@Inject(EnvironmentQuery)\r\nexport class EnvironmentBarComponent {\r\n\tconstructor(private environmentQuery: EnvironmentQuery) {}\r\n\r\n\tenvironmentName$ = this.environmentQuery.environment$.pipe(map((environment) => environment.name));\r\n\tisNotProduction$ = this.environmentQuery.environment$.pipe(\r\n\t\tmap((environment) => environment.environment !== EnvironmentState.Production),\r\n\t);\r\n\r\n\tbuildNumber = environment.buildNumber;\r\n}\r\n","import { Component, Input } from \"@angular/core\";\r\n\r\n@Component({\r\n\tselector: \"app-grouping\",\r\n\tstyleUrls: [\"./grouping.component.scss\"],\r\n\ttemplate: `\r\n\t\t
\r\n\t\t\t
{{ label | transloco }}
\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t
\r\n\t`,\r\n})\r\nexport class GroupingComponent {\r\n\t@Input() label: string;\r\n}\r\n","@if (data$ | async; as data) {\r\n\t
\r\n\t\t@if (data.showWarning && icon != null) {\r\n\t\t\t\r\n\t\t}\r\n\t\t@if (data.minutesSinceLastUpdate == null) {\r\n\t\t\t{{ \"LAST_UPDATED__NEVER\" | transloco }}\r\n\t\t}\r\n\t\t@if (data.minutesSinceLastUpdate === 0) {\r\n\t\t\t{{ \"LAST_UPDATED__JUST_UPDATED\" | transloco }}\r\n\t\t}\r\n\t\t@if (data.minutesSinceLastUpdate >= 1) {\r\n\t\t\t{{ data.minutesSinceLastUpdate }} {{ \"LAST_UPDATED__MIN_AGO\" | transloco }}\r\n\t\t}\r\n\t
\r\n}\r\n","/* eslint-disable @angular-eslint/component-selector */\r\nimport { Component, Input, OnInit } from \"@angular/core\";\r\nimport { combineLatest, interval, Observable } from \"rxjs\";\r\nimport { map } from \"rxjs/operators\";\r\nimport { UtilityService } from \"source/app/configuration/services/utility.service\";\r\n\r\n@Component({\r\n\tselector: \"last-updated\",\r\n\ttemplateUrl: \"./last-updated.component.html\",\r\n\tstyleUrls: [\"./last-updated.component.scss\"],\r\n})\r\nexport class LastUpdatedComponent implements OnInit {\r\n\tconstructor(private utilityService: UtilityService) {}\r\n\r\n\t@Input() lastUpdated: Observable;\r\n\t@Input() warningThreshold = 15;\r\n\t@Input() icon = \"notifications-outline\";\r\n\r\n\tdata$: Observable<{ minutesSinceLastUpdate: number; showWarning: boolean }>;\r\n\r\n\tngOnInit() {\r\n\t\tthis.data$ = combineLatest([this.lastUpdated, interval(1000)]).pipe(\r\n\t\t\tmap(([lastUpdated]) => {\r\n\t\t\t\tconst minutesSinceLastUpdate = this.utilityService.getMinutesSince(lastUpdated);\r\n\t\t\t\tconst showWarning = this.warningThreshold > 0 && minutesSinceLastUpdate >= this.warningThreshold;\r\n\t\t\t\treturn { minutesSinceLastUpdate, showWarning };\r\n\t\t\t}),\r\n\t\t);\r\n\t}\r\n}\r\n","import { CommonModule } from \"@angular/common\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { FormsModule } from \"@angular/forms\";\r\nimport { IonicModule } from \"@ionic/angular\";\r\nimport { TranslocoModule } from \"@ngneat/transloco\";\r\nimport { LastUpdatedComponent } from \"./last-updated.component\";\r\n\r\n@NgModule({\r\n\timports: [CommonModule, FormsModule, IonicModule, TranslocoModule],\r\n\tdeclarations: [LastUpdatedComponent],\r\n\texports: [LastUpdatedComponent],\r\n})\r\nexport class LastUpdatedComponentModule {}\r\n","
\r\n\t
\r\n\t\t
\r\n\t\t\t{{ \"CLOSE_LOCATION__TITLE\" | transloco }}\r\n\t\t
\r\n\t
\r\n\r\n\t\r\n\t\t
\r\n\t\t\t\r\n\t\t
\r\n\t\t
\r\n\t\t\t{{ \"CLOSE_LOCATION__CYCLES_HELP_TEXT\" | transloco }}\r\n\t\t
\r\n\t
\r\n\r\n\t\r\n\t\t
\r\n\t\t\t\r\n\t\t
\r\n\t\t
\r\n\t\t\t{{ \"CLOSE_LOCATION__RIDERS_HELP_TEXT\" | transloco }}\r\n\t\t
\r\n\t
\r\n\r\n\t
\r\n\t\t
\r\n\t\t\t{{ \"CLOSE_LOCATION__SET_STATUS_AS_CLOSED\" | transloco }}\r\n\t\t
\r\n\t\t\r\n\t\t\t{{ \"CLOSE_LOCATION__CLOSE_RIDE\" | transloco }}\r\n\t\t\r\n\t
\r\n
\r\n","import { Component, OnInit, ViewEncapsulation } from \"@angular/core\";\r\nimport { AlertController, ModalController } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { combineLatest } from \"rxjs\";\r\nimport { LocationStateQuery } from \"../../configuration/state/location-state.query\";\r\nimport { LocationStateService } from \"../../configuration/state/location-state.service\";\r\nimport { UiQuery } from \"../../configuration/state/ui.query\";\r\nimport { ChecklistModalService } from \"../../features/checklists/modals/checklist-modal.service\";\r\nimport { OperatorService } from \"../../configuration/services/operator.service\";\r\n\r\n@Component({\r\n\tselector: \"app-close-location\",\r\n\ttemplateUrl: \"./close-location.component.html\",\r\n\tstyleUrls: [\"./close-location.component.scss\"],\r\n\tencapsulation: ViewEncapsulation.None,\r\n})\r\nexport class CloseLocationComponent implements OnInit {\r\n\tconstructor(\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate alertController: AlertController,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t\tprivate uiQuery: UiQuery,\r\n\t\tprivate locationStateService: LocationStateService,\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate checklistModalService: ChecklistModalService,\r\n\t\tprivate operatorService: OperatorService,\r\n\t) {}\r\n\r\n\tisClosing: boolean;\r\n\tdispatches: number;\r\n\triders: number;\r\n\tallowChangingDispatchesWhenClosingLocation$ = this.uiQuery.allowChangingDispatchesWhenClosingLocation$;\r\n\tallowChangingRidersWhenClosingLocation$ = this.uiQuery.allowChangingRidersWhenClosingLocation$;\r\n\tinitialize = async () => {\r\n\t\tthis.dispatches = await this.getDispatches();\r\n\t\tthis.riders = await this.getRiders();\r\n\t};\r\n\tclose = async () => {\r\n\t\tthis.isClosing = true;\r\n\r\n\t\ttry {\r\n\t\t\tconst [inputCycles, inputRiders, closingChecklist] = await combineLatest([\r\n\t\t\t\tthis.allowChangingDispatchesWhenClosingLocation$,\r\n\t\t\t\tthis.allowChangingRidersWhenClosingLocation$,\r\n\t\t\t\tthis.locationStateQuery.closingChecklist$,\r\n\t\t\t]).firstAsync();\r\n\r\n\t\t\tif (closingChecklist != null) {\r\n\t\t\t\tconst closingChecklistResult = await this.checklistModalService.show(\"Closing\");\r\n\t\t\t\tif (closingChecklistResult == false) {\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tlet dispatches = this.dispatches;\r\n\t\t\tlet riders = this.riders;\r\n\r\n\t\t\tif (inputCycles === false) {\r\n\t\t\t\tdispatches = 0;\r\n\t\t\t}\r\n\r\n\t\t\tif (inputRiders === false) {\r\n\t\t\t\triders = 0;\r\n\t\t\t}\r\n\r\n\t\t\tawait this.locationStateService.closeLocation(dispatches, riders);\r\n\t\t\tawait this.modalController.dismiss();\r\n\t\t\tawait this.askForLogout();\r\n\t\t} catch {\r\n\t\t\tconst alert = await this.alertController.create({\r\n\t\t\t\tmessage: this.translocoService.translate(\"CLOSE_LOCATION__ERROR_MESSAGE\"),\r\n\t\t\t\tbuttons: [this.translocoService.translate(\"CLOSE_LOCATION__OK\")],\r\n\t\t\t\tbackdropDismiss: true,\r\n\t\t\t});\r\n\r\n\t\t\tawait alert.present();\r\n\t\t} finally {\r\n\t\t\tthis.isClosing = false;\r\n\t\t}\r\n\t};\r\n\taskForLogout = async () => {\r\n\t\tconst askLogout = await this.alertController.create({\r\n\t\t\tmessage: this.translocoService.translate(\"CLOSE_LOCATION__WOULD_YOU_LIKE_TO_SIGN_OUT\"),\r\n\t\t\tid: \"close-location-logout-modal\",\r\n\t\t\tbuttons: [\r\n\t\t\t\t{\r\n\t\t\t\t\ttext: this.translocoService.translate(\"CLOSE_LOCATION__REMAIN_LOGGED_IN\"),\r\n\t\t\t\t\trole: \"cancel\",\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\ttext: this.translocoService.translate(\"CLOSE_LOCATION__SIGN_OUT\"),\r\n\t\t\t\t\trole: \"ok\",\r\n\t\t\t\t\thandler: () => {\r\n\t\t\t\t\t\tthis.operatorService.logoutOperator();\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t});\r\n\r\n\t\tawait askLogout.present();\r\n\t};\r\n\tprivate getDispatches = () => this.locationStateQuery.dispatches$.firstAsync();\r\n\tprivate getRiders = () => this.locationStateQuery.riders$.firstAsync();\r\n\tngOnInit() {\r\n\t\tthis.initialize();\r\n\t}\r\n}\r\n","\r\n
\r\n\t
{{ \"DOWNTIME_MODAL__DOWNTIME\" | transloco }}
\r\n\r\n\t\r\n\t\t 0\">\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t{{ template.name }}\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t
\r\n\t
\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n\t
\r\n\t\t
\r\n\t\t\t{{ \"DOWNTIME_MODAL__SET_STATUS_AS_DOWN\" | transloco }}\r\n\t\t
\r\n\t\t\r\n\t\t\t{{ \"DOWNTIME_MODAL__START_DOWNTIME\" | transloco }}\r\n\t\t\r\n\t
\r\n
\r\n","import { Component } from \"@angular/core\";\r\nimport { AlertController, ModalController } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { ApiService, DowntimeTemplate } from \"../../configuration/services/api.service\";\r\nimport { LocationStateService } from \"../../configuration/state/location-state.service\";\r\nimport { LocationStateQuery } from \"source/app/configuration/state/location-state.query\";\r\n\r\n@Component({\r\n\tselector: \"app-down-location\",\r\n\ttemplateUrl: \"./down-location.component.html\",\r\n\tstyleUrls: [\"./down-location.component.scss\"],\r\n})\r\nexport class DownLocationComponent {\r\n\tconstructor(\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate apiService: ApiService,\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate locationStateService: LocationStateService,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t\tprivate alertController: AlertController,\r\n\t) {}\r\n\r\n\tdescription: string;\r\n\tselectedTemplate: DowntimeTemplate;\r\n\ttemplates$ = this.locationStateQuery.downtimeTemplates$;\r\n\tsaving = false;\r\n\r\n\ttoggleTemplate = (template: DowntimeTemplate) => {\r\n\t\tif (template == this.selectedTemplate) {\r\n\t\t\tthis.selectedTemplate = null;\r\n\t\t\tthis.description = null;\r\n\t\t} else {\r\n\t\t\tthis.selectedTemplate = template;\r\n\t\t\tthis.description = template.description;\r\n\t\t}\r\n\t};\r\n\r\n\tstartDowntime = async () => {\r\n\t\tthis.saving = true;\r\n\t\ttry {\r\n\t\t\tawait this.apiService.down(this.description, this.selectedTemplate?.categories);\r\n\t\t\tawait this.locationStateService.setLocationAsdown(this.description);\r\n\t\t\tawait this.modalController.dismiss();\r\n\t\t} catch {\r\n\t\t\tconst alert = await this.alertController.create({\r\n\t\t\t\tmessage: this.translocoService.translate(\"DOWN_LOCATION__ERROR_MESSAGE\"),\r\n\t\t\t\tbuttons: [this.translocoService.translate(\"DOWN_LOCATION__OK\")],\r\n\t\t\t\tbackdropDismiss: true,\r\n\t\t\t});\r\n\r\n\t\t\tawait alert.present();\r\n\t\t}\r\n\t\tthis.saving = false;\r\n\t};\r\n\r\n\tdismiss = () => {\r\n\t\tthis.modalController.dismiss();\r\n\t};\r\n}\r\n","
\r\n\t
\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t{{ \"LOCATION_STATUS_CLOSE_RIDE\" | transloco }}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t{{ \"LOCATION_STATUS_START_DOWNTIME\" | transloco }}\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t
\r\n
\r\n","import { Component } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { LocationStateQuery } from \"../../configuration/state/location-state.query\";\r\nimport { CloseLocationComponent } from \"../../modals/close-location/close-location.component\";\r\nimport { DownLocationComponent } from \"../../modals/down-location/down-location.component\";\r\n\r\n@Component({\r\n\tselector: \"app-location-status\",\r\n\ttemplateUrl: \"./location-status.component.html\",\r\n\tstyleUrls: [\"./location-status.component.scss\"],\r\n})\r\nexport class LocationStatusComponent {\r\n\tconstructor(\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t) {}\r\n\r\n\tlocationState$ = this.locationStateQuery.selectState$;\r\n\r\n\tcloseLocation = async () => {\r\n\t\tconst closeModal = await this.modalController.create({\r\n\t\t\tcomponent: CloseLocationComponent,\r\n\t\t\tcssClass: \"close-location-modal auto-height\",\r\n\t\t});\r\n\r\n\t\tawait closeModal.present();\r\n\t};\r\n\r\n\tdownLocation = async () => {\r\n\t\tconst modal = await this.modalController.create({\r\n\t\t\tcomponent: DownLocationComponent,\r\n\t\t\tcssClass: \"down-location-modal auto-height\",\r\n\t\t});\r\n\r\n\t\tawait modal.present();\r\n\t};\r\n}\r\n","
\r\n\t
\r\n\t\t\r\n\t
\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t
\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t
\r\n\t\t\t\r\n\t\t
\r\n\t\r\n\r\n","import { Component } from \"@angular/core\";\r\nimport { NavigationEnd, Router } from \"@angular/router\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { filter, map, take } from \"rxjs/operators\";\r\nimport { LocationStateQuery } from \"../../configuration/state/location-state.query\";\r\nimport { SettingsComponent } from \"../settings/settings.component\";\r\nimport { StatisticsComponent } from \"../statistics/statistics.component\";\r\n\r\n@Component({\r\n\tselector: \"app-menu-bar\",\r\n\ttemplateUrl: \"./menu-bar.component.html\",\r\n\tstyleUrls: [\"./menu-bar.component.scss\"],\r\n})\r\nexport class MenuBarComponent {\r\n\tconstructor(\r\n\t\tprivate router: Router,\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t) {}\r\n\r\n\tcurrentUrl$ = this.router.events\r\n\t\t.pipe(filter((event): event is NavigationEnd => event instanceof NavigationEnd))\r\n\t\t.pipe(map((event: NavigationEnd) => event.urlAfterRedirects));\r\n\r\n\tshowNotesIcon$ = this.locationStateQuery.noteTypes$.pipe(\r\n\t\tmap((noteTypes) => noteTypes.filter((type) => type.isDeleted === false)),\r\n\t\tmap((noteTypes) => noteTypes.length > 0),\r\n\t);\r\n\r\n\tallowNavigation$ = this.locationStateQuery.operatorIsSelected$;\r\n\tallowStatisticsForOperator$ = this.locationStateQuery.allowStatisticsForOperator$;\r\n\r\n\tsettings = async () => {\r\n\t\tconst allowNavigation = await this.allowNavigation$.pipe(take(1)).toPromise();\r\n\t\tif (allowNavigation !== true) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst settingsModal = await this.modalController.create({\r\n\t\t\tcomponent: SettingsComponent,\r\n\t\t});\r\n\r\n\t\tawait settingsModal.present();\r\n\t};\r\n\r\n\tstatistics = async () => {\r\n\t\tconst allowNavigation = await this.allowNavigation$.pipe(take(1)).toPromise();\r\n\t\tif (allowNavigation !== true) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst statisticsModal = await this.modalController.create({\r\n\t\t\tcomponent: StatisticsComponent,\r\n\t\t\tcssClass: \"statistics-modal auto-height\",\r\n\t\t});\r\n\r\n\t\tawait statisticsModal.present();\r\n\t};\r\n}\r\n","\r\n\r\n\r\n
0\" class=\"number-grid\">\r\n\t\r\n\t\t{{ number }}\r\n\t
\r\n\r\n\r\n
\r\n\t{{ \"WIDGET__NO_SEATS_ARE_CURRENTLY_AVAILABLE\" | transloco }}\r\n
\r\n","import { Component, EventEmitter, Input, OnDestroy, OnInit, Output } from \"@angular/core\";\r\nimport { combineLatest, ReplaySubject } from \"rxjs\";\r\nimport { takeUntil } from \"rxjs/operators\";\r\nimport { UiQuery } from \"../../configuration/state/ui.query\";\r\nimport { NumberGridConfiguration } from \"../../configuration/state/ui.store\";\r\n\r\n@Component({\r\n\tselector: \"app-number-grid\",\r\n\ttemplateUrl: \"./number-grid.component.html\",\r\n\tstyleUrls: [\"./number-grid.component.scss\"],\r\n})\r\nexport class NumberGridComponent implements OnInit, OnDestroy {\r\n\tconstructor(private uiQuery: UiQuery) {}\r\n\r\n\t@Input() selectedValue: number;\r\n\t@Output() selectedValueChange = new EventEmitter();\r\n\r\n\tnumbers: number[];\r\n\r\n\tprivate destroyed$: ReplaySubject = new ReplaySubject(1);\r\n\tngOnInit() {\r\n\t\tconst configurationObservable = combineLatest([\r\n\t\t\tthis.uiQuery.numberGridConfiguration$,\r\n\t\t\tthis.uiQuery.cartsInUse$,\r\n\t\t\tthis.uiQuery.seatsUnavailable$,\r\n\t\t]);\r\n\r\n\t\tconfigurationObservable.pipe(takeUntil(this.destroyed$)).subscribe((values) => this.configure(...values));\r\n\t}\r\n\r\n\tselect(value: number) {\r\n\t\tif (value == null) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.selectedValue = value;\r\n\t\tthis.selectedValueChange.emit(value);\r\n\t}\r\n\r\n\tprivate configure(configuration: NumberGridConfiguration, cartsInUse: number, seatsUnavailable: number) {\r\n\t\tlet amount = configuration.amount;\r\n\r\n\t\tif (cartsInUse == 1) {\r\n\t\t\tamount -= seatsUnavailable;\r\n\t\t}\r\n\r\n\t\tif (amount <= 0) {\r\n\t\t\tamount = 0;\r\n\t\t}\r\n\r\n\t\t// Add one to allow making empty dispatches.\r\n\t\tamount++;\r\n\r\n\t\tconst numbers = Array.from({ length: amount }, (_, index) => index);\r\n\t\tif (configuration.direction === \"descending\") {\r\n\t\t\tnumbers.reverse();\r\n\t\t}\r\n\r\n\t\tthis.numbers = numbers;\r\n\t\tthis.populateEmptyColumns();\r\n\t}\r\n\r\n\tprivate populateEmptyColumns() {\r\n\t\t// Fill missing columns with empty fields.\r\n\t\tconst columnsPerRow = 5;\r\n\t\tconst columnsUsed = this.numbers.length % columnsPerRow || columnsPerRow;\r\n\r\n\t\tconst emptyColumns = columnsPerRow - columnsUsed;\r\n\t\tif (emptyColumns > 0) {\r\n\t\t\tthis.numbers = this.numbers.concat([...Array(emptyColumns)]);\r\n\t\t}\r\n\t}\r\n\r\n\tngOnDestroy(): void {\r\n\t\tthis.destroyed$.next();\r\n\t\tthis.destroyed$.complete();\r\n\t}\r\n}\r\n","import {\r\n\tChangeDetectionStrategy,\r\n\tComponent,\r\n\tEventEmitter,\r\n\tInput,\r\n\tOnChanges,\r\n\tOutput,\r\n\tSimpleChanges,\r\n} from \"@angular/core\";\r\n\r\n@Component({\r\n\tselector: \"app-number-selector\",\r\n\ttemplateUrl: \"./number-selector.component.html\",\r\n\tstyleUrls: [\"./number-selector.component.scss\"],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class NumberSelectorComponent implements OnChanges {\r\n\t@Input() selectedValue: number;\r\n\t@Output() selectedValueChange = new EventEmitter();\r\n\r\n\tmodel: NumberSelectorModel = {\r\n\t\tthousands: 0,\r\n\t\thundreds: 0,\r\n\t\ttens: 0,\r\n\t\tsingle: 0,\r\n\t};\r\n\r\n\taddType(type: \"thousands\" | \"hundreds\" | \"tens\" | \"single\") {\r\n\t\tif (this.model[type] < 9) {\r\n\t\t\tthis.model[type]++;\r\n\t\t} else {\r\n\t\t\tthis.model[type] = 0;\r\n\t\t}\r\n\r\n\t\tthis.setValueFromModel();\r\n\t}\r\n\r\n\tsubtractType(type: \"thousands\" | \"hundreds\" | \"tens\" | \"single\") {\r\n\t\tif (this.model[type] > 0) {\r\n\t\t\tthis.model[type]--;\r\n\t\t} else {\r\n\t\t\tthis.model[type] = 9;\r\n\t\t}\r\n\r\n\t\tthis.setValueFromModel();\r\n\t}\r\n\r\n\tadd(amount = 1) {\r\n\t\tthis.setValue(this.selectedValue + amount);\r\n\t\tthis.setModelFromValue();\r\n\t}\r\n\r\n\tsubtract(amount = 1) {\r\n\t\tthis.setValue(this.selectedValue - amount);\r\n\t\tthis.setModelFromValue();\r\n\t}\r\n\r\n\tprivate setModelFromValue() {\r\n\t\tif (this.selectedValue == null) {\r\n\t\t\tthis.selectedValue = 0;\r\n\t\t}\r\n\r\n\t\tconst valueString = String(this.selectedValue).padStart(4, \"0\");\r\n\r\n\t\tthis.model = {\r\n\t\t\tthousands: parseInt(valueString[0]),\r\n\t\t\thundreds: parseInt(valueString[1]),\r\n\t\t\ttens: parseInt(valueString[2]),\r\n\t\t\tsingle: parseInt(valueString[3]),\r\n\t\t};\r\n\t}\r\n\r\n\tprivate setValueFromModel() {\r\n\t\tconst totalString = \"\" + this.model.thousands + this.model.hundreds + this.model.tens + this.model.single;\r\n\t\tthis.setValue(parseInt(totalString));\r\n\t}\r\n\r\n\tprivate setValue(value: number) {\r\n\t\tthis.selectedValue = value;\r\n\t\tthis.selectedValueChange.emit(value);\r\n\t}\r\n\r\n\tngOnChanges(_changes: SimpleChanges): void {\r\n\t\tthis.setModelFromValue();\r\n\t}\r\n}\r\n\r\nexport interface NumberSelectorModel {\r\n\tthousands: number;\r\n\thundreds: number;\r\n\ttens: number;\r\n\tsingle: number;\r\n}\r\n","
\r\n\t
\r\n\t\t\r\n\r\n\t\t
\r\n\t\t\t\r\n\t\t\t
\r\n\t\t\t\t{{ model.thousands }}\r\n\t\t\t
\r\n\t\t\t\r\n\t\t
\r\n\r\n\t\t
\r\n\t\t\t\r\n\t\t\t
\r\n\t\t\t\t{{ model.hundreds }}\r\n\t\t\t
\r\n\t\t\t\r\n\t\t
\r\n\r\n\t\t
\r\n\t\t\t\r\n\t\t\t
\r\n\t\t\t\t{{ model.tens }}\r\n\t\t\t
\r\n\t\t\t\r\n\t\t
\r\n\r\n\t\t
\r\n\t\t\t\r\n\t\t\t
\r\n\t\t\t\t{{ model.single }}\r\n\t\t\t
\r\n\t\t\t\r\n\t\t
\r\n\r\n\t\t\r\n\t
\r\n
\r\n","
\r\n\t
{{ \"OFFLINE_WARNING__TITLE\" | transloco }}
\r\n\t
{{ \"OFFLINE_WARNING__MESSAGE\" | transloco }}
\r\n\r\n\t\r\n\t\t{{ \"OFFLINE_WARNING__TRY_AGAIN\" | transloco }}\r\n\t\r\n
\r\n","import { Component, EventEmitter, Output, Input } from \"@angular/core\";\r\n\r\n@Component({\r\n\tselector: \"app-offline-message\",\r\n\ttemplateUrl: \"./offline-message.component.html\",\r\n\tstyleUrls: [\"./offline-message.component.scss\"],\r\n})\r\nexport class OfflineMessageComponent {\r\n\t@Input() showRetry: boolean;\r\n\t@Output() retry = new EventEmitter();\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { OperatorLoginComponent } from \"../operator-login.component\";\r\n\r\n@Injectable()\r\nexport class OperatorLoginModal {\r\n\tconstructor(private modalController: ModalController) {}\r\n\r\n\tasync show(selectedOperator: Operator): Promise {\r\n\t\tconst modal = await this.modalController.create({\r\n\t\t\tcomponent: OperatorLoginComponent,\r\n\t\t\tid: \"operator-login-modal\",\r\n\t\t\tcomponentProps: {\r\n\t\t\t\toperator: selectedOperator,\r\n\t\t\t},\r\n\t\t});\r\n\r\n\t\tawait modal.present();\r\n\r\n\t\tconst value = await modal.onDidDismiss();\r\n\t\treturn value?.data?.operator;\r\n\t}\r\n}\r\n","import { HttpErrorResponse } from \"@angular/common/http\";\r\nimport { Component, Input, ViewChild } from \"@angular/core\";\r\nimport { AlertController, ModalController } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { OperatorService } from \"../../configuration/services/operator.service\";\r\nimport { PinCodeInputComponent } from \"../pin-code-input/pin-code-input.component\";\r\n\r\n@Component({\r\n\tselector: \"app-operator-login\",\r\n\ttemplateUrl: \"./operator-login.component.html\",\r\n\tstyleUrls: [\"./operator-login.component.scss\"],\r\n})\r\nexport class OperatorLoginComponent {\r\n\tconstructor(\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate operatorService: OperatorService,\r\n\t\tprivate alertController: AlertController,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t) {}\r\n\r\n\t@ViewChild(PinCodeInputComponent) pinCodeInput: PinCodeInputComponent;\r\n\t@Input() operator: Operator;\r\n\r\n\tlogin = async (pin: string) => {\r\n\t\ttry {\r\n\t\t\tawait this.operatorService.login(this.operator.id, pin);\r\n\t\t\tawait this.modalController.dismiss({\r\n\t\t\t\toperator: Object.assign({}, this.operator, { pin: pin }),\r\n\t\t\t});\r\n\t\t} catch (exception) {\r\n\t\t\tif (exception instanceof HttpErrorResponse) {\r\n\t\t\t\tawait this.showErrorAlert(exception);\r\n\t\t\t}\r\n\t\t\tthis.pinCodeInput.clear();\r\n\t\t}\r\n\t};\r\n\r\n\tprivate showErrorAlert = async (error: HttpErrorResponse) => {\r\n\t\tlet message = \"OPERATOR_LOGIN__PIN_UNKNOWN_ERROR\";\r\n\r\n\t\tif (error.status !== 401) {\r\n\t\t\tmessage = \"OPERATOR_LOGIN__PLEASE_TRY_AGAIN\";\r\n\t\t} else {\r\n\t\t\tconst authenticationError = error.headers.get(\"x-authentication-error\");\r\n\r\n\t\t\tif (authenticationError == \"InvalidCredentials\") {\r\n\t\t\t\tmessage = \"OPERATOR_LOGIN__PIN_INVALID\";\r\n\t\t\t\tthis.pinCodeInput.clear();\r\n\t\t\t} else if (authenticationError == \"PinCodeLocked\") {\r\n\t\t\t\tmessage = \"OPERATOR_LOGIN__PIN_CODE_LOCKED\";\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tconst alert = await this.alertController.create({\r\n\t\t\tmessage: this.translocoService.translate(message),\r\n\t\t\tbuttons: [this.translocoService.translate(\"OPERATOR_LOGIN__OK\")],\r\n\t\t\tbackdropDismiss: true,\r\n\t\t});\r\n\r\n\t\tawait alert.present();\r\n\t};\r\n}\r\n","
\r\n\t
\r\n\t\t\r\n\t
\r\n\r\n\t\r\n
\r\n","\r\n\r\n\r\n
\r\n\t
\r\n\t\t
\r\n\t\t\t\r\n\t\t\t= 1\">\r\n\t\t\t\r\n\t\t\t= 2\">\r\n\t\t\t\r\n\t\t\t= 3\">\r\n\t\t\t\r\n\t\t\t\r\n\t\t
\r\n\t
\r\n\r\n\t
\r\n\t\t
\r\n\t\t\t
1
\r\n\t\t\t
2
\r\n\t\t\t
3
\r\n\t\t
\r\n\t\t
\r\n\t\t\t
4
\r\n\t\t\t
5
\r\n\t\t\t
6
\r\n\t\t
\r\n\t\t
\r\n\t\t\t
7
\r\n\t\t\t
8
\r\n\t\t\t
9
\r\n\t\t
\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t{{ \"OPERATOR_LOGIN__CLEAR\" | transloco }}\r\n\t\t\t
\r\n\t\t\t
0
\r\n\t\t\t
\r\n\t\t\t\t{{ \"OPERATOR_LOGIN__DELETE\" | transloco }}\r\n\t\t\t
\r\n\t\t
\r\n\t
\r\n
\r\n","import { Component, EventEmitter, Input, Output } from \"@angular/core\";\r\n\r\n@Component({\r\n\tselector: \"app-pin-code-input\",\r\n\ttemplateUrl: \"./pin-code-input.component.html\",\r\n\tstyleUrls: [\"./pin-code-input.component.scss\"],\r\n})\r\nexport class PinCodeInputComponent {\r\n\t@Input() pin = \"\";\r\n\t@Output() done = new EventEmitter();\r\n\r\n\tadd = (digit: number): void => {\r\n\t\tif (this.pin.length >= 4) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.pin.length < 4) {\r\n\t\t\tthis.pin = this.pin + digit;\r\n\t\t}\r\n\r\n\t\tif (this.pin.length === 4) {\r\n\t\t\tthis.done.emit(this.pin);\r\n\t\t}\r\n\t};\r\n\r\n\tclear = (): void => {\r\n\t\tthis.pin = \"\";\r\n\t};\r\n\r\n\tdelete = async () => {\r\n\t\tthis.pin = this.pin.slice(0, this.pin.length - 1);\r\n\t};\r\n}\r\n","\r\n\t\r\n\t\t{{ \"SETTINGS__LANGUAGE\" | transloco }}\r\n\t\t{{ currentLanguage$ | async }}\r\n\t\r\n\r\n\t\r\n\t\t{{ \"SETTINGS__DASHBOARD_STATISTICS\" | transloco }}\r\n\t\t{{ dashboardStatisticsMetricName$ | async }}\r\n\t\r\n\r\n\t\r\n\t\t\r\n\t\t\t{{ \"SETTINGS__SHOW_RIDERS_WIDGET\" | transloco }}\r\n\t\t\r\n\t\r\n\r\n\t\r\n\t\t\r\n\t\t\t{{ \"SETTINGS__SHOW_QUEUE_TIME_WIDGET\" | transloco }}\r\n\t\t\r\n\t\r\n\r\n\t\r\n\t\t\r\n\t\t\t{{ \"SETTINGS__INPUT_CYCLES_AT_CLOSE\" | transloco }}\r\n\t\t\r\n\t\r\n\r\n\t\r\n\t\t\r\n\t\t\t{{ \"SETTINGS__INPUT_RIDERS_AT_CLOSE\" | transloco }}\r\n\t\t\r\n\t\r\n\r\n\t\r\n\t\t\r\n\t\t\t{{ \"SETTINGS__CHANGE_LOCATION\" | transloco }}\r\n\t\t\r\n\t\r\n\r\n\t\r\n\t\t\r\n\t\t\t{{ \"SETTINGS__CHANGE_PIN\" | transloco }}\r\n\t\t\r\n\t\r\n\r\n\r\n\r\n\t{{ \"SETTINGS__FACTORY_RESET\" | transloco }}\r\n\r\n","import { Component } from \"@angular/core\";\r\nimport { ModalController, ToggleCustomEvent } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { map } from \"rxjs/operators\";\r\nimport { LocationChangeService } from \"source/app/configuration/services/location-change.service\";\r\nimport { FactoryResetService } from \"../../configuration/services/factoryreset.service\";\r\nimport { UiQuery } from \"../../configuration/state/ui.query\";\r\nimport { UiService } from \"../../configuration/state/ui.service\";\r\nimport { ChangePinCodeModal } from \"../../modals/change-pin-code/change-pin-code.modal\";\r\nimport { LanguagePickerModal } from \"../../modals/language-picker/language-picker.modal\";\r\nimport { ValuePickerModalService } from \"source/app/modals/value-picker/value-picker-modal.service\";\r\nimport { ValuePickerItem, ValuePickerModel } from \"source/app/modals/value-picker/value-picker.component\";\r\nimport { StatisticsMetrics } from \"../statistics/statistics.types\";\r\nimport { LocationStateQuery } from \"source/app/configuration/state/location-state.query\";\r\nimport { LanguageService } from \"source/app/configuration/services/language.service\";\r\n\r\n@Component({\r\n\tselector: \"app-settings\",\r\n\ttemplateUrl: \"./settings.component.html\",\r\n})\r\nexport class SettingsComponent {\r\n\tconstructor(\r\n\t\tprivate uiQuery: UiQuery,\r\n\t\tprivate uiService: UiService,\r\n\t\tprivate languagePickerModal: LanguagePickerModal,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t\tprivate factoryResetService: FactoryResetService,\r\n\t\tprivate changePinCodeModal: ChangePinCodeModal,\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate locationChangeService: LocationChangeService,\r\n\t\tprivate valuePickerModalService: ValuePickerModalService,\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate languageService: LanguageService,\r\n\t) {}\r\n\r\n\twidgetOptions$ = this.uiQuery.widgetOptions$;\r\n\tallowChangingDispatchesWhenClosingLocation$ = this.uiQuery.allowChangingDispatchesWhenClosingLocation$;\r\n\tallowChangingRidersWhenClosingLocation$ = this.uiQuery.allowChangingRidersWhenClosingLocation$;\r\n\tallowStatisticsForOperator$ = this.locationStateQuery.allowStatisticsForOperator$;\r\n\r\n\tlocked$ = this.uiQuery.locked$;\r\n\r\n\tcurrentLanguage$ = this.translocoService.langChanges$.pipe(\r\n\t\tmap((language) => {\r\n\t\t\tconst availableLanguages = this.languageService.getAvailableLangs();\r\n\t\t\tconst currentLang = availableLanguages.find((x) => x.id == language);\r\n\t\t\treturn currentLang.label;\r\n\t\t}),\r\n\t);\r\n\r\n\tdashboardStatisticsMetricName$ = this.uiQuery.dashboardStatisticsMetric$.pipe(\r\n\t\tmap((selectedMetric) => {\r\n\t\t\tconst metric = StatisticsMetrics.find((x) => x.id == selectedMetric);\r\n\t\t\treturn this.translocoService.translate(metric?.name);\r\n\t\t}),\r\n\t);\r\n\r\n\tchangeLanguage = async () => {\r\n\t\tconst language = await this.languagePickerModal.show();\r\n\t\tif (language == null) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.translocoService.setActiveLang(language.id);\r\n\t};\r\n\tsetDashboardStatistics = async () => {\r\n\t\tconst metrics = StatisticsMetrics.map(\r\n\t\t\t(metric) =>\r\n\t\t\t\t{\r\n\t\t\t\t\tid: metric.id,\r\n\t\t\t\t\tname: this.translocoService.translate(metric.name),\r\n\t\t\t\t},\r\n\t\t);\r\n\r\n\t\tconst metricPickerSettings: ValuePickerModel = {\r\n\t\t\ttitle: \"STATISTICS_SETTINGS_TITLE\",\r\n\t\t\tdescription: \"STATISTICS_SETTINGS_DESCRIPTION\",\r\n\t\t\telements: metrics,\r\n\t\t};\r\n\r\n\t\tconst modal = await this.valuePickerModalService.create(metricPickerSettings);\r\n\r\n\t\tawait modal.present();\r\n\t\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n\t\tconst result = await modal.onDidDismiss();\r\n\r\n\t\tif (result.data == null) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.uiService.setDashboardStatisticsMetric(result.data.id);\r\n\t};\r\n\tchangeLocation = async () => {\r\n\t\tawait this.tryHideModal();\r\n\t\tawait this.locationChangeService.startLocationChange();\r\n\t};\r\n\tfactoryReset = async () => {\r\n\t\tawait this.tryHideModal();\r\n\t\tawait this.factoryResetService.factoryReset();\r\n\t};\r\n\tchangePin = async () => {\r\n\t\tawait this.tryHideModal();\r\n\r\n\t\tthis.changePinCodeModal.show({\r\n\t\t\trequireCurrentPin: false,\r\n\t\t});\r\n\t};\r\n\tprivate tryHideModal = async () => {\r\n\t\ttry {\r\n\t\t\tawait this.modalController.dismiss();\r\n\t\t\t// eslint-disable-next-line no-empty\r\n\t\t} catch {}\r\n\t};\r\n\tsetRidersWidgetVisibility(event: Event) {\r\n\t\tthis.uiService.setRidersVisible((event).detail.checked);\r\n\t}\r\n\r\n\tsetQueueWidgetVisibility(event: Event) {\r\n\t\tthis.uiService.setQueueTimeVisible((event).detail.checked);\r\n\t}\r\n\r\n\tsetInputCyclesOnClose(event: Event) {\r\n\t\tthis.uiService.setAllowChangingDispatchesWhenClosingLocation((event).detail.checked);\r\n\t}\r\n\r\n\tsetInputRidersOnClose(event: Event) {\r\n\t\tthis.uiService.setAllowChangingRidersWhenClosingLocation((event).detail.checked);\r\n\t}\r\n}\r\n","\r\n\r\n\t{{ value | number: digitsInfo }}\r\n\t{{ postfix }}\r\n\r\n{{ \"STATISTICS_PAGE__NA\" | transloco }}\r\n","import { Component, Input } from \"@angular/core\";\r\n\r\n@Component({\r\n\tselector: \"app-statistics-number\",\r\n\ttemplateUrl: \"./statistics-number.component.html\",\r\n\tstyleUrls: [\"./statistics-number.component.scss\"],\r\n})\r\nexport class StatisticsNumberComponent {\r\n\t@Input() value: number;\r\n\t@Input() postfix: string;\r\n\t@Input() digitsInfo: string;\r\n}\r\n","\r\n\r\n\t{{ model.hours }}\r\n\th\r\n\t{{ model.minutes }}\r\n\tm\r\n\t{{ model.seconds }}\r\n\ts\r\n\r\n{{ \"STATISTICS_PAGE__NA\" | transloco }}\r\n","import { Component, Input, OnChanges } from \"@angular/core\";\r\n\r\n@Component({\r\n\tselector: \"app-statistics-time\",\r\n\ttemplateUrl: \"./statistics-time.component.html\",\r\n\tstyleUrls: [\"./statistics-time.component.scss\"],\r\n})\r\nexport class StatisticsTimeComponent implements OnChanges {\r\n\t@Input() totalSeconds: number;\r\n\r\n\tmodel: StatisticsTimeModel;\r\n\r\n\tngOnChanges(): void {\r\n\t\tthis.model = StatisticsTimeModel.create(this.totalSeconds);\r\n\t}\r\n}\r\n\r\nclass StatisticsTimeModel {\r\n\tprivate constructor(totalSeconds: number) {\r\n\t\tthis.hours = Math.floor(totalSeconds / 60 / 60);\r\n\t\tthis.minutes = Math.floor((totalSeconds % (60 * 60)) / 60);\r\n\t\tthis.seconds = Math.floor(totalSeconds % 60);\r\n\r\n\t\tthis.showHours = this.hours > 0;\r\n\t\tthis.showMinutes = this.showHours || this.minutes > 0;\r\n\t}\r\n\r\n\thours: number;\r\n\tminutes: number;\r\n\tseconds: number;\r\n\r\n\tshowHours: boolean;\r\n\tshowMinutes: boolean;\r\n\r\n\tstatic create(totalSeconds: number) {\r\n\t\tif (totalSeconds == null) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\treturn new StatisticsTimeModel(totalSeconds);\r\n\t}\r\n}\r\n","\r\n
\r\n\t
\r\n\t\t
\r\n\t\t\t

{{ \"STATISTICS_PAGE__HEADLINE\" | transloco }}

\r\n\t\t\t

{{ \"STATISTICS_PAGE__SUB_HEADLINE\" | transloco }}

\r\n\t\t
\r\n\t\t\r\n\t
\r\n\r\n\t\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t
\r\n\t\t\t\t{{ \"STATISTICS_PAGE__TODAY\" | transloco }}\r\n\t\t\t\r\n\t\t\t\t{{ \"STATISTICS_PAGE__LAST_HOUR\" | transloco }}\r\n\t\t\t\r\n\t\t\t\t{{ \"STATISTICS_PAGE__YOUR_SHIFT\" | transloco }}\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t{{ \"STATISTICS_PAGE__RIDE_UTILIZATION\" | transloco }}\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t{{ \"STATISTICS_PAGE__CART_UTILIZATION\" | transloco }}\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t{{ \"STATISTICS_PAGE__DISPATCHES\" | transloco }}\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t{{ \"STATISTICS_PAGE__RIDERS\" | transloco }}\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t{{ \"STATISTICS_PAGE__AVG_CYCLE_TIME\" | transloco }}\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t{{ \"STATISTICS_PAGE__UPTIME\" | transloco }}\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t
\r\n
\r\n","import { Component, OnInit } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { ApiService } from \"../../configuration/services/api.service\";\r\nimport { UiQuery } from \"source/app/configuration/state/ui.query\";\r\nimport { UiService } from \"source/app/configuration/state/ui.service\";\r\nimport { firstValueFrom } from \"rxjs\";\r\nimport { StatisticsMetric } from \"./statistics.types\";\r\n\r\n@Component({\r\n\tselector: \"app-statistics\",\r\n\ttemplateUrl: \"./statistics.component.html\",\r\n\tstyleUrls: [\"./statistics.component.scss\"],\r\n})\r\nexport class StatisticsComponent implements OnInit {\r\n\tconstructor(\r\n\t\tprivate apiService: ApiService,\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate uiQuery: UiQuery,\r\n\t\tprivate uiService: UiService,\r\n\t) {}\r\n\r\n\treadonly StatisticsMetric = StatisticsMetric; // Make enum available in template\r\n\r\n\tstatistics: LocationStatisticsResult;\r\n\toffline = false;\r\n\r\n\tdashboardStatisticsMetric$ = this.uiQuery.dashboardStatisticsMetric$;\r\n\r\n\tselect = async (metric: StatisticsMetric) => {\r\n\t\tconst currentMetric = await firstValueFrom(this.dashboardStatisticsMetric$);\r\n\t\tconst newMetric = currentMetric == metric ? StatisticsMetric.None : metric;\r\n\t\tthis.uiService.setDashboardStatisticsMetric(newMetric);\r\n\t};\r\n\tgetStatistics = async () => {\r\n\t\tthis.offline = false;\r\n\t\ttry {\r\n\t\t\tthis.statistics = await this.apiService.getStatistics();\r\n\t\t} catch {\r\n\t\t\tthis.offline = true;\r\n\t\t}\r\n\t};\r\n\tclose = () => {\r\n\t\tthis.modalController.dismiss();\r\n\t};\r\n\tngOnInit() {\r\n\t\tthis.getStatistics();\r\n\t}\r\n}\r\n","export enum StatisticsMetric {\r\n\tCapacityUtilization = \"capacity-utilization\",\r\n\tDispatchUtilization = \"dispatch-utilization\",\r\n\tDispatches = \"dispatches\",\r\n\tRiders = \"riders\",\r\n\tAverageDispatchTime = \"average-dispatch-time\",\r\n\tUptime = \"uptime\",\r\n\tNone = \"none\",\r\n}\r\n\r\nexport const StatisticsMetrics = [\r\n\t{\r\n\t\tid: StatisticsMetric.CapacityUtilization,\r\n\t\tname: \"STATISTICS_PAGE__RIDE_UTILIZATION\",\r\n\t},\r\n\t{\r\n\t\tid: StatisticsMetric.DispatchUtilization,\r\n\t\tname: \"STATISTICS_PAGE__CART_UTILIZATION\",\r\n\t},\r\n\t{\r\n\t\tid: StatisticsMetric.Dispatches,\r\n\t\tname: \"STATISTICS_PAGE__DISPATCHES\",\r\n\t},\r\n\t{\r\n\t\tid: StatisticsMetric.Riders,\r\n\t\tname: \"STATISTICS_PAGE__RIDERS\",\r\n\t},\r\n\t{\r\n\t\tid: StatisticsMetric.AverageDispatchTime,\r\n\t\tname: \"STATISTICS_PAGE__AVG_CYCLE_TIME\",\r\n\t},\r\n\t{\r\n\t\tid: StatisticsMetric.Uptime,\r\n\t\tname: \"STATISTICS_PAGE__UPTIME\",\r\n\t},\r\n\t{\r\n\t\tid: StatisticsMetric.None,\r\n\t\tname: \"STATISTICS_PAGE__NONE\",\r\n\t},\r\n];\r\n","import { NgModule } from \"@angular/core\";\r\nimport { AutoFocusDirective } from \"./auto-focus.directive\";\r\nimport { NgLetDirective } from \"./ng-let.directive\";\r\n\r\n@NgModule({\r\n\tdeclarations: [NgLetDirective, AutoFocusDirective],\r\n\texports: [NgLetDirective, AutoFocusDirective],\r\n})\r\nexport class DirectivesModule {}\r\n","/* eslint-disable @angular-eslint/directive-selector */\r\nimport { Directive, Input, TemplateRef, ViewContainerRef } from \"@angular/core\";\r\n\r\ninterface NgLetContext {\r\n\tngLet: T;\r\n\t$implicit: T;\r\n}\r\n\r\n// https://github.com/nigrosimone/ng-let/blob/main/projects/ng-let/src/lib/ng-let.directive.ts\r\n\r\n@Directive({\r\n\tselector: \"[ngLet]\",\r\n})\r\nexport class NgLetDirective {\r\n\t/** @internal */\r\n\tpublic static ngLetUseIfTypeGuard: void;\r\n\t/**\r\n\t * Assert the correct type of the expression bound to the `NgLet` input within the template.\r\n\t *\r\n\t * The presence of this static field is a signal to the Ivy template type check compiler that\r\n\t * when the `NgLet` structural directive renders its template, the type of the expression bound\r\n\t * to `NgLet` should be narrowed in some way. For `NgLet`, the binding expression itself is used to\r\n\t * narrow its type, which allows the strictNullChecks feature of TypeScript to work with `NgLet`.\r\n\t */\r\n\tstatic ngTemplateGuard_ngLet: \"binding\";\r\n\tconstructor(\r\n\t\tprivate viewContainer: ViewContainerRef,\r\n\t\tprivate template: TemplateRef>,\r\n\t) {}\r\n\tprivate context: NgLetContext = { ngLet: null, $implicit: null };\r\n\r\n\tprivate hasView = false;\r\n\r\n\t@Input()\r\n\tset ngLet(value: T) {\r\n\t\tthis.context.$implicit = this.context.ngLet = value;\r\n\t\tif (!this.hasView) {\r\n\t\t\tthis.viewContainer.createEmbeddedView(this.template, this.context);\r\n\t\t\tthis.hasView = true;\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * Asserts the correct type of the context for the template that `NgLet` will render.\r\n\t *\r\n\t * The presence of this method is a signal to the Ivy template type-check compiler that the\r\n\t * `NgLet` structural directive renders its template with a specific context type.\r\n\t */\r\n\tstatic ngTemplateContextGuard(\r\n\t\t_directive: NgLetDirective,\r\n\t\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n\t\tcontext: any,\r\n\t): context is NgLetContext> {\r\n\t\treturn true;\r\n\t}\r\n}\r\n","import { HttpClient, HttpEvent, HttpHeaders } from \"@angular/common/http\";\r\nimport { Injectable } from \"@angular/core\";\r\nimport { LoadingController } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { map, timeout, switchMap } from \"rxjs/operators\";\r\nimport { EnvironmentQuery } from \"../state/environment.query\";\r\nimport { LocationStateQuery } from \"../state/location-state.query\";\r\nimport { Location } from \"../state/location-state.store\";\r\nimport { combineLatest, Observable } from \"rxjs\";\r\nimport { Checklist, LocationActivity } from \"source/app/features/checklists/checklist.interface\";\r\nimport { AssignmentDefinitionSettings } from \"source/app/features/assignments/assignment.interface\";\r\nimport { Note } from \"../state/note.model\";\r\nimport { UiQuery } from \"../state/ui.query\";\r\n\r\n@Injectable({\r\n\tprovidedIn: \"root\",\r\n})\r\nexport class ApiService {\r\n\tconstructor(\r\n\t\tprivate http: HttpClient,\r\n\t\tprivate environmentQuery: EnvironmentQuery,\r\n\t\tprivate loadingController: LoadingController,\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t\tprivate uiQuery: UiQuery,\r\n\t) {}\r\n\r\n\tprivate postToBackend = async (endpoint: string, payload: object, headers?: HttpHeaders) => {\r\n\t\tconst environment = await this.environmentQuery.environment$.firstAsync();\r\n\t\treturn this.http\r\n\t\t\t.post>(environment.api.url + endpoint, payload, { headers: headers })\r\n\t\t\t.pipe(map((response) => response.data))\r\n\t\t\t.firstAsync();\r\n\t};\r\n\r\n\tprivate getFromBackend = async (endpoint: string, params: Record, headers?: HttpHeaders) => {\r\n\t\tconst environment = await this.environmentQuery.environment$.firstAsync();\r\n\t\treturn this.http\r\n\t\t\t.get>(environment.api.url + endpoint, { params, headers })\r\n\t\t\t.pipe(map((response) => response.data))\r\n\t\t\t.firstAsync();\r\n\t};\r\n\r\n\tgetNotesSummary = async (page: number, waitForNonStaleResults = false) => {\r\n\t\tconst pageSize = 15;\r\n\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\r\n\t\tconst request = {\r\n\t\t\tlocation: location.id,\r\n\t\t\tcurrentPage: page.toString(),\r\n\t\t\tpageSize: pageSize.toString(),\r\n\t\t\twaitForNonStaleResults: waitForNonStaleResults.toString(),\r\n\t\t};\r\n\r\n\t\treturn this.getFromBackend>(\"api/rideops/note-summary\", request);\r\n\t};\r\n\r\n\tlocationSummary = () => {\r\n\t\treturn this.getFromBackend(\"api/rideops/location-summary\", {});\r\n\t};\r\n\r\n\tmemberships = () => {\r\n\t\treturn this.getFromBackend(\"api/rideops/memberships\", {});\r\n\t};\r\n\r\n\tassignmentDefinitionSettings = (): Promise => {\r\n\t\treturn this.getFromBackend(\"api/rideops/assignments/definitions\", {});\r\n\t};\r\n\r\n\tassignmentCategories = (): Promise => {\r\n\t\treturn this.getFromBackend(\"api/rideops/assignments/categories\", {});\r\n\t};\r\n\r\n\tassets = async (): Promise =>\r\n\t\tthis.showLoader(async () => {\r\n\t\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\t\t\treturn this.getFromBackend(\"api/rideops/assets\", {\r\n\t\t\t\tlocation: location.id,\r\n\t\t\t});\r\n\t\t});\r\n\r\n\tassignees = async (definition = \"\"): Promise<{ id: string; information: string; name: string }[]> =>\r\n\t\tthis.showLoader(async () => {\r\n\t\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\t\t\treturn this.postToBackend<{ id: string; information: string; name: string }[]>(\r\n\t\t\t\t\"api/rideops/assignments/assignees\",\r\n\t\t\t\t{ targets: [location.id], definition },\r\n\t\t\t);\r\n\t\t});\r\n\r\n\tgetCriticalResults = async (): Promise =>\r\n\t\tthis.showLoader(async () => {\r\n\t\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\r\n\t\t\tconst parameters = {\r\n\t\t\t\tlocation: location.id,\r\n\t\t\t\tstartOfDay: this.startOfDay(),\r\n\t\t\t};\r\n\r\n\t\t\tconst reponse = await this.getFromBackend(\r\n\t\t\t\t\"api/rideops/critical-results\",\r\n\t\t\t\tparameters,\r\n\t\t\t);\r\n\t\t\treturn reponse.items;\r\n\t\t});\r\n\r\n\tlogin = async (userId: string, pin: string): Promise => {\r\n\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\r\n\t\tconst headers = new HttpHeaders({\r\n\t\t\t\"X-User-Identifier\": userId,\r\n\t\t\t\"X-Pin-Code\": pin,\r\n\t\t});\r\n\r\n\t\tawait this.postToBackend(\"api/rideops/login\", { location: location.id, user: userId, operation: 0 }, headers);\r\n\t};\r\n\r\n\tsignInAttendant = async (attendant: string, position: number) =>\r\n\t\tthis.showLoader(async () => {\r\n\t\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\r\n\t\t\tawait this.postToBackend(\"api/rideops/login\", {\r\n\t\t\t\tlocation: location.id,\r\n\t\t\t\tuser: attendant,\r\n\t\t\t\tposition: position,\r\n\t\t\t\toperation: 0,\r\n\t\t\t});\r\n\t\t});\r\n\r\n\tsignOutAttendant = async (attendant: string, position: number) =>\r\n\t\tthis.showLoader(async () => {\r\n\t\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\r\n\t\t\tawait this.postToBackend(\"api/rideops/logout\", {\r\n\t\t\t\tlocation: location.id,\r\n\t\t\t\tuser: attendant,\r\n\t\t\t\tposition: position,\r\n\t\t\t\toperation: 1,\r\n\t\t\t});\r\n\t\t});\r\n\r\n\tlogout = async () =>\r\n\t\tthis.showLoader(async () => {\r\n\t\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\t\t\tconst environment = await this.environmentQuery.environment$.firstAsync();\r\n\t\t\tconst operator = await this.locationStateQuery.selectOperator$.firstAsync();\r\n\t\t\tconst positions = await this.locationStateQuery.positions$.firstAsync();\r\n\t\t\tconst hasAttendants = positions.some((position) => position.attendant != null);\r\n\t\t\tconst endpoint = environment.api.url + \"api/rideops/logout\";\r\n\r\n\t\t\tconst logoutRequest = {\r\n\t\t\t\tuser: operator.id,\r\n\t\t\t\tlocation: location.id,\r\n\t\t\t\twhen: new Date().toISOString(),\r\n\t\t\t\toperation: 1,\r\n\t\t\t\tsignoutAllAttendants: hasAttendants,\r\n\t\t\t};\r\n\r\n\t\t\tawait this.http.post(endpoint, logoutRequest).pipe(timeout(3000)).firstAsync();\r\n\t\t});\r\n\r\n\topen = () =>\r\n\t\tthis.showLoader(async () => {\r\n\t\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\t\t\tawait this.postToBackend(\"api/rideops/open-location\", { location: location.id });\r\n\t\t});\r\n\r\n\tclose = (dispatchesAtClose: number, ridersAtClose: number) =>\r\n\t\tthis.showLoader(async () => {\r\n\t\t\tconst [operator, location, rideOpsSettings, carts, seats] = await combineLatest([\r\n\t\t\t\tthis.locationStateQuery.operator$,\r\n\t\t\t\tthis.locationStateQuery.location$,\r\n\t\t\t\tthis.locationStateQuery.rideOpsSettings$,\r\n\t\t\t\tthis.uiQuery.cartsInUse$,\r\n\t\t\t\tthis.uiQuery.seatsUnavailable$,\r\n\t\t\t]).firstAsync();\r\n\r\n\t\t\tconst dispatches = await this.locationStateQuery.dispatches$.firstAsync();\r\n\t\t\tconst riders = await this.locationStateQuery.riders$.firstAsync();\r\n\r\n\t\t\tconst extraDispatches = dispatchesAtClose - dispatches;\r\n\t\t\tconst extraRiders = ridersAtClose - riders;\r\n\r\n\t\t\tconst payload: CloseLocationRequest = {\r\n\t\t\t\tlocation: location.id,\r\n\t\t\t\tdispatches: extraDispatches < 0 ? 0 : extraDispatches,\r\n\t\t\t\tdispatchRequest: {\r\n\t\t\t\t\tlocation: location.id,\r\n\t\t\t\t\twhen: new Date().toISOString(),\r\n\t\t\t\t\triders: extraRiders < 0 ? 0 : extraRiders,\r\n\t\t\t\t\toperator: operator.id,\r\n\t\t\t\t\tdispatchUnitCapacity: rideOpsSettings.dispatchUnitCapacity,\r\n\t\t\t\t\tdispatchUnitsAvailable: carts,\r\n\t\t\t\t\ttotalUnavailableCapacity: seats,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\t\tawait this.postToBackend(\"api/rideops/close-location\", payload);\r\n\t\t});\r\n\r\n\tdown = (description: string, categories: string[] = undefined) =>\r\n\t\tthis.showLoader(async () => {\r\n\t\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\r\n\t\t\tconst payload: CloseLocationRequest = {\r\n\t\t\t\tlocation: location.id,\r\n\t\t\t\tcreateDowntime: true,\r\n\t\t\t\tdowntimeDescription: description,\r\n\t\t\t\tdowntimeCategories: categories,\r\n\t\t\t};\r\n\r\n\t\t\tawait this.postToBackend(\"api/rideops/close-location\", payload);\r\n\t\t});\r\n\r\n\tgetDowntimeTemplates = () => {\r\n\t\treturn this.showLoader(async () => {\r\n\t\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\t\t\treturn this.getFromBackend(\"api/rideops/downtime-templates\", { location: location.id });\r\n\t\t});\r\n\t};\r\n\r\n\tchangePin = (pin: string) => {\r\n\t\treturn this.postToBackend(\"api/rideops/change-pin-code\", { pin: pin });\r\n\t};\r\n\r\n\tgetStatistics = async (showLoader = true) => {\r\n\t\tconst statisticsCall = async () => {\r\n\t\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\t\t\tconst operator = await this.locationStateQuery.operator$.firstAsync();\r\n\r\n\t\t\tconst parameters = {\r\n\t\t\t\tlocation: location.id,\r\n\t\t\t\ttimeZone: Intl.DateTimeFormat().resolvedOptions().timeZone,\r\n\t\t\t\tstartOfShift: operator.loggedIn,\r\n\t\t\t};\r\n\r\n\t\t\treturn this.getFromBackend(\"api/rideops/location-statistics\", parameters);\r\n\t\t};\r\n\r\n\t\tif (showLoader) {\r\n\t\t\treturn this.showLoader(statisticsCall);\r\n\t\t}\r\n\r\n\t\treturn statisticsCall();\r\n\t};\r\n\r\n\tgetLibrary = () =>\r\n\t\tthis.showLoader(async () => {\r\n\t\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\t\t\treturn this.getFromBackend(\"api/rideops/library\", { location: location.id });\r\n\t\t});\r\n\r\n\tgetChecklist = (activity: LocationActivity) =>\r\n\t\tthis.showLoader(async () => {\r\n\t\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\r\n\t\t\tconst parameters = {\r\n\t\t\t\tlocation: location.id,\r\n\t\t\t\tactivity: activity,\r\n\t\t\t};\r\n\r\n\t\t\treturn this.getFromBackend(\"api/rideops/required-checklist\", parameters);\r\n\t\t});\r\n\r\n\tuploadFiles$ = (files: File[], tags: string[] = []): Observable> => {\r\n\t\tconst payload = new FormData();\r\n\t\tfiles.forEach((file, index) => payload.append(`file-${index}`, file));\r\n\r\n\t\tconst environment$ = this.environmentQuery.environment$;\r\n\t\treturn environment$.pipe(\r\n\t\t\tswitchMap((environment) => {\r\n\t\t\t\tconst endpoint = environment.api.url + \"api/rideops/files\";\r\n\r\n\t\t\t\t// ServiceWorker does currently not support reporting progress on uploads\r\n\t\t\t\t// https://stackoverflow.com/questions/62235319/reportprogress-is-not-working-in-production\r\n\t\t\t\tconst headers =\r\n\t\t\t\t\ttags.length > 0\r\n\t\t\t\t\t\t? new HttpHeaders({ \"ngsw-bypass\": \"\", Tags: tags.join(\",\") })\r\n\t\t\t\t\t\t: new HttpHeaders({ \"ngsw-bypass\": \"\" });\r\n\r\n\t\t\t\treturn this.http.post(endpoint, payload, {\r\n\t\t\t\t\treportProgress: true,\r\n\t\t\t\t\tobserve: \"events\",\r\n\t\t\t\t\theaders,\r\n\t\t\t\t});\r\n\t\t\t}),\r\n\t\t);\r\n\t};\r\n\r\n\tprivate startOfDay = (): string => {\r\n\t\tconst now = new Date();\r\n\t\tnow.setHours(0, 0, 0, 0);\r\n\t\treturn now.toISOString();\r\n\t};\r\n\r\n\tprivate _loader: HTMLIonLoadingElement;\r\n\tprivate _activeRequests = 0;\r\n\tprivate showLoader = async (action: () => Promise): Promise => {\r\n\t\tthis._activeRequests++;\r\n\r\n\t\ttry {\r\n\t\t\tif (this._activeRequests === 1) {\r\n\t\t\t\tconst message = this.translocoService.translate(\"LOADING_MESSAGE__PLEASE_WAIT\");\r\n\t\t\t\tthis._loader = await this.loadingController.create({ message: message });\r\n\t\t\t\tthis._loader.present();\r\n\t\t\t}\r\n\r\n\t\t\treturn await action();\r\n\t\t} finally {\r\n\t\t\tthis._activeRequests--;\r\n\t\t\tif (this._activeRequests === 0) {\r\n\t\t\t\tthis._loader?.dismiss();\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n}\r\n\r\nexport interface CloseLocationRequest {\r\n\tlocation: string;\r\n\tcreateDowntime?: boolean;\r\n\tdowntimeDescription?: string;\r\n\tdowntimeCategories?: string[];\r\n\tdispatches?: number;\r\n\tdispatchRequest?: CreateDispatchRequest;\r\n}\r\n\r\nexport interface CreateDispatchRequest {\r\n\tlocation: string;\r\n\toperator: string;\r\n\twhen: string;\r\n\triders: number;\r\n\tdispatchUnitCapacity: number;\r\n\tdispatchUnitsAvailable: number;\r\n\ttotalUnavailableCapacity: number;\r\n}\r\n\r\nexport interface LocationSummaryResult {\r\n\tallowLocationSwitch: boolean;\r\n\tlocations: Location[];\r\n}\r\n\r\nexport interface CriticalResultsResponse {\r\n\titems: CriticalResult[];\r\n}\r\n\r\nexport interface CriticalResult {\r\n\tresult: string;\r\n\tchecklistName: string;\r\n\tanswered: string;\r\n\tansweredBy: string;\r\n\tasset?: string;\r\n}\r\n\r\nexport interface DowntimeTemplate {\r\n\tid: string;\r\n\tname: string;\r\n\tdescription: string;\r\n\tcolor: string;\r\n\tcategories: string[];\r\n}\r\n\r\nexport interface FileData {\r\n\tcurrentFilename: string;\r\n\textension: string;\r\n\tfileRevision: number;\r\n\tfromCameraRoll: boolean;\r\n\tid: string;\r\n\tname: string;\r\n\tpath: string;\r\n\ttype: string;\r\n}\r\n\r\nexport interface FileResponse {\r\n\tdata: FileData[];\r\n}\r\n\r\nexport interface AssetHierarchyResponse extends DocumentReference {\r\n\tlocation: string;\r\n\tnodes: AssetHierarchyResponse[];\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { AlertController, LoadingController } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { ChecklistProgressStateStore } from \"source/app/features/checklists/state/checklist-progress-state.store\";\r\nimport { ChecklistStateStore } from \"source/app/features/checklists/state/checklist-state.store\";\r\nimport { ActionsStore } from \"../state/actions.store\";\r\nimport { EnvironmentStore } from \"../state/environment.store\";\r\nimport { LocationStateStore } from \"../state/location-state.store\";\r\nimport { UIStore } from \"../state/ui.store\";\r\nimport { StorageService } from \"./storage.service\";\r\nimport { FileTranslationsStore } from \"../state/file-translations.store\";\r\nimport { FileUploadsStore } from \"../state/file-uploads.store\";\r\n\r\n@Injectable({\r\n\tprovidedIn: \"root\",\r\n})\r\nexport class FactoryResetService {\r\n\tconstructor(\r\n\t\tprivate translocoService: TranslocoService,\r\n\t\tprivate alertController: AlertController,\r\n\t\tprivate uiStore: UIStore,\r\n\t\tprivate actionsStore: ActionsStore,\r\n\t\tprivate environmentStore: EnvironmentStore,\r\n\t\tprivate locationStateStore: LocationStateStore,\r\n\t\tprivate checklistStore: ChecklistStateStore,\r\n\t\tprivate checklistProgressStore: ChecklistProgressStateStore,\r\n\t\tprivate fileTranslationsStore: FileTranslationsStore,\r\n\t\tprivate fileUploadsStore: FileUploadsStore,\r\n\t\tprivate storageService: StorageService,\r\n\t\tprivate loadingController: LoadingController,\r\n\t) {}\r\n\r\n\tpublic factoryReset = async (): Promise => {\r\n\t\tconst alert = await this.alertController.create({\r\n\t\t\theader: this.translocoService.translate(\"FACTORY_RESET__TITLE\"),\r\n\t\t\tmessage: this.translocoService.translate(\"FACTORY_RESET__DESCRIPTION\"),\r\n\t\t\tbuttons: [\r\n\t\t\t\t{\r\n\t\t\t\t\ttext: this.translocoService.translate(\"FACTORY_RESET__CANCEL\"),\r\n\t\t\t\t\trole: \"cancel\",\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\ttext: this.translocoService.translate(\"FACTORY_RESET__OK\"),\r\n\t\t\t\t\trole: \"ok\",\r\n\t\t\t\t\thandler: this.nuke,\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t});\r\n\r\n\t\tawait alert.present();\r\n\t};\r\n\r\n\tprivate nuke = async () => {\r\n\t\t// we need to do a blocking screen to allow all debounced writes to settle while ressetting stores\r\n\t\tconst loading = await this.loadingController.create({\r\n\t\t\tmessage: this.translocoService.translate(\"LOADING_MESSAGE__PLEASE_WAIT\"),\r\n\t\t\tduration: 3000,\r\n\t\t});\r\n\r\n\t\tloading.present();\r\n\r\n\t\tthis.uiStore.reset();\r\n\t\tthis.actionsStore.reset();\r\n\t\tthis.locationStateStore.reset();\r\n\t\tthis.environmentStore.reset();\r\n\t\tthis.checklistStore.reset();\r\n\t\tthis.checklistProgressStore.reset();\r\n\t\tthis.fileTranslationsStore.reset();\r\n\t\tthis.fileUploadsStore.reset();\r\n\t\tawait this.storageService.reset();\r\n\r\n\t\tawait loading.onDidDismiss();\r\n\t\tdocument.location.reload();\r\n\t};\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport {\r\n\tdistinctUntilChanged,\r\n\tfromEvent,\r\n\tmap,\r\n\tmerge,\r\n\tObservable,\r\n\tof,\r\n\tshareReplay,\r\n\tstartWith,\r\n\tswitchMap,\r\n\ttap,\r\n\tthrottleTime,\r\n\ttimer,\r\n} from \"rxjs\";\r\n\r\n@Injectable({\r\n\tprovidedIn: \"root\",\r\n})\r\nexport class IdleService {\r\n\tconstructor() {\r\n\t\tthis.listenForSuspend();\r\n\t}\r\n\tprivate activityEvents = [\r\n\t\tfromEvent(window, \"mousemove\"),\r\n\t\tfromEvent(window, \"resize\"),\r\n\t\tfromEvent(document, \"keyup\"),\r\n\t\tfromEvent(document, \"touchend\"),\r\n\t\tfromEvent(document, \"visibilitychange\"),\r\n\t];\r\n\r\n\tlistenForSuspend = (): void => {\r\n\t\tfromEvent(window, \"pagehide\").subscribe(() => {\r\n\t\t\tconsole.log(\"RideOps closed\");\r\n\t\t});\r\n\r\n\t\tfromEvent(window, \"blur\").subscribe(() => {\r\n\t\t\tconsole.log(\"RideOps no longer in focus\");\r\n\t\t});\r\n\r\n\t\tfromEvent(window, \"visibilitychange\").subscribe(() => {\r\n\t\t\tif (document.visibilityState === \"hidden\") {\r\n\t\t\t\tconsole.log(\"RideOps hidden\");\r\n\t\t\t} else {\r\n\t\t\t\tconsole.log(\"RideOps Visible\");\r\n\t\t\t}\r\n\t\t});\r\n\t};\r\n\r\n\tprivate isInactiveAfterMilliseconds: number = 2.5 * 60000; // 2.5 minutes;\r\n\r\n\tisInactive$: Observable = merge(...this.activityEvents).pipe(\r\n\t\tthrottleTime(1000), // Ignore multiple event in the same second.\r\n\t\tswitchMap(() =>\r\n\t\t\tmerge(\r\n\t\t\t\t// Emit `false` immediately on activity\r\n\t\t\t\tof(false),\r\n\t\t\t\t// Emit `true` after inactivity threshold\r\n\t\t\t\ttimer(this.isInactiveAfterMilliseconds).pipe(\r\n\t\t\t\t\ttap(() => console.log(\"RideOps is idle\")),\r\n\t\t\t\t\tmap(() => true),\r\n\t\t\t\t),\r\n\t\t\t),\r\n\t\t),\r\n\t\tdistinctUntilChanged(),\r\n\t\tstartWith(false),\r\n\t\tshareReplay(1), // Use as a \"hot\" observable.\r\n\t);\r\n}\r\n","import { asyncScheduler } from '../scheduler/async';\nimport { throttle } from './throttle';\nimport { timer } from '../observable/timer';\nexport function throttleTime(duration, scheduler = asyncScheduler, config) {\n const duration$ = timer(duration, scheduler);\n return throttle(() => duration$, config);\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nexport function throttle(durationSelector, config) {\n return operate((source, subscriber) => {\n const { leading = true, trailing = false } = config !== null && config !== void 0 ? config : {};\n let hasValue = false;\n let sendValue = null;\n let throttled = null;\n let isComplete = false;\n const endThrottling = () => {\n throttled === null || throttled === void 0 ? void 0 : throttled.unsubscribe();\n throttled = null;\n if (trailing) {\n send();\n isComplete && subscriber.complete();\n }\n };\n const cleanupThrottling = () => {\n throttled = null;\n isComplete && subscriber.complete();\n };\n const startThrottle = (value) => (throttled = innerFrom(durationSelector(value)).subscribe(createOperatorSubscriber(subscriber, endThrottling, cleanupThrottling)));\n const send = () => {\n if (hasValue) {\n hasValue = false;\n const value = sendValue;\n sendValue = null;\n subscriber.next(value);\n !isComplete && startThrottle(value);\n }\n };\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n hasValue = true;\n sendValue = value;\n !(throttled && !throttled.closed) && (leading ? send() : startThrottle(value));\n }, () => {\n isComplete = true;\n !(trailing && hasValue && throttled && !throttled.closed) && subscriber.complete();\n }));\n });\n}\n","/*! Capacitor: https://capacitorjs.com/ - MIT License */\nconst createCapacitorPlatforms = (win) => {\n const defaultPlatformMap = new Map();\n defaultPlatformMap.set('web', { name: 'web' });\n const capPlatforms = win.CapacitorPlatforms || {\n currentPlatform: { name: 'web' },\n platforms: defaultPlatformMap,\n };\n const addPlatform = (name, platform) => {\n capPlatforms.platforms.set(name, platform);\n };\n const setPlatform = (name) => {\n if (capPlatforms.platforms.has(name)) {\n capPlatforms.currentPlatform = capPlatforms.platforms.get(name);\n }\n };\n capPlatforms.addPlatform = addPlatform;\n capPlatforms.setPlatform = setPlatform;\n return capPlatforms;\n};\nconst initPlatforms = (win) => (win.CapacitorPlatforms = createCapacitorPlatforms(win));\n/**\n * @deprecated Set `CapacitorCustomPlatform` on the window object prior to runtime executing in the web app instead\n */\nconst CapacitorPlatforms = /*#__PURE__*/ initPlatforms((typeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {}));\n/**\n * @deprecated Set `CapacitorCustomPlatform` on the window object prior to runtime executing in the web app instead\n */\nconst addPlatform = CapacitorPlatforms.addPlatform;\n/**\n * @deprecated Set `CapacitorCustomPlatform` on the window object prior to runtime executing in the web app instead\n */\nconst setPlatform = CapacitorPlatforms.setPlatform;\n\nconst legacyRegisterWebPlugin = (cap, webPlugin) => {\n var _a;\n const config = webPlugin.config;\n const Plugins = cap.Plugins;\n if (!(config === null || config === void 0 ? void 0 : config.name)) {\n // TODO: add link to upgrade guide\n throw new Error(`Capacitor WebPlugin is using the deprecated \"registerWebPlugin()\" function, but without the config. Please use \"registerPlugin()\" instead to register this web plugin.\"`);\n }\n // TODO: add link to upgrade guide\n console.warn(`Capacitor plugin \"${config.name}\" is using the deprecated \"registerWebPlugin()\" function`);\n if (!Plugins[config.name] || ((_a = config === null || config === void 0 ? void 0 : config.platforms) === null || _a === void 0 ? void 0 : _a.includes(cap.getPlatform()))) {\n // Add the web plugin into the plugins registry if there already isn't\n // an existing one. If it doesn't already exist, that means\n // there's no existing native implementation for it.\n // - OR -\n // If we already have a plugin registered (meaning it was defined in the native layer),\n // then we should only overwrite it if the corresponding web plugin activates on\n // a certain platform. For example: Geolocation uses the WebPlugin on Android but not iOS\n Plugins[config.name] = webPlugin;\n }\n};\n\nvar ExceptionCode;\n(function (ExceptionCode) {\n /**\n * API is not implemented.\n *\n * This usually means the API can't be used because it is not implemented for\n * the current platform.\n */\n ExceptionCode[\"Unimplemented\"] = \"UNIMPLEMENTED\";\n /**\n * API is not available.\n *\n * This means the API can't be used right now because:\n * - it is currently missing a prerequisite, such as network connectivity\n * - it requires a particular platform or browser version\n */\n ExceptionCode[\"Unavailable\"] = \"UNAVAILABLE\";\n})(ExceptionCode || (ExceptionCode = {}));\nclass CapacitorException extends Error {\n constructor(message, code, data) {\n super(message);\n this.message = message;\n this.code = code;\n this.data = data;\n }\n}\nconst getPlatformId = (win) => {\n var _a, _b;\n if (win === null || win === void 0 ? void 0 : win.androidBridge) {\n return 'android';\n }\n else if ((_b = (_a = win === null || win === void 0 ? void 0 : win.webkit) === null || _a === void 0 ? void 0 : _a.messageHandlers) === null || _b === void 0 ? void 0 : _b.bridge) {\n return 'ios';\n }\n else {\n return 'web';\n }\n};\n\nconst createCapacitor = (win) => {\n var _a, _b, _c, _d, _e;\n const capCustomPlatform = win.CapacitorCustomPlatform || null;\n const cap = win.Capacitor || {};\n const Plugins = (cap.Plugins = cap.Plugins || {});\n /**\n * @deprecated Use `capCustomPlatform` instead, default functions like registerPlugin will function with the new object.\n */\n const capPlatforms = win.CapacitorPlatforms;\n const defaultGetPlatform = () => {\n return capCustomPlatform !== null\n ? capCustomPlatform.name\n : getPlatformId(win);\n };\n const getPlatform = ((_a = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _a === void 0 ? void 0 : _a.getPlatform) || defaultGetPlatform;\n const defaultIsNativePlatform = () => getPlatform() !== 'web';\n const isNativePlatform = ((_b = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _b === void 0 ? void 0 : _b.isNativePlatform) || defaultIsNativePlatform;\n const defaultIsPluginAvailable = (pluginName) => {\n const plugin = registeredPlugins.get(pluginName);\n if (plugin === null || plugin === void 0 ? void 0 : plugin.platforms.has(getPlatform())) {\n // JS implementation available for the current platform.\n return true;\n }\n if (getPluginHeader(pluginName)) {\n // Native implementation available.\n return true;\n }\n return false;\n };\n const isPluginAvailable = ((_c = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _c === void 0 ? void 0 : _c.isPluginAvailable) ||\n defaultIsPluginAvailable;\n const defaultGetPluginHeader = (pluginName) => { var _a; return (_a = cap.PluginHeaders) === null || _a === void 0 ? void 0 : _a.find(h => h.name === pluginName); };\n const getPluginHeader = ((_d = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _d === void 0 ? void 0 : _d.getPluginHeader) || defaultGetPluginHeader;\n const handleError = (err) => win.console.error(err);\n const pluginMethodNoop = (_target, prop, pluginName) => {\n return Promise.reject(`${pluginName} does not have an implementation of \"${prop}\".`);\n };\n const registeredPlugins = new Map();\n const defaultRegisterPlugin = (pluginName, jsImplementations = {}) => {\n const registeredPlugin = registeredPlugins.get(pluginName);\n if (registeredPlugin) {\n console.warn(`Capacitor plugin \"${pluginName}\" already registered. Cannot register plugins twice.`);\n return registeredPlugin.proxy;\n }\n const platform = getPlatform();\n const pluginHeader = getPluginHeader(pluginName);\n let jsImplementation;\n const loadPluginImplementation = async () => {\n if (!jsImplementation && platform in jsImplementations) {\n jsImplementation =\n typeof jsImplementations[platform] === 'function'\n ? (jsImplementation = await jsImplementations[platform]())\n : (jsImplementation = jsImplementations[platform]);\n }\n else if (capCustomPlatform !== null &&\n !jsImplementation &&\n 'web' in jsImplementations) {\n jsImplementation =\n typeof jsImplementations['web'] === 'function'\n ? (jsImplementation = await jsImplementations['web']())\n : (jsImplementation = jsImplementations['web']);\n }\n return jsImplementation;\n };\n const createPluginMethod = (impl, prop) => {\n var _a, _b;\n if (pluginHeader) {\n const methodHeader = pluginHeader === null || pluginHeader === void 0 ? void 0 : pluginHeader.methods.find(m => prop === m.name);\n if (methodHeader) {\n if (methodHeader.rtype === 'promise') {\n return (options) => cap.nativePromise(pluginName, prop.toString(), options);\n }\n else {\n return (options, callback) => cap.nativeCallback(pluginName, prop.toString(), options, callback);\n }\n }\n else if (impl) {\n return (_a = impl[prop]) === null || _a === void 0 ? void 0 : _a.bind(impl);\n }\n }\n else if (impl) {\n return (_b = impl[prop]) === null || _b === void 0 ? void 0 : _b.bind(impl);\n }\n else {\n throw new CapacitorException(`\"${pluginName}\" plugin is not implemented on ${platform}`, ExceptionCode.Unimplemented);\n }\n };\n const createPluginMethodWrapper = (prop) => {\n let remove;\n const wrapper = (...args) => {\n const p = loadPluginImplementation().then(impl => {\n const fn = createPluginMethod(impl, prop);\n if (fn) {\n const p = fn(...args);\n remove = p === null || p === void 0 ? void 0 : p.remove;\n return p;\n }\n else {\n throw new CapacitorException(`\"${pluginName}.${prop}()\" is not implemented on ${platform}`, ExceptionCode.Unimplemented);\n }\n });\n if (prop === 'addListener') {\n p.remove = async () => remove();\n }\n return p;\n };\n // Some flair ✨\n wrapper.toString = () => `${prop.toString()}() { [capacitor code] }`;\n Object.defineProperty(wrapper, 'name', {\n value: prop,\n writable: false,\n configurable: false,\n });\n return wrapper;\n };\n const addListener = createPluginMethodWrapper('addListener');\n const removeListener = createPluginMethodWrapper('removeListener');\n const addListenerNative = (eventName, callback) => {\n const call = addListener({ eventName }, callback);\n const remove = async () => {\n const callbackId = await call;\n removeListener({\n eventName,\n callbackId,\n }, callback);\n };\n const p = new Promise(resolve => call.then(() => resolve({ remove })));\n p.remove = async () => {\n console.warn(`Using addListener() without 'await' is deprecated.`);\n await remove();\n };\n return p;\n };\n const proxy = new Proxy({}, {\n get(_, prop) {\n switch (prop) {\n // https://github.com/facebook/react/issues/20030\n case '$$typeof':\n return undefined;\n case 'toJSON':\n return () => ({});\n case 'addListener':\n return pluginHeader ? addListenerNative : addListener;\n case 'removeListener':\n return removeListener;\n default:\n return createPluginMethodWrapper(prop);\n }\n },\n });\n Plugins[pluginName] = proxy;\n registeredPlugins.set(pluginName, {\n name: pluginName,\n proxy,\n platforms: new Set([\n ...Object.keys(jsImplementations),\n ...(pluginHeader ? [platform] : []),\n ]),\n });\n return proxy;\n };\n const registerPlugin = ((_e = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _e === void 0 ? void 0 : _e.registerPlugin) || defaultRegisterPlugin;\n // Add in convertFileSrc for web, it will already be available in native context\n if (!cap.convertFileSrc) {\n cap.convertFileSrc = filePath => filePath;\n }\n cap.getPlatform = getPlatform;\n cap.handleError = handleError;\n cap.isNativePlatform = isNativePlatform;\n cap.isPluginAvailable = isPluginAvailable;\n cap.pluginMethodNoop = pluginMethodNoop;\n cap.registerPlugin = registerPlugin;\n cap.Exception = CapacitorException;\n cap.DEBUG = !!cap.DEBUG;\n cap.isLoggingEnabled = !!cap.isLoggingEnabled;\n // Deprecated props\n cap.platform = cap.getPlatform();\n cap.isNative = cap.isNativePlatform();\n return cap;\n};\nconst initCapacitorGlobal = (win) => (win.Capacitor = createCapacitor(win));\n\nconst Capacitor = /*#__PURE__*/ initCapacitorGlobal(typeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {});\nconst registerPlugin = Capacitor.registerPlugin;\n/**\n * @deprecated Provided for backwards compatibility for Capacitor v2 plugins.\n * Capacitor v3 plugins should import the plugin directly. This \"Plugins\"\n * export is deprecated in v3, and will be removed in v4.\n */\nconst Plugins = Capacitor.Plugins;\n/**\n * Provided for backwards compatibility. Use the registerPlugin() API\n * instead, and provide the web plugin as the \"web\" implmenetation.\n * For example\n *\n * export const Example = registerPlugin('Example', {\n * web: () => import('./web').then(m => new m.Example())\n * })\n *\n * @deprecated Deprecated in v3, will be removed from v4.\n */\nconst registerWebPlugin = (plugin) => legacyRegisterWebPlugin(Capacitor, plugin);\n\n/**\n * Base class web plugins should extend.\n */\nclass WebPlugin {\n constructor(config) {\n this.listeners = {};\n this.retainedEventArguments = {};\n this.windowListeners = {};\n if (config) {\n // TODO: add link to upgrade guide\n console.warn(`Capacitor WebPlugin \"${config.name}\" config object was deprecated in v3 and will be removed in v4.`);\n this.config = config;\n }\n }\n addListener(eventName, listenerFunc) {\n let firstListener = false;\n const listeners = this.listeners[eventName];\n if (!listeners) {\n this.listeners[eventName] = [];\n firstListener = true;\n }\n this.listeners[eventName].push(listenerFunc);\n // If we haven't added a window listener for this event and it requires one,\n // go ahead and add it\n const windowListener = this.windowListeners[eventName];\n if (windowListener && !windowListener.registered) {\n this.addWindowListener(windowListener);\n }\n if (firstListener) {\n this.sendRetainedArgumentsForEvent(eventName);\n }\n const remove = async () => this.removeListener(eventName, listenerFunc);\n const p = Promise.resolve({ remove });\n return p;\n }\n async removeAllListeners() {\n this.listeners = {};\n for (const listener in this.windowListeners) {\n this.removeWindowListener(this.windowListeners[listener]);\n }\n this.windowListeners = {};\n }\n notifyListeners(eventName, data, retainUntilConsumed) {\n const listeners = this.listeners[eventName];\n if (!listeners) {\n if (retainUntilConsumed) {\n let args = this.retainedEventArguments[eventName];\n if (!args) {\n args = [];\n }\n args.push(data);\n this.retainedEventArguments[eventName] = args;\n }\n return;\n }\n listeners.forEach(listener => listener(data));\n }\n hasListeners(eventName) {\n return !!this.listeners[eventName].length;\n }\n registerWindowListener(windowEventName, pluginEventName) {\n this.windowListeners[pluginEventName] = {\n registered: false,\n windowEventName,\n pluginEventName,\n handler: event => {\n this.notifyListeners(pluginEventName, event);\n },\n };\n }\n unimplemented(msg = 'not implemented') {\n return new Capacitor.Exception(msg, ExceptionCode.Unimplemented);\n }\n unavailable(msg = 'not available') {\n return new Capacitor.Exception(msg, ExceptionCode.Unavailable);\n }\n async removeListener(eventName, listenerFunc) {\n const listeners = this.listeners[eventName];\n if (!listeners) {\n return;\n }\n const index = listeners.indexOf(listenerFunc);\n this.listeners[eventName].splice(index, 1);\n // If there are no more listeners for this type of event,\n // remove the window listener\n if (!this.listeners[eventName].length) {\n this.removeWindowListener(this.windowListeners[eventName]);\n }\n }\n addWindowListener(handle) {\n window.addEventListener(handle.windowEventName, handle.handler);\n handle.registered = true;\n }\n removeWindowListener(handle) {\n if (!handle) {\n return;\n }\n window.removeEventListener(handle.windowEventName, handle.handler);\n handle.registered = false;\n }\n sendRetainedArgumentsForEvent(eventName) {\n const args = this.retainedEventArguments[eventName];\n if (!args) {\n return;\n }\n delete this.retainedEventArguments[eventName];\n args.forEach(arg => {\n this.notifyListeners(eventName, arg);\n });\n }\n}\n\nconst WebView = /*#__PURE__*/ registerPlugin('WebView');\n/******** END WEB VIEW PLUGIN ********/\n/******** COOKIES PLUGIN ********/\n/**\n * Safely web encode a string value (inspired by js-cookie)\n * @param str The string value to encode\n */\nconst encode = (str) => encodeURIComponent(str)\n .replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent)\n .replace(/[()]/g, escape);\n/**\n * Safely web decode a string value (inspired by js-cookie)\n * @param str The string value to decode\n */\nconst decode = (str) => str.replace(/(%[\\dA-F]{2})+/gi, decodeURIComponent);\nclass CapacitorCookiesPluginWeb extends WebPlugin {\n async getCookies() {\n const cookies = document.cookie;\n const cookieMap = {};\n cookies.split(';').forEach(cookie => {\n if (cookie.length <= 0)\n return;\n // Replace first \"=\" with CAP_COOKIE to prevent splitting on additional \"=\"\n let [key, value] = cookie.replace(/=/, 'CAP_COOKIE').split('CAP_COOKIE');\n key = decode(key).trim();\n value = decode(value).trim();\n cookieMap[key] = value;\n });\n return cookieMap;\n }\n async setCookie(options) {\n try {\n // Safely Encoded Key/Value\n const encodedKey = encode(options.key);\n const encodedValue = encode(options.value);\n // Clean & sanitize options\n const expires = `; expires=${(options.expires || '').replace('expires=', '')}`; // Default is \"; expires=\"\n const path = (options.path || '/').replace('path=', ''); // Default is \"path=/\"\n const domain = options.url != null && options.url.length > 0\n ? `domain=${options.url}`\n : '';\n document.cookie = `${encodedKey}=${encodedValue || ''}${expires}; path=${path}; ${domain};`;\n }\n catch (error) {\n return Promise.reject(error);\n }\n }\n async deleteCookie(options) {\n try {\n document.cookie = `${options.key}=; Max-Age=0`;\n }\n catch (error) {\n return Promise.reject(error);\n }\n }\n async clearCookies() {\n try {\n const cookies = document.cookie.split(';') || [];\n for (const cookie of cookies) {\n document.cookie = cookie\n .replace(/^ +/, '')\n .replace(/=.*/, `=;expires=${new Date().toUTCString()};path=/`);\n }\n }\n catch (error) {\n return Promise.reject(error);\n }\n }\n async clearAllCookies() {\n try {\n await this.clearCookies();\n }\n catch (error) {\n return Promise.reject(error);\n }\n }\n}\nconst CapacitorCookies = registerPlugin('CapacitorCookies', {\n web: () => new CapacitorCookiesPluginWeb(),\n});\n// UTILITY FUNCTIONS\n/**\n * Read in a Blob value and return it as a base64 string\n * @param blob The blob value to convert to a base64 string\n */\nconst readBlobAsBase64 = async (blob) => new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.onload = () => {\n const base64String = reader.result;\n // remove prefix \"data:application/pdf;base64,\"\n resolve(base64String.indexOf(',') >= 0\n ? base64String.split(',')[1]\n : base64String);\n };\n reader.onerror = (error) => reject(error);\n reader.readAsDataURL(blob);\n});\n/**\n * Normalize an HttpHeaders map by lowercasing all of the values\n * @param headers The HttpHeaders object to normalize\n */\nconst normalizeHttpHeaders = (headers = {}) => {\n const originalKeys = Object.keys(headers);\n const loweredKeys = Object.keys(headers).map(k => k.toLocaleLowerCase());\n const normalized = loweredKeys.reduce((acc, key, index) => {\n acc[key] = headers[originalKeys[index]];\n return acc;\n }, {});\n return normalized;\n};\n/**\n * Builds a string of url parameters that\n * @param params A map of url parameters\n * @param shouldEncode true if you should encodeURIComponent() the values (true by default)\n */\nconst buildUrlParams = (params, shouldEncode = true) => {\n if (!params)\n return null;\n const output = Object.entries(params).reduce((accumulator, entry) => {\n const [key, value] = entry;\n let encodedValue;\n let item;\n if (Array.isArray(value)) {\n item = '';\n value.forEach(str => {\n encodedValue = shouldEncode ? encodeURIComponent(str) : str;\n item += `${key}=${encodedValue}&`;\n });\n // last character will always be \"&\" so slice it off\n item.slice(0, -1);\n }\n else {\n encodedValue = shouldEncode ? encodeURIComponent(value) : value;\n item = `${key}=${encodedValue}`;\n }\n return `${accumulator}&${item}`;\n }, '');\n // Remove initial \"&\" from the reduce\n return output.substr(1);\n};\n/**\n * Build the RequestInit object based on the options passed into the initial request\n * @param options The Http plugin options\n * @param extra Any extra RequestInit values\n */\nconst buildRequestInit = (options, extra = {}) => {\n const output = Object.assign({ method: options.method || 'GET', headers: options.headers }, extra);\n // Get the content-type\n const headers = normalizeHttpHeaders(options.headers);\n const type = headers['content-type'] || '';\n // If body is already a string, then pass it through as-is.\n if (typeof options.data === 'string') {\n output.body = options.data;\n }\n // Build request initializers based off of content-type\n else if (type.includes('application/x-www-form-urlencoded')) {\n const params = new URLSearchParams();\n for (const [key, value] of Object.entries(options.data || {})) {\n params.set(key, value);\n }\n output.body = params.toString();\n }\n else if (type.includes('multipart/form-data') ||\n options.data instanceof FormData) {\n const form = new FormData();\n if (options.data instanceof FormData) {\n options.data.forEach((value, key) => {\n form.append(key, value);\n });\n }\n else {\n for (const key of Object.keys(options.data)) {\n form.append(key, options.data[key]);\n }\n }\n output.body = form;\n const headers = new Headers(output.headers);\n headers.delete('content-type'); // content-type will be set by `window.fetch` to includy boundary\n output.headers = headers;\n }\n else if (type.includes('application/json') ||\n typeof options.data === 'object') {\n output.body = JSON.stringify(options.data);\n }\n return output;\n};\n// WEB IMPLEMENTATION\nclass CapacitorHttpPluginWeb extends WebPlugin {\n /**\n * Perform an Http request given a set of options\n * @param options Options to build the HTTP request\n */\n async request(options) {\n const requestInit = buildRequestInit(options, options.webFetchExtra);\n const urlParams = buildUrlParams(options.params, options.shouldEncodeUrlParams);\n const url = urlParams ? `${options.url}?${urlParams}` : options.url;\n const response = await fetch(url, requestInit);\n const contentType = response.headers.get('content-type') || '';\n // Default to 'text' responseType so no parsing happens\n let { responseType = 'text' } = response.ok ? options : {};\n // If the response content-type is json, force the response to be json\n if (contentType.includes('application/json')) {\n responseType = 'json';\n }\n let data;\n let blob;\n switch (responseType) {\n case 'arraybuffer':\n case 'blob':\n blob = await response.blob();\n data = await readBlobAsBase64(blob);\n break;\n case 'json':\n data = await response.json();\n break;\n case 'document':\n case 'text':\n default:\n data = await response.text();\n }\n // Convert fetch headers to Capacitor HttpHeaders\n const headers = {};\n response.headers.forEach((value, key) => {\n headers[key] = value;\n });\n return {\n data,\n headers,\n status: response.status,\n url: response.url,\n };\n }\n /**\n * Perform an Http GET request given a set of options\n * @param options Options to build the HTTP request\n */\n async get(options) {\n return this.request(Object.assign(Object.assign({}, options), { method: 'GET' }));\n }\n /**\n * Perform an Http POST request given a set of options\n * @param options Options to build the HTTP request\n */\n async post(options) {\n return this.request(Object.assign(Object.assign({}, options), { method: 'POST' }));\n }\n /**\n * Perform an Http PUT request given a set of options\n * @param options Options to build the HTTP request\n */\n async put(options) {\n return this.request(Object.assign(Object.assign({}, options), { method: 'PUT' }));\n }\n /**\n * Perform an Http PATCH request given a set of options\n * @param options Options to build the HTTP request\n */\n async patch(options) {\n return this.request(Object.assign(Object.assign({}, options), { method: 'PATCH' }));\n }\n /**\n * Perform an Http DELETE request given a set of options\n * @param options Options to build the HTTP request\n */\n async delete(options) {\n return this.request(Object.assign(Object.assign({}, options), { method: 'DELETE' }));\n }\n}\nconst CapacitorHttp = registerPlugin('CapacitorHttp', {\n web: () => new CapacitorHttpPluginWeb(),\n});\n/******** END HTTP PLUGIN ********/\n\nexport { Capacitor, CapacitorCookies, CapacitorException, CapacitorHttp, CapacitorPlatforms, ExceptionCode, Plugins, WebPlugin, WebView, addPlatform, buildRequestInit, registerPlugin, registerWebPlugin, setPlatform };\n","export var CameraSource;\n(function (CameraSource) {\n /**\n * Prompts the user to select either the photo album or take a photo.\n */\n CameraSource[\"Prompt\"] = \"PROMPT\";\n /**\n * Take a new photo using the camera.\n */\n CameraSource[\"Camera\"] = \"CAMERA\";\n /**\n * Pick an existing photo from the gallery or photo album.\n */\n CameraSource[\"Photos\"] = \"PHOTOS\";\n})(CameraSource || (CameraSource = {}));\nexport var CameraDirection;\n(function (CameraDirection) {\n CameraDirection[\"Rear\"] = \"REAR\";\n CameraDirection[\"Front\"] = \"FRONT\";\n})(CameraDirection || (CameraDirection = {}));\nexport var CameraResultType;\n(function (CameraResultType) {\n CameraResultType[\"Uri\"] = \"uri\";\n CameraResultType[\"Base64\"] = \"base64\";\n CameraResultType[\"DataUrl\"] = \"dataUrl\";\n})(CameraResultType || (CameraResultType = {}));\n","import { WebPlugin, CapacitorException } from '@capacitor/core';\nimport { CameraSource, CameraDirection } from './definitions';\nexport class CameraWeb extends WebPlugin {\n async getPhoto(options) {\n // eslint-disable-next-line no-async-promise-executor\n return new Promise(async (resolve, reject) => {\n if (options.webUseInput || options.source === CameraSource.Photos) {\n this.fileInputExperience(options, resolve, reject);\n }\n else if (options.source === CameraSource.Prompt) {\n let actionSheet = document.querySelector('pwa-action-sheet');\n if (!actionSheet) {\n actionSheet = document.createElement('pwa-action-sheet');\n document.body.appendChild(actionSheet);\n }\n actionSheet.header = options.promptLabelHeader || 'Photo';\n actionSheet.cancelable = false;\n actionSheet.options = [\n { title: options.promptLabelPhoto || 'From Photos' },\n { title: options.promptLabelPicture || 'Take Picture' },\n ];\n actionSheet.addEventListener('onSelection', async (e) => {\n const selection = e.detail;\n if (selection === 0) {\n this.fileInputExperience(options, resolve, reject);\n }\n else {\n this.cameraExperience(options, resolve, reject);\n }\n });\n }\n else {\n this.cameraExperience(options, resolve, reject);\n }\n });\n }\n async pickImages(_options) {\n // eslint-disable-next-line no-async-promise-executor\n return new Promise(async (resolve, reject) => {\n this.multipleFileInputExperience(resolve, reject);\n });\n }\n async cameraExperience(options, resolve, reject) {\n if (customElements.get('pwa-camera-modal')) {\n const cameraModal = document.createElement('pwa-camera-modal');\n cameraModal.facingMode =\n options.direction === CameraDirection.Front ? 'user' : 'environment';\n document.body.appendChild(cameraModal);\n try {\n await cameraModal.componentOnReady();\n cameraModal.addEventListener('onPhoto', async (e) => {\n const photo = e.detail;\n if (photo === null) {\n reject(new CapacitorException('User cancelled photos app'));\n }\n else if (photo instanceof Error) {\n reject(photo);\n }\n else {\n resolve(await this._getCameraPhoto(photo, options));\n }\n cameraModal.dismiss();\n document.body.removeChild(cameraModal);\n });\n cameraModal.present();\n }\n catch (e) {\n this.fileInputExperience(options, resolve, reject);\n }\n }\n else {\n console.error(`Unable to load PWA Element 'pwa-camera-modal'. See the docs: https://capacitorjs.com/docs/web/pwa-elements.`);\n this.fileInputExperience(options, resolve, reject);\n }\n }\n fileInputExperience(options, resolve, reject) {\n let input = document.querySelector('#_capacitor-camera-input');\n const cleanup = () => {\n var _a;\n (_a = input.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(input);\n };\n if (!input) {\n input = document.createElement('input');\n input.id = '_capacitor-camera-input';\n input.type = 'file';\n input.hidden = true;\n document.body.appendChild(input);\n input.addEventListener('change', (_e) => {\n const file = input.files[0];\n let format = 'jpeg';\n if (file.type === 'image/png') {\n format = 'png';\n }\n else if (file.type === 'image/gif') {\n format = 'gif';\n }\n if (options.resultType === 'dataUrl' ||\n options.resultType === 'base64') {\n const reader = new FileReader();\n reader.addEventListener('load', () => {\n if (options.resultType === 'dataUrl') {\n resolve({\n dataUrl: reader.result,\n format,\n });\n }\n else if (options.resultType === 'base64') {\n const b64 = reader.result.split(',')[1];\n resolve({\n base64String: b64,\n format,\n });\n }\n cleanup();\n });\n reader.readAsDataURL(file);\n }\n else {\n resolve({\n webPath: URL.createObjectURL(file),\n format: format,\n });\n cleanup();\n }\n });\n input.addEventListener('cancel', (_e) => {\n reject(new CapacitorException('User cancelled photos app'));\n cleanup();\n });\n }\n input.accept = 'image/*';\n input.capture = true;\n if (options.source === CameraSource.Photos ||\n options.source === CameraSource.Prompt) {\n input.removeAttribute('capture');\n }\n else if (options.direction === CameraDirection.Front) {\n input.capture = 'user';\n }\n else if (options.direction === CameraDirection.Rear) {\n input.capture = 'environment';\n }\n input.click();\n }\n multipleFileInputExperience(resolve, reject) {\n let input = document.querySelector('#_capacitor-camera-input-multiple');\n const cleanup = () => {\n var _a;\n (_a = input.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(input);\n };\n if (!input) {\n input = document.createElement('input');\n input.id = '_capacitor-camera-input-multiple';\n input.type = 'file';\n input.hidden = true;\n input.multiple = true;\n document.body.appendChild(input);\n input.addEventListener('change', (_e) => {\n const photos = [];\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < input.files.length; i++) {\n const file = input.files[i];\n let format = 'jpeg';\n if (file.type === 'image/png') {\n format = 'png';\n }\n else if (file.type === 'image/gif') {\n format = 'gif';\n }\n photos.push({\n webPath: URL.createObjectURL(file),\n format: format,\n });\n }\n resolve({ photos });\n cleanup();\n });\n input.addEventListener('cancel', (_e) => {\n reject(new CapacitorException('User cancelled photos app'));\n cleanup();\n });\n }\n input.accept = 'image/*';\n input.click();\n }\n _getCameraPhoto(photo, options) {\n return new Promise((resolve, reject) => {\n const reader = new FileReader();\n const format = photo.type.split('/')[1];\n if (options.resultType === 'uri') {\n resolve({\n webPath: URL.createObjectURL(photo),\n format: format,\n saved: false,\n });\n }\n else {\n reader.readAsDataURL(photo);\n reader.onloadend = () => {\n const r = reader.result;\n if (options.resultType === 'dataUrl') {\n resolve({\n dataUrl: r,\n format: format,\n saved: false,\n });\n }\n else {\n resolve({\n base64String: r.split(',')[1],\n format: format,\n saved: false,\n });\n }\n };\n reader.onerror = e => {\n reject(e);\n };\n }\n });\n }\n async checkPermissions() {\n if (typeof navigator === 'undefined' || !navigator.permissions) {\n throw this.unavailable('Permissions API not available in this browser');\n }\n try {\n // https://developer.mozilla.org/en-US/docs/Web/API/Permissions/query\n // the specific permissions that are supported varies among browsers that implement the\n // permissions API, so we need a try/catch in case 'camera' is invalid\n const permission = await window.navigator.permissions.query({\n name: 'camera',\n });\n return {\n camera: permission.state,\n photos: 'granted',\n };\n }\n catch (_a) {\n throw this.unavailable('Camera permissions are not available in this browser');\n }\n }\n async requestPermissions() {\n throw this.unimplemented('Not implemented on web.');\n }\n async pickLimitedLibraryPhotos() {\n throw this.unavailable('Not implemented on web.');\n }\n async getLimitedLibraryPhotos() {\n throw this.unavailable('Not implemented on web.');\n }\n}\nconst Camera = new CameraWeb();\nexport { Camera };\n","import { registerPlugin } from '@capacitor/core';\nimport { CameraWeb } from './web';\nconst Camera = registerPlugin('Camera', {\n web: () => new CameraWeb(),\n});\nexport * from './definitions';\nexport { Camera };\n","import { Injectable } from \"@angular/core\";\r\nimport { Camera, CameraResultType } from \"@capacitor/camera\";\r\nimport { FileUploadsService } from \"../state/file-uploads.service\";\r\nimport { FileTranslationsService } from \"../state/file-translations.service\";\r\nimport { StorageService } from \"./storage.service\";\r\n\r\n@Injectable({\r\n\tprovidedIn: \"root\",\r\n})\r\nexport class ImageService {\r\n\tconstructor(\r\n\t\tprivate fileUploadsService: FileUploadsService,\r\n\t\tprivate fileTranslationsService: FileTranslationsService,\r\n\t\tprivate storageService: StorageService,\r\n\t) {}\r\n\r\n\tgetPhotoFromCamera = async (): Promise => {\r\n\t\tconst photo = await Camera.getPhoto({ resultType: CameraResultType.Uri });\r\n\t\tconst type = \"image/\" + photo.format;\r\n\t\tconst blob = await this.resizeImage(photo.webPath, type);\r\n\t\tconst id = await this.fileUploadsService.add(type, blob);\r\n\r\n\t\tURL.revokeObjectURL(photo.webPath);\r\n\t\treturn {\r\n\t\t\tid: id,\r\n\t\t\tfile: blob,\r\n\t\t\ttype: type,\r\n\t\t};\r\n\t};\r\n\r\n\tgetImagesFromGallery = async (): Promise => {\r\n\t\tconst galleryPhotos = await Camera.pickImages({});\r\n\r\n\t\tconst imagePromises = galleryPhotos.photos.map(async (photo) => {\r\n\t\t\tconst type = \"image/\" + photo.format;\r\n\t\t\tconst blob = await this.resizeImage(photo.webPath, type);\r\n\t\t\tconst id = await this.fileUploadsService.add(type, blob);\r\n\r\n\t\t\tURL.revokeObjectURL(photo.webPath);\r\n\t\t\treturn {\r\n\t\t\t\tid: id,\r\n\t\t\t\tfile: blob,\r\n\t\t\t\ttype: type,\r\n\t\t\t};\r\n\t\t});\r\n\r\n\t\treturn Promise.all(imagePromises);\r\n\t};\r\n\r\n\tremoveImage = async (id: string) => {\r\n\t\tawait this.storageService.deleteFiles([id]);\r\n\t\tthis.fileUploadsService.remove(id);\r\n\t\tthis.fileTranslationsService.remove(id);\r\n\t};\r\n\r\n\tprivate resizeImage = async (imageSource: string, type: string): Promise => {\r\n\t\tconst targetWidth = 1200;\r\n\t\tconst targetHeight = 1200;\r\n\t\tconst quality = 90;\r\n\r\n\t\treturn new Promise((resolve, _reject) => {\r\n\t\t\tconst img = new Image();\r\n\t\t\timg.onload = async () => {\r\n\t\t\t\tif (img.width <= targetWidth && img.height <= targetHeight) {\r\n\t\t\t\t\tconst response = await fetch(imageSource);\r\n\t\t\t\t\tconst blob = await response.blob();\r\n\t\t\t\t\tresolve(blob);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tconst ratio = Math.min(targetWidth / img.width, targetHeight / img.height);\r\n\t\t\t\t\tconst imageWidth = ratio * img.width;\r\n\t\t\t\t\tconst imageHeight = ratio * img.height;\r\n\r\n\t\t\t\t\tconst canvas = document.createElement(\"canvas\");\r\n\r\n\t\t\t\t\tcanvas.width = imageWidth;\r\n\t\t\t\t\tcanvas.height = imageHeight;\r\n\r\n\t\t\t\t\tcanvas.getContext(\"2d\").drawImage(img, 0, 0, imageWidth, imageHeight);\r\n\t\t\t\t\tcanvas.toBlob(resolve, type, quality);\r\n\t\t\t\t}\r\n\t\t\t};\r\n\r\n\t\t\timg.src = imageSource;\r\n\t\t});\r\n\t};\r\n}\r\n\r\nexport interface MobaroImage {\r\n\tid: string;\r\n\tfile: Blob;\r\n\ttype: string;\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { AvailableLangs, LangDefinition, TranslocoService } from \"@ngneat/transloco\";\r\n\r\n@Injectable({\r\n\tprovidedIn: \"root\",\r\n})\r\nexport class LanguageService {\r\n\tconstructor(private translocoService: TranslocoService) {}\r\n\r\n\tgetAvailableLangs = (): LangDefinition[] => {\r\n\t\tconst languages = this.translocoService.getAvailableLangs();\r\n\t\tif (this.islangDefinitionArray(languages)) {\r\n\t\t\treturn languages as LangDefinition[];\r\n\t\t} else {\r\n\t\t\tthrow Error(\"Transloco getAvailableLangs did not return LangDefinition\");\r\n\t\t}\r\n\t};\r\n\r\n\tprivate islangDefinitionArray = (availableLanguages: AvailableLangs): boolean => {\r\n\t\tif (availableLanguages.length == 0) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\r\n\t\tconst firstItem = availableLanguages[0] as LangDefinition;\r\n\t\treturn (\r\n\t\t\t\"label\" in firstItem &&\r\n\t\t\ttypeof firstItem.label === \"string\" &&\r\n\t\t\t\"id\" in firstItem &&\r\n\t\t\ttypeof firstItem.id === \"string\"\r\n\t\t);\r\n\t};\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { AlertController, LoadingController, NavController } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { Subject } from \"rxjs\";\r\nimport { LocationStateService } from \"source/app/configuration/state/location-state.service\";\r\nimport { ValuePickerModalService } from \"source/app/modals/value-picker/value-picker-modal.service\";\r\nimport { LocationStateQuery } from \"../state/location-state.query\";\r\nimport { LastQueueTimeUpdate, LastRidersUpdate, Location, LocationState } from \"../state/location-state.store\";\r\nimport { UiService } from \"../state/ui.service\";\r\nimport { UiState } from \"../state/ui.store\";\r\nimport { ApiService, LocationSummaryResult } from \"./api.service\";\r\nimport { ChecklistStateService } from \"source/app/features/checklists/state/checklist-state.service\";\r\nimport { OperatorService } from \"./operator.service\";\r\nimport { RaygunService } from \"./raygun.service\";\r\nimport { UiQuery } from \"../state/ui.query\";\r\n\r\n@Injectable({\r\n\tprovidedIn: \"root\",\r\n})\r\nexport class LocationChangeService {\r\n\tconstructor(\r\n\t\tprivate valuePickerModalService: ValuePickerModalService,\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate locationStateService: LocationStateService,\r\n\t\tprivate alertController: AlertController,\r\n\t\tprivate apiService: ApiService,\r\n\t\tprivate uiQuery: UiQuery,\r\n\t\tprivate uiService: UiService,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t\tprivate loadingController: LoadingController,\r\n\t\tprivate checklistStateService: ChecklistStateService,\r\n\t\tprivate operatorService: OperatorService,\r\n\t\tprivate navController: NavController,\r\n\t\tprivate raygunService: RaygunService,\r\n\t) {}\r\n\tprivate prefix = \"saved-sate\";\r\n\r\n\tlocationChanged$ = new Subject();\r\n\r\n\tstartLocationChange = async () => {\r\n\t\tconst locationSummary = await this.apiService.locationSummary();\r\n\t\tif (locationSummary.allowLocationSwitch == false) {\r\n\t\t\tawait this.showError(\"LOCATION_CHANGE_ERROR_ALERT__DISABLED_SWITCH_LOCATIONS\");\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst currentOperator = await this.locationStateQuery.operator$.firstAsync();\r\n\t\tconst currentLocation = await this.locationStateQuery.location$.firstAsync();\r\n\r\n\t\tconst availableLocations = await this.getAvailableLocations(currentOperator, currentLocation, locationSummary);\r\n\t\tif (availableLocations.length == 0) {\r\n\t\t\tawait this.showError(\"LOCATION_CHANGE_ERROR_ALERT__NO_AVAILABLE_LOCATIONS\");\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst targetLocation = await this.selectLocation(availableLocations);\r\n\t\tif (targetLocation == null || currentLocation?.id === targetLocation.id) {\r\n\t\t\t// Select location modal was cancelled, just return\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst loadingModal = await this.showLoadingModal();\r\n\r\n\t\tconst currentState = {\r\n\t\t\tui: this.uiQuery.getSnapshot(),\r\n\t\t\tlocationState: this.locationStateQuery.getSnapshot(),\r\n\t\t};\r\n\r\n\t\ttry {\r\n\t\t\tconst locationStatus = await this.locationStateService.getLocationStatus(targetLocation.id);\r\n\r\n\t\t\tif (currentOperator != null) {\r\n\t\t\t\tconst operators = locationStatus.operators;\r\n\t\t\t\tconst operator = operators.find((x) => x.id === currentOperator.id);\r\n\r\n\t\t\t\tif (operator == null) {\r\n\t\t\t\t\tthrow this.createError(\"NotOperatorError\");\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (operator.missingCompetencies?.length > 0) {\r\n\t\t\t\t\tthrow this.createError(\"MissingCompetenciesError\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (currentLocation != null) {\r\n\t\t\t\tthis.saveState(currentLocation.id, {\r\n\t\t\t\t\tui: currentState.ui,\r\n\t\t\t\t\tlastQueueTimeUpdate: await this.locationStateQuery.lastQueueTimeUpdate$.firstAsync(),\r\n\t\t\t\t\tlastRidersUpdate: await this.locationStateQuery.lastRidersUpdate$.firstAsync(),\r\n\t\t\t\t\triders: await this.locationStateQuery.riders$.firstAsync(),\r\n\t\t\t\t\tdispatches: await this.locationStateQuery.dispatches$.firstAsync(),\r\n\t\t\t\t});\r\n\r\n\t\t\t\tawait this.operatorService.logoutOperator();\r\n\t\t\t}\r\n\r\n\t\t\tawait this.setState(targetLocation);\r\n\t\t\tawait this.operatorService.login(currentOperator.id, currentOperator.pin);\r\n\t\t\tthis.locationStateService.setCurrentOperator(currentOperator);\r\n\r\n\t\t\tthis.locationChanged$.next();\r\n\t\t\tthis.navController.navigateRoot(\"dashboard\");\r\n\t\t} catch (error) {\r\n\t\t\tif (error instanceof Error) {\r\n\t\t\t\tconst locationChangeErrorName = error.name as LocationChangeErrorName;\r\n\t\t\t\tswitch (locationChangeErrorName) {\r\n\t\t\t\t\tcase \"NotOperatorError\": {\r\n\t\t\t\t\t\tthis.revertLocationChange(\"LOCATION_CHANGE_ERROR_ALERT__NOT_OPERATOR\", currentState);\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcase \"MissingCompetenciesError\": {\r\n\t\t\t\t\t\tthis.revertLocationChange(\"LOCATION_CHANGE_ERROR_ALERT__MISSING_COMPETENCIES\", currentState);\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcase \"TimeoutError\": {\r\n\t\t\t\t\t\tthis.revertLocationChange(\"LOCATION_CHANGE_ERROR_ALERT__TIMEOUT\", currentState);\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tdefault: {\r\n\t\t\t\t\t\tthis.raygunService.send(error, {});\r\n\t\t\t\t\t\tthis.revertLocationChange(\"LOCATION_CHANGE_ERROR_ALERT__UNKNOWN\", currentState);\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tthis.raygunService.send(new Error(\"Something other than an error thrown in location change attempt\"), {\r\n\t\t\t\t\terror: error,\r\n\t\t\t\t});\r\n\r\n\t\t\t\tthis.revertLocationChange(\"LOCATION_CHANGE_ERROR_ALERT__UNKNOWN\", currentState);\r\n\t\t\t}\r\n\t\t} finally {\r\n\t\t\tloadingModal.dismiss();\r\n\t\t}\r\n\t};\r\n\r\n\tprivate getState = (location: string): SaveState => {\r\n\t\ttry {\r\n\t\t\treturn JSON.parse(localStorage.getItem(this.prefix + location));\r\n\t\t} catch (error) {\r\n\t\t\treturn undefined;\r\n\t\t}\r\n\t};\r\n\r\n\tprivate setState = async (location: Location) => {\r\n\t\tthis.locationStateService.resetRideOpsState();\r\n\t\tthis.uiService.reset();\r\n\r\n\t\tawait this.locationStateService.updateLocationStatus(location.id);\r\n\r\n\t\tconst savedState = this.getState(location.id);\r\n\t\tif (savedState) {\r\n\t\t\tthis.uiService.setSnapshot(savedState.ui);\r\n\t\t\tthis.locationStateService.setRideOpsState(\r\n\t\t\t\tsavedState.lastQueueTimeUpdate,\r\n\t\t\t\tsavedState.lastRidersUpdate,\r\n\t\t\t\tsavedState.riders,\r\n\t\t\t\tsavedState.dispatches,\r\n\t\t\t);\r\n\r\n\t\t\t//we reset the preopeningChecklist, and rely on the locationstate instead\r\n\t\t\tthis.checklistStateService.clearPreopeningChecklistSubmitted();\r\n\t\t}\r\n\t};\r\n\r\n\tprivate saveState = (location: string, state: SaveState) => {\r\n\t\treturn localStorage.setItem(this.prefix + location, JSON.stringify(state));\r\n\t};\r\n\r\n\tprivate getAvailableLocations = async (\r\n\t\tcurrentOperator: Operator,\r\n\t\tcurrentLocation: Location,\r\n\t\tlocationSummary: LocationSummaryResult,\r\n\t): Promise => {\r\n\t\tconst locations = locationSummary?.locations || [];\r\n\r\n\t\tif (currentOperator == null) {\r\n\t\t\treturn locations;\r\n\t\t}\r\n\r\n\t\treturn locations\r\n\t\t\t.filter((location) => location.id !== currentLocation.id)\r\n\t\t\t.filter((location) => location.operators?.includes(currentOperator.id));\r\n\t};\r\n\r\n\tprivate selectLocation = async (locations: Location[]): Promise => {\r\n\t\tconst modal = await this.valuePickerModalService.create({\r\n\t\t\ttitle: \"LOCATION_PICKER__SELECT_LOCATION_TITLE\",\r\n\t\t\tdescription: \"LOCATION_PICKER__DESCRIPTION\",\r\n\t\t\telements: locations,\r\n\t\t});\r\n\r\n\t\tawait modal.present();\r\n\r\n\t\tconst location = await modal.onDidDismiss();\r\n\t\treturn location?.data;\r\n\t};\r\n\r\n\tprivate showLoadingModal = async () => {\r\n\t\tconst modal = await this.loadingController.create({\r\n\t\t\tbackdropDismiss: false,\r\n\t\t\tcssClass: \"changing-location\",\r\n\t\t\tmessage: this.translocoService.translate(\"LOCATION_CHANGE__PLEASE_WAIT\"),\r\n\t\t});\r\n\r\n\t\tawait modal.present();\r\n\t\treturn modal;\r\n\t};\r\n\r\n\tprivate revertLocationChange = async (\r\n\t\tmessage: string,\r\n\t\tsnapshots: { ui: UiState; locationState: LocationState },\r\n\t) => {\r\n\t\tthis.locationStateService.setSnapshot(snapshots.locationState);\r\n\t\tthis.uiService.setSnapshot(snapshots.ui);\r\n\r\n\t\tawait this.showError(message);\r\n\t};\r\n\r\n\tprivate showError = async (message: string) => {\r\n\t\tconst alert = await this.alertController.create({\r\n\t\t\theader: this.translocoService.translate(\"LOCATION_CHANGE_ERROR_ALERT__TITLE\"),\r\n\t\t\tmessage: this.translocoService.translate(message),\r\n\t\t\tbuttons: [this.translocoService.translate(\"LOCATION_CHANGE_ERROR_ALERT__OK\")],\r\n\t\t});\r\n\r\n\t\talert.present();\r\n\t};\r\n\r\n\tprivate createError = (name: LocationChangeErrorName, message: string = undefined) => {\r\n\t\tconst error = new Error(message);\r\n\t\terror.name = name;\r\n\t\treturn error;\r\n\t};\r\n}\r\n\r\ntype LocationChangeErrorName = \"NotOperatorError\" | \"MissingCompetenciesError\" | \"TimeoutError\";\r\n\r\ninterface SaveState {\r\n\tui: UiState;\r\n\tlastQueueTimeUpdate: LastQueueTimeUpdate;\r\n\tlastRidersUpdate: LastRidersUpdate;\r\n\triders: number;\r\n\tdispatches: number;\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ApiService } from \"./api.service\";\r\nimport { AlertController, NavController } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { LocationStateService } from \"../state/location-state.service\";\r\nimport { LocationStateQuery } from \"../state/location-state.query\";\r\nimport { ActionsService } from \"../state/actions.service\";\r\nimport { RidePosition } from \"../state/location-state.store\";\r\nimport { OperatorLoginModal } from \"source/app/components/operator-login/modals/operator-login.modal\";\r\nimport { ChangePinCodeModal } from \"source/app/modals/change-pin-code/change-pin-code.modal\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class OperatorService {\r\n\tconstructor(\r\n\t\tprivate apiService: ApiService,\r\n\t\tprivate operatorLoginModal: OperatorLoginModal,\r\n\t\tprivate changePinModal: ChangePinCodeModal,\r\n\t\tprivate locationStateService: LocationStateService,\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate actionsService: ActionsService,\r\n\t\tprivate alertController: AlertController,\r\n\t\tprivate navController: NavController,\r\n\t\tprivate transloco: TranslocoService,\r\n\t) {}\r\n\r\n\tcurrentOperator$ = this.locationStateQuery.selectOperator$;\r\n\r\n\tselectOperator = async (operator: Operator) => {\r\n\t\tconst currentOperator = await this.currentOperator$.firstAsync();\r\n\t\tif (currentOperator?.id === operator.id) {\r\n\t\t\treturn this.logoutOperator();\r\n\t\t}\r\n\r\n\t\tif (operator.hasPinCode === false) {\r\n\t\t\treturn this.showMissingPinCodeAlert();\r\n\t\t}\r\n\t\tif (operator.missingCompetencies?.length > 0) {\r\n\t\t\tconst requiredCompetencies = await this.locationStateQuery.requiredCompetencies$.firstAsync();\r\n\t\t\treturn this.showMissingCompetenciesAlert(operator, requiredCompetencies);\r\n\t\t}\r\n\r\n\t\tawait this.showPinCodeModal(operator);\r\n\t};\r\n\r\n\tselectAttendant = async (attendant: Operator, ridePosition: RidePosition): Promise => {\r\n\t\tif (ridePosition.attendant?.user.id === attendant.id) {\r\n\t\t\tthis.signOutAttendant(attendant, ridePosition);\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\tif (attendant.missingCompetencies?.length > 0) {\r\n\t\t\tconst requiredCompetencies = await this.locationStateQuery.requiredCompetenciesForAttendants$.firstAsync();\r\n\r\n\t\t\tawait this.showMissingCompetenciesAlert(attendant, [\r\n\t\t\t\t...ridePosition.requiredCompetencies,\r\n\t\t\t\t...requiredCompetencies,\r\n\t\t\t]);\r\n\r\n\t\t\treturn false;\r\n\t\t} else {\r\n\t\t\treturn await this.signInAttendant(attendant, ridePosition);\r\n\t\t}\r\n\t};\r\n\r\n\tpopulateMissingCompetencies = (operators: Operator[], requiredCompetencies: DocumentReference[]): Operator[] => {\r\n\t\treturn operators.map((operator) => {\r\n\t\t\tconst missingCompetencies = requiredCompetencies\r\n\t\t\t\t.map((x) => x.id)\r\n\t\t\t\t.filter((competency) => operator.competencies?.includes(competency) === false);\r\n\r\n\t\t\treturn {\r\n\t\t\t\t...operator,\r\n\t\t\t\tmissingCompetencies,\r\n\t\t\t};\r\n\t\t});\r\n\t};\r\n\r\n\tlogin = async (userId: string, pin: string): Promise => {\r\n\t\tawait this.apiService.login(userId, pin);\r\n\t};\r\n\r\n\tsignInAttendant = async (attendant: Attendant, position: RidePosition): Promise => {\r\n\t\ttry {\r\n\t\t\tawait this.apiService.signInAttendant(attendant.id, position.identifier);\r\n\t\t} catch {\r\n\t\t\tconst alert = await this.alertController.create({\r\n\t\t\t\theader: this.transloco.translate(\"ATTENDANT_SIGNIN_FAILED__HEADER\"),\r\n\t\t\t\tmessage: this.transloco.translate(\"ATTENDANT_SIGNIN_FAILED__MESSAGE\"),\r\n\t\t\t\tbuttons: [this.transloco.translate(\"ATTENDANT_SIGNIN_FAILED__OK\")],\r\n\t\t\t});\r\n\r\n\t\t\talert.present();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tawait this.locationStateService.setAttendantOnPosition(attendant, position);\r\n\t\treturn true;\r\n\t};\r\n\r\n\tsignOutAttendant = async (attendant: Attendant, position: RidePosition) => {\r\n\t\ttry {\r\n\t\t\tawait this.locationStateService.removeAttendantOnPosition(position);\r\n\t\t\tawait this.apiService.signOutAttendant(attendant.id, position.identifier);\r\n\t\t} catch {\r\n\t\t\tawait this.locationStateService.setAttendantOnPosition(attendant, position);\r\n\t\t}\r\n\t};\r\n\r\n\tlogoutOperator = async (skipNavigate = false) => {\r\n\t\ttry {\r\n\t\t\tawait this.apiService.logout();\r\n\t\t} catch {\r\n\t\t\tthis.actionsService.addSignOutAction();\r\n\t\t}\r\n\r\n\t\tawait this.locationStateService.clearOperator(skipNavigate);\r\n\t};\r\n\r\n\tprivate showPinCodeModal = async (selectedOperator: Operator): Promise => {\r\n\t\tconst operator: Operator = await this.operatorLoginModal.show(selectedOperator);\r\n\t\tif (operator === undefined) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.locationStateService.setCurrentOperator(operator);\r\n\r\n\t\tif (operator.pinCodeUsed === false) {\r\n\t\t\tawait this.showChangePinCodeModal();\r\n\t\t}\r\n\r\n\t\tthis.navController.navigateRoot(\"dashboard\");\r\n\t};\r\n\r\n\tprivate showMissingPinCodeAlert = async (): Promise => {\r\n\t\tconst alert = await this.alertController.create({\r\n\t\t\theader: this.transloco.translate(\"OPERATOR_NO_PIN__TITLE\"),\r\n\t\t\tmessage: this.transloco.translate(\"OPERATOR_NO_PIN__MESSAGE\"),\r\n\t\t\tbuttons: [this.transloco.translate(\"OPERATOR_NO_PIN__OK\")],\r\n\t\t});\r\n\r\n\t\tawait alert.present();\r\n\t};\r\n\r\n\tprivate showChangePinCodeModal = async (): Promise => {\r\n\t\tconst alertNewPin = await this.alertController.create({\r\n\t\t\tmessage: this.transloco.translate(\"OPERATOR_LOGIN__PIN_FIRST_USE\"),\r\n\t\t\tbuttons: [this.transloco.translate(\"OPERATOR_LOGIN__OK\")],\r\n\t\t});\r\n\r\n\t\tawait alertNewPin.present();\r\n\t\tawait alertNewPin.onDidDismiss();\r\n\r\n\t\tawait this.changePinModal.show({\r\n\t\t\trequireCurrentPin: false,\r\n\t\t});\r\n\t};\r\n\r\n\tprivate showMissingCompetenciesAlert = async (\r\n\t\toperator: Operator,\r\n\t\trequiredCompetencies: DocumentReference[],\r\n\t): Promise => {\r\n\t\tconst missingCompetenices = operator.missingCompetencies\r\n\t\t\t.map((missingCompetency) => requiredCompetencies.find((competency) => competency.id == missingCompetency))\r\n\t\t\t.filter((competency) => competency != null)\r\n\t\t\t.map((competency) => \"
  • \" + competency.name + \"
  • \");\r\n\r\n\t\tconst missingCompetenciesString = \"
      \" + missingCompetenices.join(\"\") + \"
    \";\r\n\r\n\t\tconst alert = await this.alertController.create({\r\n\t\t\theader: this.transloco.translate(\"OPERATOR_MISSING_COMPETENCIES__TITLE\"),\r\n\t\t\tmessage: this.transloco.translate(\"OPERATOR_MISSING_COMPETENCIES__MESSAGE\") + missingCompetenciesString,\r\n\t\t\tbuttons: [this.transloco.translate(\"OPERATOR_MISSING_COMPETENCIES__OK\")],\r\n\t\t\tcssClass: \"missing-competencies-alert\",\r\n\t\t});\r\n\r\n\t\tawait alert.present();\r\n\t};\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { NavigationEnd, NavigationError, Router } from \"@angular/router\";\r\nimport rg4js from \"raygun4js\";\r\nimport { environment } from \"../../../environments/environment\";\r\nimport { EnvironmentQuery } from \"../state/environment.query\";\r\nimport { EnvironmentState } from \"../state/environment.state\";\r\nimport { LocationStateQuery } from \"../state/location-state.query\";\r\n\r\n@Injectable({\r\n\tprovidedIn: \"root\",\r\n})\r\nexport class RaygunService {\r\n\tconstructor(\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate environmentQuery: EnvironmentQuery,\r\n\t\tprivate router: Router,\r\n\t) {}\r\n\r\n\tprivate activated: boolean | undefined;\r\n\tpublic activate = async () => {\r\n\t\tif (this.activated) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.activated = true;\r\n\r\n\t\tthis.trackActiveOperator();\r\n\t\tthis.trackNavigationChanges();\r\n\t\tthis.configureForActiveEnvironment();\r\n\t};\r\n\r\n\tpublic send = (error: Error, customData: object) => {\r\n\t\trg4js(\"send\", {\r\n\t\t\terror: error,\r\n\t\t\tcustomData: customData,\r\n\t\t});\r\n\t};\r\n\r\n\tprivate trackActiveOperator = () =>\r\n\t\tthis.locationStateQuery.selectOperator$.subscribe((operator) => {\r\n\t\t\tif (operator == undefined) {\r\n\t\t\t\trg4js(\"setUser\", {\r\n\t\t\t\t\tidentifier: null,\r\n\t\t\t\t\tisAnonymous: true,\r\n\t\t\t\t});\r\n\t\t\t} else {\r\n\t\t\t\trg4js(\"setUser\", {\r\n\t\t\t\t\tidentifier: operator.id,\r\n\t\t\t\t\tisAnonymous: false,\r\n\t\t\t\t\tfullName: operator.name,\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t});\r\n\r\n\tprivate trackNavigationChanges = () =>\r\n\t\tthis.router.events.subscribe((event) => {\r\n\t\t\tif (event instanceof NavigationEnd) {\r\n\t\t\t\trg4js(\"trackEvent\", {\r\n\t\t\t\t\ttype: \"pageView\",\r\n\t\t\t\t\tpath: event.url,\r\n\t\t\t\t});\r\n\t\t\t} else if (event instanceof NavigationError) {\r\n\t\t\t\trg4js(\"send\", { error: event.error });\r\n\t\t\t}\r\n\t\t});\r\n\r\n\tprivate configureForActiveEnvironment = () =>\r\n\t\tthis.environmentQuery.environment$.subscribe((backendEnvironment) => {\r\n\t\t\tconst isDevelopment = backendEnvironment.environment == EnvironmentState.Development;\r\n\r\n\t\t\trg4js(\"withTags\", [backendEnvironment.name, environment.buildNumber]);\r\n\t\t\trg4js(\"options\", { disableErrorTracking: isDevelopment });\r\n\t\t});\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\n\r\nimport { Storage } from \"@ionic/storage-angular\";\r\nimport { from, map } from \"rxjs\";\r\n\r\n@Injectable({\r\n\tprovidedIn: \"root\",\r\n})\r\nexport class StorageService {\r\n\tconstructor(private storage: Storage) {\r\n\t\tthis._storageIsReady = this.init();\r\n\t}\r\n\tprivate _storage: Storage | null = null;\r\n\tprivate _storageIsReady: Promise;\r\n\r\n\tpublic get = async (key: string) => {\r\n\t\tawait this._storageIsReady;\r\n\t\treturn this._storage?.get(key);\r\n\t};\r\n\r\n\tpublic getBlobWithKey = (key: string) => {\r\n\t\treturn from(this.get(key)).pipe(\r\n\t\t\tmap((blob: Blob) => {\r\n\t\t\t\treturn { key, blob };\r\n\t\t\t}),\r\n\t\t);\r\n\t};\r\n\r\n\tpublic deleteFiles = async (keys: string[]) => {\r\n\t\tawait this._storageIsReady;\r\n\t\tconst deletePromises = keys.map((key) => this.storage.remove(key));\r\n\t\tawait Promise.all(deletePromises);\r\n\t};\r\n\r\n\tpublic set = async (key: string, blob: Blob) => {\r\n\t\tawait this._storageIsReady;\r\n\t\treturn this._storage?.set(key, blob);\r\n\t};\r\n\r\n\tpublic reset = async () => {\r\n\t\tawait this._storageIsReady;\r\n\t\treturn this._storage.clear();\r\n\t};\r\n\r\n\tasync init() {\r\n\t\t// If using, define drivers here: await this.storage.defineDriver(/*...*/);\r\n\t\tconst storage = await this.storage.create();\r\n\t\tthis._storage = storage;\r\n\t}\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { SwUpdate } from \"@angular/service-worker\";\r\nimport { AlertController } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { interval } from \"rxjs\";\r\nimport { filter } from \"rxjs/operators\";\r\n\r\n@Injectable({\r\n\tprovidedIn: \"root\",\r\n})\r\nexport class UpdateService {\r\n\tstatic updateAlertId = \"update-alert\";\r\n\r\n\tconstructor(\r\n\t\tprivate updates: SwUpdate,\r\n\t\tprivate alertController: AlertController,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t) {}\r\n\r\n\tprivate activated: boolean;\r\n\tpublic activate = () => {\r\n\t\tif (this.activated) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.activated = true;\r\n\r\n\t\tthis.updates.versionUpdates\r\n\t\t\t.pipe(filter((event) => event.type === \"VERSION_READY\"))\r\n\t\t\t.subscribe(this.blockForUpdate);\r\n\r\n\t\t// Only check for updates, if servieworker is available\r\n\t\tif (this.updates.isEnabled) {\r\n\t\t\tconst everyMinute$ = interval(60000);\r\n\t\t\teveryMinute$.subscribe(this.checkForUpdate);\r\n\t\t}\r\n\r\n\t\tthis.updates.unrecoverable.subscribe((_event) => {\r\n\t\t\t//The app is in an unrecoverable state, because the user has an old version of the app\r\n\t\t\t//where some of the .js files have been removed from the cache, and cant be loaded\r\n\t\t\tthis.showUnrecoverableError();\r\n\t\t});\r\n\t};\r\n\r\n\tpublic checkForUpdate = async (): Promise => {\r\n\t\ttry {\r\n\t\t\treturn await this.updates.checkForUpdate();\r\n\t\t} catch (error) {\r\n\t\t\tconsole.error(error);\r\n\t\t\t// checkForUpdate will fail if running in dev or incognito, without the serviceworker installed\r\n\t\t\treturn false;\r\n\t\t}\r\n\t};\r\n\r\n\tprivate showUnrecoverableError = async () => {\r\n\t\tconst alert = await this.alertController.create({\r\n\t\t\theader: this.translocoService.translate(\"UNRECOVERABLE_ERROR_DETECTED__TITLE\"),\r\n\t\t\tmessage: this.translocoService.translate(\"UNRECOVERABLE_ERROR_DETECTED__MESSAGE\"),\r\n\t\t\tbuttons: [this.translocoService.translate(\"UNRECOVERABLE_ERROR_DETECTED__OK\")],\r\n\t\t\tbackdropDismiss: false,\r\n\t\t});\r\n\r\n\t\tawait alert.present();\r\n\t\tawait alert.onDidDismiss();\r\n\r\n\t\tdocument.location.reload();\r\n\t};\r\n\r\n\tprivate blockForUpdate = async () => {\r\n\t\tconst alert = await this.alertController.create({\r\n\t\t\theader: this.translocoService.translate(\"UPDATE_MODAL__TITLE\"),\r\n\t\t\tmessage: this.translocoService.translate(\"UPDATE_MODAL__MESSAGE\"),\r\n\t\t\tbuttons: [this.translocoService.translate(\"UPDATE_MODAL__OK\")],\r\n\t\t\tbackdropDismiss: false,\r\n\t\t\tid: UpdateService.updateAlertId,\r\n\t\t});\r\n\r\n\t\tawait alert.present();\r\n\t\tawait alert.onDidDismiss();\r\n\r\n\t\tdocument.location.reload();\r\n\t};\r\n}\r\n","import { formatDate } from \"@angular/common\";\r\nimport { Injectable } from \"@angular/core\";\r\nimport { EnvironmentQuery } from \"../state/environment.query\";\r\nimport { LocationStateQuery } from \"../state/location-state.query\";\r\n\r\nexport type ResizePreset = \"thumbnail\" | \"medium\" | \"large\" | \"profile\";\r\nexport type ResizeMode = \"fit\" | \"fill\";\r\n\r\n@Injectable({\r\n\tprovidedIn: \"root\",\r\n})\r\nexport class UtilityService {\r\n\tconstructor(\r\n\t\tlocationStateQuery: LocationStateQuery,\r\n\t\tprivate environmentQuery: EnvironmentQuery,\r\n\t) {\r\n\t\tlocationStateQuery.operator$.subscribe((operator) => {\r\n\t\t\tif (operator?.dateTimeSettings == undefined || operator?.dateTimeSettings == null) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tthis.currentDateFormat = operator.dateTimeSettings.dateFormat == 1 ? \"MM/dd/yyyy\" : \"dd-MM-yyyy\";\r\n\t\t\tthis.currentTimeFormat = operator.dateTimeSettings.useTwentyFourHourClock == true ? \"HH:mm\" : \"h:mm a\";\r\n\t\t\tthis.currentTimeFormatWithSeconds =\r\n\t\t\t\toperator.dateTimeSettings.useTwentyFourHourClock == true ? \"HH:mm:ss\" : \"h:mm:ss a\";\r\n\r\n\t\t\t// When we have included all locales, we can comment out the line below.\r\n\t\t\t// this.currentLocale = operator.language ?? \"en\";\r\n\t\t});\r\n\t}\r\n\r\n\tprivate currentDateFormat = \"dd-MM-yyyy\";\r\n\tprivate currentTimeFormat = \"HH:mm\";\r\n\tprivate currentTimeFormatWithSeconds = \"HH:mm:ss\";\r\n\tprivate currentLocale = \"en\"; // Hardcoded for now, because we need to figure out how to include all locales\r\n\r\n\tgetImageUrl = async (fileIdentifier: string, preset?: ResizePreset, mode?: ResizeMode, size?: number) => {\r\n\t\tif (!fileIdentifier) {\r\n\t\t\treturn undefined;\r\n\t\t}\r\n\r\n\t\tconst params = new URLSearchParams();\r\n\r\n\t\tparams.append(\"path\", fileIdentifier);\r\n\t\tmode && params.append(\"mode\", String(mode));\r\n\t\tpreset && params.append(\"preset\", String(preset));\r\n\t\tsize && params.append(\"width\", String(size));\r\n\t\tsize && params.append(\"height\", String(size));\r\n\r\n\t\tconst environment = await this.environmentQuery.environment$.firstAsync();\r\n\t\tconst url = `${environment.frontEnd.url}api/files/get?path=${fileIdentifier}`;\r\n\r\n\t\treturn preset == null ? url : `${url}&preset=${preset}`;\r\n\t};\r\n\r\n\tgetFileUrl = async (fileIdentifier: string) => {\r\n\t\tconst environment = await this.environmentQuery.environment$.firstAsync();\r\n\t\treturn `${environment.frontEnd.url}api/files/get?path=${fileIdentifier}`;\r\n\t};\r\n\r\n\tdataURLtoFile = async (dataurl: string, filename: string) => {\r\n\t\tconst base64Response = await fetch(dataurl);\r\n\t\tconst blob = await base64Response.blob();\r\n\t\treturn new File([blob], filename);\r\n\t};\r\n\r\n\tformatDate = (value: string | number | Date) => {\r\n\t\tif (value == null) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\treturn formatDate(value, this.currentDateFormat, this.currentLocale);\r\n\t};\r\n\r\n\tformatTime = (value: string | number | Date, withSeconds = false) => {\r\n\t\tconst timeFormat = withSeconds == false ? this.currentTimeFormat : this.currentTimeFormatWithSeconds;\r\n\t\treturn formatDate(value, timeFormat, this.currentLocale);\r\n\t};\r\n\r\n\tformatDateTime = (value: string | number | Date, withSeconds = false) => {\r\n\t\tif (value == null) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\treturn this.formatDate(value) + \" \" + this.formatTime(value, withSeconds);\r\n\t};\r\n\r\n\tgetMinutesSince = (value: string | Date) => {\r\n\t\tconst secondsSinceValue = this.getSecondsSince(value);\r\n\t\tif (secondsSinceValue == null) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\tconst minutesSinceValue = secondsSinceValue / 60;\r\n\t\treturn Math.floor(minutesSinceValue);\r\n\t};\r\n\r\n\tgetSecondsSince = (value: string | Date) => {\r\n\t\tif (value == null) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\tconst since = new Date(value).getTime();\r\n\t\tconst now = new Date().getTime();\r\n\r\n\t\tconst secondsSinceDate = (now - since) / 1000;\r\n\t\treturn Math.floor(secondsSinceDate);\r\n\t};\r\n}\r\n","export interface Action {\r\n\tid: string;\r\n\toperator: string;\r\n\tlocation: string;\r\n\twhen: string;\r\n\tactionType: ActionType;\r\n\tpayLoad: T;\r\n}\r\n\r\nexport enum ActionType {\r\n\tCREATE_DISPATCH = 0,\r\n\tUPDATE_QUEUE_TIME = 1,\r\n\tCREATE_NOTE = 2,\r\n\tSIGN_OUT = 3,\r\n}\r\n\r\nexport interface CreateDispatchAction {\r\n\triders: number;\r\n\tdispatchUnitCapacity: number;\r\n\tdispatchUnitsAvailable: number;\r\n\ttotalUnavailableCapacity: number;\r\n}\r\n\r\nexport interface UpdateQueueTimeAction {\r\n\tqueueTimeInMinutes: number;\r\n}\r\n\r\nexport interface CreateNoteAction {\r\n\ttype: string;\r\n\tdescription: string;\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { HttpClient } from \"@angular/common/http\";\r\nimport { retryBackoff } from \"backoff-rxjs\";\r\nimport { combineLatest, concatMap, filter, Subject, tap } from \"rxjs\";\r\nimport { Action, ActionType, CreateDispatchAction, CreateNoteAction, UpdateQueueTimeAction } from \"./action.model\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\nimport { ActionsStore } from \"./actions.store\";\r\nimport { addEntities, deleteEntities, selectFirst } from \"@ngneat/elf-entities\";\r\nimport { EnvironmentQuery } from \"./environment.query\";\r\nimport { UiQuery } from \"./ui.query\";\r\nimport { LocationStateQuery } from \"./location-state.query\";\r\nimport { LocationStateService } from \"./location-state.service\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class ActionsService {\r\n\tconstructor(\r\n\t\tprivate actionsStore: ActionsStore,\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate locationStateService: LocationStateService,\r\n\t\tprivate environmentQuery: EnvironmentQuery,\r\n\t\tprivate uiQuery: UiQuery,\r\n\t\tprivate http: HttpClient,\r\n\t) {\r\n\t\tthis.sendActions();\r\n\t}\r\n\r\n\tINIT_INTERVAL_MS = 100; // 100 ms\r\n\tMAX_INTERVAL_MS = 60 * 1000; // 60 sec\r\n\r\n\tactionSentToServer$ = new Subject>();\r\n\r\n\taddCreateNoteAction = async (description: string, type: string) => {\r\n\t\tconst operator = await this.locationStateQuery.operator$.firstAsync();\r\n\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\t\tconst now = new Date();\r\n\r\n\t\tconst action: Action = {\r\n\t\t\tid: uuidv4(),\r\n\t\t\tactionType: ActionType.CREATE_NOTE,\r\n\t\t\tlocation: location.id,\r\n\t\t\twhen: now.toISOString(),\r\n\t\t\toperator: operator.id,\r\n\t\t\tpayLoad: {\r\n\t\t\t\ttype: type,\r\n\t\t\t\tdescription: description,\r\n\t\t\t},\r\n\t\t};\r\n\r\n\t\tthis.actionsStore.store.update(addEntities(action));\r\n\t};\r\n\r\n\taddCreateDispatchAction = async (riders: number) => {\r\n\t\tconst [operator, location, rideOpsSettings, carts, seats] = await combineLatest([\r\n\t\t\tthis.locationStateQuery.operator$,\r\n\t\t\tthis.locationStateQuery.location$,\r\n\t\t\tthis.locationStateQuery.rideOpsSettings$,\r\n\t\t\tthis.uiQuery.cartsInUse$,\r\n\t\t\tthis.uiQuery.seatsUnavailable$,\r\n\t\t]).firstAsync();\r\n\t\tconst now = new Date();\r\n\r\n\t\tconst action: Action = {\r\n\t\t\tid: uuidv4(),\r\n\t\t\tactionType: ActionType.CREATE_DISPATCH,\r\n\t\t\tlocation: location.id,\r\n\t\t\twhen: now.toISOString(),\r\n\t\t\toperator: operator.id,\r\n\t\t\tpayLoad: {\r\n\t\t\t\triders: riders,\r\n\t\t\t\tdispatchUnitCapacity: rideOpsSettings.dispatchUnitCapacity,\r\n\t\t\t\tdispatchUnitsAvailable: carts,\r\n\t\t\t\ttotalUnavailableCapacity: seats,\r\n\t\t\t},\r\n\t\t};\r\n\r\n\t\tthis.actionsStore.store.update(addEntities(action));\r\n\t\tthis.locationStateService.updateDispatchesAndRiders(now, riders);\r\n\t};\r\n\r\n\taddSignOutAction = async () => {\r\n\t\tconst operator = await this.locationStateQuery.operator$.firstAsync();\r\n\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\t\tconst now = new Date();\r\n\r\n\t\tconst action: Action = {\r\n\t\t\tid: uuidv4(),\r\n\t\t\tactionType: ActionType.SIGN_OUT,\r\n\t\t\tlocation: location.id,\r\n\t\t\twhen: now.toISOString(),\r\n\t\t\toperator: operator.id,\r\n\t\t\tpayLoad: {},\r\n\t\t};\r\n\r\n\t\tthis.actionsStore.store.update(addEntities(action));\r\n\t};\r\n\r\n\taddUpdateQueueTimeAction = async (queueTimeInMinutes: number) => {\r\n\t\tconst operator = await this.locationStateQuery.operator$.firstAsync();\r\n\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\t\tconst now = new Date();\r\n\r\n\t\tconst action: Action = {\r\n\t\t\tid: uuidv4(),\r\n\t\t\tactionType: ActionType.UPDATE_QUEUE_TIME,\r\n\t\t\tlocation: location.id,\r\n\t\t\twhen: now.toISOString(),\r\n\t\t\toperator: operator.id,\r\n\t\t\tpayLoad: {\r\n\t\t\t\tqueueTimeInMinutes: queueTimeInMinutes,\r\n\t\t\t},\r\n\t\t};\r\n\r\n\t\tthis.actionsStore.store.update(addEntities(action));\r\n\t\tthis.locationStateService.updateQueueTime(now, queueTimeInMinutes);\r\n\t};\r\n\r\n\tprivate sendActions = () => {\r\n\t\tcombineLatest([\r\n\t\t\tthis.environmentQuery.environment$,\r\n\t\t\tthis.actionsStore.store.pipe(selectFirst()),\r\n\t\t\tthis.locationStateQuery.selectOperator$,\r\n\t\t])\r\n\t\t\t.pipe(\r\n\t\t\t\t// we dont want to do anything, if the actions are empty or if no operator is loggedin, as the endpoints require auth\r\n\t\t\t\tfilter(([_environment, action, operator]) => action !== undefined && operator !== undefined),\r\n\t\t\t\tconcatMap(([environment, action]) => {\r\n\t\t\t\t\tconst endpoint = environment.api.url + this.getEndpointUrl(action);\r\n\t\t\t\t\tconst request = this.getRequest(action);\r\n\r\n\t\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n\t\t\t\t\treturn this.http.post>(endpoint, request).pipe(\r\n\t\t\t\t\t\ttap((response) => {\r\n\t\t\t\t\t\t\tif (response.success == false) {\r\n\t\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tthis.actionsStore.store.update(deleteEntities(action.id));\r\n\t\t\t\t\t\t\tthis.actionSentToServer$.next(action);\r\n\t\t\t\t\t\t}),\r\n\t\t\t\t\t);\r\n\t\t\t\t}),\r\n\t\t\t\tretryBackoff({\r\n\t\t\t\t\tinitialInterval: this.INIT_INTERVAL_MS,\r\n\t\t\t\t\tmaxInterval: this.MAX_INTERVAL_MS,\r\n\t\t\t\t\tresetOnSuccess: true,\r\n\t\t\t\t}),\r\n\t\t\t)\r\n\t\t\t.subscribe();\r\n\t};\r\n\r\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n\tprivate getEndpointUrl = (action: Action): string => {\r\n\t\tswitch (action.actionType) {\r\n\t\t\tcase ActionType.CREATE_DISPATCH:\r\n\t\t\t\treturn \"api/rideops/create-dispatch\";\r\n\t\t\tcase ActionType.UPDATE_QUEUE_TIME:\r\n\t\t\t\treturn \"api/rideops/update-queue\";\r\n\t\t\tcase ActionType.CREATE_NOTE:\r\n\t\t\t\treturn \"api/rideops/create-note\";\r\n\t\t\tcase ActionType.SIGN_OUT:\r\n\t\t\t\treturn \"api/rideops/logout\";\r\n\t\t\tdefault:\r\n\t\t\t\tthrow new Error(\"ActionType '\" + action.actionType + \"' was unknown.\");\r\n\t\t}\r\n\t};\r\n\r\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n\tprivate getRequest = (action: Action): BackendRequest => {\r\n\t\tswitch (action.actionType) {\r\n\t\t\tcase ActionType.CREATE_DISPATCH:\r\n\t\t\t\treturn this.getCreateDispatchRequest(action);\r\n\t\t\tcase ActionType.UPDATE_QUEUE_TIME:\r\n\t\t\t\treturn this.getUpdateQueueTimeRequest(action);\r\n\t\t\tcase ActionType.CREATE_NOTE:\r\n\t\t\t\treturn this.getCreateNoteRequest(action);\r\n\t\t\tcase ActionType.SIGN_OUT:\r\n\t\t\t\treturn this.getSignoutRequest(action);\r\n\t\t\tdefault:\r\n\t\t\t\tthrow new Error(\"ActionType '\" + action.actionType + \"' was unknown.\");\r\n\t\t}\r\n\t};\r\n\r\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n\tprivate getSignoutRequest = (action: Action): any => {\r\n\t\treturn {\r\n\t\t\twhen: action.when,\r\n\t\t\tlocation: action.location,\r\n\t\t\tuser: action.operator,\r\n\t\t};\r\n\t};\r\n\r\n\tprivate getCreateDispatchRequest = (action: Action): CreateDispatchRequest => {\r\n\t\tconst request = {\r\n\t\t\twhen: action.when,\r\n\t\t\toperator: action.operator,\r\n\t\t\tlocation: action.location,\r\n\t\t\triders: action.payLoad.riders,\r\n\t\t\tdispatchUnitCapacity: action.payLoad.dispatchUnitCapacity,\r\n\t\t\tdispatchUnitsAvailable: action.payLoad.dispatchUnitsAvailable,\r\n\t\t\ttotalUnavailableCapacity: action.payLoad.totalUnavailableCapacity,\r\n\t\t};\r\n\r\n\t\tif (request.dispatchUnitCapacity <= 0) {\r\n\t\t\trequest.dispatchUnitCapacity = 1;\r\n\t\t}\r\n\r\n\t\tif (request.dispatchUnitsAvailable <= 0) {\r\n\t\t\trequest.dispatchUnitsAvailable = 1;\r\n\t\t}\r\n\r\n\t\tif (request.riders < 0) {\r\n\t\t\trequest.riders = 0;\r\n\t\t}\r\n\r\n\t\treturn request;\r\n\t};\r\n\r\n\tprivate getUpdateQueueTimeRequest = (action: Action): UpdateQueueTimeRequest => {\r\n\t\treturn {\r\n\t\t\twhen: action.when,\r\n\t\t\toperator: action.operator,\r\n\t\t\tlocation: action.location,\r\n\t\t\tqueueTimeInMinutes: action.payLoad.queueTimeInMinutes,\r\n\t\t};\r\n\t};\r\n\r\n\tprivate getCreateNoteRequest = (action: Action): CreateNoteRequest => {\r\n\t\treturn {\r\n\t\t\twhen: action.when,\r\n\t\t\toperator: action.operator,\r\n\t\t\tlocation: action.location,\r\n\t\t\tdescription: action.payLoad.description,\r\n\t\t\ttype: action.payLoad.type,\r\n\t\t};\r\n\t};\r\n}\r\n\r\nexport interface BackendRequest {\r\n\toperator: string;\r\n\tlocation?: string;\r\n\twhen?: string;\r\n}\r\n\r\nexport interface CreateNoteRequest extends BackendRequest {\r\n\tdescription: string;\r\n\ttype: string;\r\n}\r\n\r\nexport interface UpdateQueueTimeRequest extends BackendRequest {\r\n\tqueueTimeInMinutes: number;\r\n}\r\n\r\nexport interface CreateDispatchRequest extends BackendRequest {\r\n\triders: number;\r\n\tdispatchUnitCapacity: number;\r\n\tdispatchUnitsAvailable: number;\r\n\ttotalUnavailableCapacity: number;\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { createStore } from \"@ngneat/elf\";\r\nimport { withEntities } from \"@ngneat/elf-entities\";\r\nimport { localStorageStrategy, persistState } from \"@ngneat/elf-persist-state\";\r\nimport { Action } from \"./action.model\";\r\nimport { debounceTime } from \"rxjs\";\r\n\r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\nconst actionsStore = createStore({ name: \"actions\" }, withEntities>());\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class ActionsStore {\r\n\tconstructor() {\r\n\t\tpersistState(actionsStore, {\r\n\t\t\tstorage: localStorageStrategy,\r\n\t\t\tsource: () => actionsStore.pipe(debounceTime(1000)),\r\n\t\t});\r\n\t}\r\n\r\n\tpublic store = actionsStore;\r\n\r\n\treset = () => {\r\n\t\tactionsStore.reset();\r\n\t};\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { EnvironmentStore } from \"./environment.store\";\r\nimport { EnvironmentState } from \"./environment.state\";\r\nimport { select } from \"@ngneat/elf\";\r\nimport { map } from \"rxjs\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class EnvironmentQuery {\r\n\tconstructor(private environmentStore: EnvironmentStore) {}\r\n\r\n\treadonly configurations: BackEndConfiguration[] = [\r\n\t\t{\r\n\t\t\tenvironment: EnvironmentState.Development,\r\n\t\t\tname: \"Development\",\r\n\t\t\tapi: {\r\n\t\t\t\turl: \"http://localhost:5000/\",\r\n\t\t\t},\r\n\t\t\tfrontEnd: {\r\n\t\t\t\turl: \"http://localhost:5001/\",\r\n\t\t\t},\r\n\t\t},\r\n\t\t{\r\n\t\t\tenvironment: EnvironmentState.Staging,\r\n\t\t\tname: \"Staging\",\r\n\t\t\tapi: {\r\n\t\t\t\turl: \"https://app.staging.mobaro.com/\",\r\n\t\t\t},\r\n\t\t\tfrontEnd: {\r\n\t\t\t\turl: \"https://app.staging.mobaro.com/\",\r\n\t\t\t},\r\n\t\t},\r\n\t\t{\r\n\t\t\tenvironment: EnvironmentState.Production,\r\n\t\t\tname: \"Production\",\r\n\t\t\tapi: {\r\n\t\t\t\turl: \"https://app.mobaro.com/\",\r\n\t\t\t},\r\n\t\t\tfrontEnd: {\r\n\t\t\t\turl: \"https://app.mobaro.com/\",\r\n\t\t\t},\r\n\t\t},\r\n\t];\r\n\r\n\tgetAvailableEnvironments = () => {\r\n\t\treturn this.configurations.map((config) => {\r\n\t\t\treturn { id: config.environment, name: config.name };\r\n\t\t});\r\n\t};\r\n\r\n\tenvironment$ = this.environmentStore.store.pipe(\r\n\t\tselect((state) => state),\r\n\t\tmap((state) => {\r\n\t\t\treturn this.configurations[state.environment];\r\n\t\t}),\r\n\t);\r\n}\r\n\r\nexport interface BackEndConfiguration {\r\n\tenvironment: EnvironmentState;\r\n\tname: string;\r\n\tapi: {\r\n\t\turl: string;\r\n\t};\r\n\tfrontEnd: {\r\n\t\turl: string;\r\n\t};\r\n}\r\n","export enum EnvironmentState {\r\n\tDevelopment,\r\n\tStaging,\r\n\tProduction,\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { EnvironmentState } from \"./environment.state\";\r\nimport { createStore, withProps } from \"@ngneat/elf\";\r\n\r\nexport function createInitialState(): { environment: EnvironmentState } {\r\n\tswitch (location.hostname) {\r\n\t\tcase \"mobaro-rideops-app.azurewebsites.net\":\r\n\t\tcase \"rideops.mobaro.com\": {\r\n\t\t\treturn { environment: EnvironmentState.Production };\r\n\t\t}\r\n\t\tcase \"mobaro-rideops-app-staging.azurewebsites.net\":\r\n\t\tcase \"rideops.staging.mobaro.com\": {\r\n\t\t\treturn { environment: EnvironmentState.Staging };\r\n\t\t}\r\n\t\tdefault: {\r\n\t\t\treturn { environment: EnvironmentState.Development };\r\n\t\t}\r\n\t}\r\n}\r\n\r\nconst environmentStore = createStore(\r\n\t{ name: \"environment\" },\r\n\twithProps<{ environment: EnvironmentState }>(createInitialState()),\r\n);\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class EnvironmentStore {\r\n\tpublic store = environmentStore;\r\n\r\n\treset = () => {\r\n\t\tenvironmentStore.reset();\r\n\t};\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\n\r\nimport { FileTranslationsStore } from \"./file-translations.store\";\r\nimport { addEntities, deleteEntities } from \"@ngneat/elf-entities\";\r\nimport { FileTranslation } from \"./file-translation.model\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class FileTranslationsService {\r\n\tconstructor(private fileTranslationsStore: FileTranslationsStore) {}\r\n\r\n\tremoveTranslations = (translations: FileTranslation[]) => {\r\n\t\tthis.fileTranslationsStore.store.update(deleteEntities(translations.map((x) => x.id)));\r\n\t};\r\n\r\n\tadd(fileTranslation: FileTranslation) {\r\n\t\tthis.fileTranslationsStore.store.update(addEntities(fileTranslation));\r\n\t}\r\n\r\n\tremove(id: string) {\r\n\t\tthis.fileTranslationsStore.store.update(deleteEntities(id));\r\n\t}\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { createStore } from \"@ngneat/elf\";\r\nimport { withEntities } from \"@ngneat/elf-entities\";\r\nimport { FileTranslation } from \"./file-translation.model\";\r\nimport { localStorageStrategy, persistState } from \"@ngneat/elf-persist-state\";\r\nimport { debounceTime } from \"rxjs\";\r\n\r\nconst fileTranslationsStore = createStore({ name: \"file-translations\" }, withEntities());\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class FileTranslationsStore {\r\n\tconstructor() {\r\n\t\tpersistState(fileTranslationsStore, {\r\n\t\t\tstorage: localStorageStrategy,\r\n\t\t\tsource: () => fileTranslationsStore.pipe(debounceTime(1000)),\r\n\t\t});\r\n\t}\r\n\r\n\tpublic store = fileTranslationsStore;\r\n\r\n\treset = () => {\r\n\t\tfileTranslationsStore.reset();\r\n\t};\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { FileUploadsStore } from \"./file-uploads.store\";\r\nimport { selectMany } from \"@ngneat/elf-entities\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class FileUploadsQuery {\r\n\tconstructor(private fileUploadsStore: FileUploadsStore) {}\r\n\r\n\tselectMany = (ids: string[]) => {\r\n\t\treturn this.fileUploadsStore.store.pipe(selectMany(ids));\r\n\t};\r\n}\r\n","import { HttpEventType } from \"@angular/common/http\";\r\nimport { Injectable } from \"@angular/core\";\r\nimport { FileUploadsStore } from \"./file-uploads.store\";\r\nimport { BehaviorSubject, concatMap, filter, switchMap, tap } from \"rxjs\";\r\nimport { addEntities, deleteEntities, selectFirst, updateEntities } from \"@ngneat/elf-entities\";\r\nimport { FileUpload } from \"./file-upload.model\";\r\nimport { retryBackoff } from \"backoff-rxjs\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\nimport { StorageService } from \"../services/storage.service\";\r\nimport { ApiService } from \"../services/api.service\";\r\n\r\nimport { FileTranslation } from \"./file-translation.model\";\r\nimport { FileTranslationsService } from \"./file-translations.service\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class FileUploadsService {\r\n\tconstructor(\r\n\t\tprivate fileUploadsStore: FileUploadsStore,\r\n\t\tprivate storageService: StorageService,\r\n\t\tprivate apiService: ApiService,\r\n\t\tprivate fileTranslationsService: FileTranslationsService,\r\n\t) {\r\n\t\tthis.upload();\r\n\t}\r\n\r\n\tpublic currentUploadProgress$ = new BehaviorSubject(0);\r\n\r\n\tINIT_INTERVAL_MS = 100; // 100 ms\r\n\tMAX_INTERVAL_MS = 60 * 1000; // 60 sec\r\n\r\n\tprivate upload = () => {\r\n\t\tthis.fileUploadsStore.store\r\n\t\t\t.pipe(\r\n\t\t\t\tselectFirst(),\r\n\t\t\t\tfilter((x) => x !== undefined),\r\n\t\t\t\tconcatMap((x) => this.storageService.getBlobWithKey(x.id)),\r\n\t\t\t\tswitchMap((x) => {\r\n\t\t\t\t\tthis.currentUploadProgress$.next(0);\r\n\t\t\t\t\treturn this.apiService.uploadFiles$([new File([x.blob], x.key)]).pipe(\r\n\t\t\t\t\t\ttap((reponse) => {\r\n\t\t\t\t\t\t\tif (reponse.type === HttpEventType.Response) {\r\n\t\t\t\t\t\t\t\tconst fileTranslation: FileTranslation = {\r\n\t\t\t\t\t\t\t\t\tid: x.key,\r\n\t\t\t\t\t\t\t\t\tfile: x.blob,\r\n\t\t\t\t\t\t\t\t\tpath: reponse.body.data[0].path,\r\n\t\t\t\t\t\t\t\t};\r\n\r\n\t\t\t\t\t\t\t\tthis.fileTranslationsService.add(fileTranslation);\r\n\t\t\t\t\t\t\t\tthis.remove(x.key);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (reponse.type === HttpEventType.UploadProgress) {\r\n\t\t\t\t\t\t\t\tthis.currentUploadProgress$.next(reponse.loaded / reponse.total);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}),\r\n\t\t\t\t\t);\r\n\t\t\t\t}),\r\n\t\t\t\tretryBackoff({\r\n\t\t\t\t\tinitialInterval: this.INIT_INTERVAL_MS,\r\n\t\t\t\t\tmaxInterval: this.MAX_INTERVAL_MS,\r\n\t\t\t\t\tresetOnSuccess: true,\r\n\t\t\t\t}),\r\n\t\t\t)\r\n\t\t\t.subscribe();\r\n\t};\r\n\r\n\tadd = async (type: string, blob: Blob): Promise => {\r\n\t\tconst id = uuidv4();\r\n\t\tconst fileUpload: FileUpload = {\r\n\t\t\tid: id,\r\n\t\t\ttype: type,\r\n\t\t};\r\n\t\tawait this.storageService.set(fileUpload.id, blob);\r\n\t\tthis.fileUploadsStore.store.update(addEntities(fileUpload));\r\n\t\treturn id;\r\n\t};\r\n\r\n\tupdate(id: string, fileUpload: Partial) {\r\n\t\tthis.fileUploadsStore.store.update(updateEntities(id, fileUpload));\r\n\t}\r\n\r\n\tremove(id: string) {\r\n\t\tthis.fileUploadsStore.store.update(deleteEntities(id));\r\n\t}\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { createStore } from \"@ngneat/elf\";\r\nimport { withEntities } from \"@ngneat/elf-entities\";\r\nimport { localStorageStrategy, persistState } from \"@ngneat/elf-persist-state\";\r\nimport { FileUpload } from \"./file-upload.model\";\r\nimport { debounceTime } from \"rxjs\";\r\n\r\nconst fileUploadsStore = createStore({ name: \"file-uploads\" }, withEntities());\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class FileUploadsStore {\r\n\tconstructor() {\r\n\t\tpersistState(fileUploadsStore, {\r\n\t\t\tstorage: localStorageStrategy,\r\n\t\t\tsource: () => fileUploadsStore.pipe(debounceTime(1000)),\r\n\t\t});\r\n\t}\r\n\r\n\tpublic store = fileUploadsStore;\r\n\r\n\treset = () => {\r\n\t\tfileUploadsStore.reset();\r\n\t};\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { LocationStateStore } from \"./location-state.store\";\r\nimport { combineLatest, map, Observable } from \"rxjs\";\r\nimport { select } from \"@ngneat/elf\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class LocationStateQuery {\r\n\tconstructor(private locationStateStore: LocationStateStore) {}\r\n\r\n\tgetSnapshot = () => {\r\n\t\treturn this.locationStateStore.store.getValue();\r\n\t};\r\n\r\n\tselectState$: Observable<\"Open\" | \"Closed\" | \"Down\"> = this.locationStateStore.store.pipe(\r\n\t\tselect((state) => {\r\n\t\t\treturn state.downtime != null ? \"Down\" : state.state;\r\n\t\t}),\r\n\t);\r\n\r\n\tpreopeningChecklist$ = this.locationStateStore.store.pipe(select((state) => state.preopeningChecklist));\r\n\tclosingChecklist$ = this.locationStateStore.store.pipe(select((state) => state.closingChecklist));\r\n\tcreatedDowntimesAreBlocking$ = this.locationStateStore.store.pipe(\r\n\t\tselect((state) => state.createdDowntimesAreBlocking),\r\n\t);\r\n\r\n\tselectOperator$ = this.locationStateStore.store.pipe(select((state) => state.operator));\r\n\toperatorDateTimeSettings$ = this.selectOperator$.pipe(map((operator) => operator.dateTimeSettings));\r\n\r\n\tlocationIsOpen$ = this.locationStateStore.store.pipe(select((state) => state.state == \"Open\"));\r\n\trideOpsKey$ = this.locationStateStore.store.pipe(select((state) => state.apiKey));\r\n\trideOpsKeyAndOperator$ = this.locationStateStore.store.pipe(\r\n\t\tselect((state) => [state.operator, state.apiKey] as const),\r\n\t\tmap(([operator, key]) => [operator, key] as unknown as [string, number]),\r\n\t);\r\n\r\n\tlocation$ = this.locationStateStore.store.pipe(select((state) => state.location));\r\n\tlocationProperties$ = this.locationStateStore.store.pipe(select((state) => state.locationProperties));\r\n\tlocationName$ = this.locationStateStore.store.pipe(select((state) => state.location?.name));\r\n\tisClearedForOperation$ = this.locationStateStore.store.pipe(\r\n\t\tselect((state) => state.isClearedForOperationDetails.isClearedForOperation),\r\n\t);\r\n\tisClearedForPreopening$ = this.locationStateStore.store.pipe(\r\n\t\tselect((state) => state.isClearedForOperationDetails.isClearedForPreopening),\r\n\t);\r\n\tisClearedForOperationDetails$ = this.locationStateStore.store.pipe(\r\n\t\tselect((state) => state.isClearedForOperationDetails),\r\n\t);\r\n\tmessageForOperatorWhenNotReadyForOperation$ = this.locationStateStore.store.pipe(\r\n\t\tselect((state) => state.rideOpsSettings.messageForOperatorWhenNotReadyForOperation),\r\n\t);\r\n\tmessageForOperatorWhenNoCriticalForOperationChecklistsPlanned$ = this.locationStateStore.store.pipe(\r\n\t\tselect((state) => state.rideOpsSettings.messageForOperatorWhenNoCriticalForOperationChecklistsPlanned),\r\n\t);\r\n\r\n\tmandatoryPositionsWithoutAttendant$ = this.locationStateStore.store.pipe(\r\n\t\tselect((state) => state.rideOpsSettings.positions),\r\n\t\tmap((positions) => positions?.filter((position) => position.mandatory && position.attendant == null) || []),\r\n\t);\r\n\r\n\tisSafeToOperate$ = combineLatest([\r\n\t\tthis.selectState$.pipe(map((state) => state === \"Down\")),\r\n\t\tthis.isClearedForOperation$,\r\n\t\tthis.mandatoryPositionsWithoutAttendant$,\r\n\t]).pipe(\r\n\t\tmap(\r\n\t\t\t([isDown, isClearedForOperation, mandatoryPositionsWithoutAttendant]) =>\r\n\t\t\t\tisDown === false && isClearedForOperation === true && mandatoryPositionsWithoutAttendant.length === 0,\r\n\t\t),\r\n\t);\r\n\r\n\toperatorIsSelected$ = this.locationStateStore.store.pipe(select((state) => !!state.operator));\r\n\trideOpsKeyIsSet$ = this.locationStateStore.store.pipe(select((state) => !!state.apiKey));\r\n\tlocationIsSet$ = this.locationStateStore.store.pipe(select((state) => !!state.location));\r\n\tcanLogout$ = this.locationStateStore.store.pipe(select((state) => !!state.operator && state.state != \"Open\"));\r\n\toperators$ = this.locationStateStore.store.pipe(select((state) => state.operators));\r\n\tdowntime$ = this.locationStateStore.store.pipe(select((state) => state.downtime));\r\n\r\n\trequiredCompetencies$ = this.locationStateStore.store.pipe(select((state) => state.requiredCompetencies));\r\n\trequiredCompetenciesForAttendants$ = this.locationStateStore.store.pipe(\r\n\t\tselect((state) => state.requiredCompetenciesForAttendants),\r\n\t);\r\n\r\n\tnoteTypes$ = this.locationStateStore.store.pipe(select((state) => state.noteTypes));\r\n\tnoteTemplates$ = this.locationStateStore.store.pipe(select((state) => state.noteTemplates));\r\n\tdowntimeTemplates$ = this.locationStateStore.store.pipe(select((state) => state.downtimeTemplates));\r\n\r\n\tlastQueueTimeUpdate$ = this.locationStateStore.store.pipe(select((state) => state.lastQueueUpdate));\r\n\tlastRidersUpdate$ = this.locationStateStore.store.pipe(select((state) => state.lastRidersUpdate));\r\n\r\n\tlastServerUpdate$ = this.locationStateStore.store.pipe(select((state) => state.lastServerUpdate));\r\n\tlastUpdateFailed$ = this.locationStateStore.store.pipe(select((state) => state.lastUpdateFailed));\r\n\r\n\triders$ = this.locationStateStore.store.pipe(select((state) => state.riders));\r\n\tdispatches$ = this.locationStateStore.store.pipe(select((state) => state.dispatches));\r\n\r\n\toperator$ = this.locationStateStore.store.pipe(select((state) => state.operator));\r\n\tattendants$ = this.locationStateStore.store.pipe(select((state) => state.rideOpsSettings.attendants));\r\n\r\n\tpositions$ = this.locationStateStore.store.pipe(select((state) => state.rideOpsSettings.positions || []));\r\n\tallowStatisticsForOperator$ = this.locationStateStore.store.pipe(\r\n\t\tselect((state) => state.rideOpsSettings.allowStatisticsForOperator),\r\n\t);\r\n\trideOpsSettings$ = this.locationStateStore.store.pipe(select((state) => state.rideOpsSettings));\r\n\r\n\tdispatchUpdateWarningThreshold$ = this.locationStateStore.store.pipe(\r\n\t\tselect((state) => state.rideOpsSettings.dispatchUpdateWarningThreshold),\r\n\t);\r\n\r\n\tminumumSecondsBetweenDispatches$ = this.locationStateStore.store.pipe(\r\n\t\tselect((state) => state.rideOpsSettings.minumumSecondsBetweenDispatches),\r\n\t);\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { AlertController } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class AlertService {\r\n\tconstructor(\r\n\t\tprivate alertController: AlertController,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t) {}\r\n\r\n\tshowWarningNotClearedForOperation = async () => {\r\n\t\tconst notReadyAlert = await this.alertController.create({\r\n\t\t\theader: this.translocoService.translate(\"NOT_READY_WARNING_ON_OPEN_ALERT__TITLE\"),\r\n\t\t\tmessage: this.translocoService.translate(\"NOT_READY_WARNING_ON_OPEN_ALERT__MESSAGE\"),\r\n\t\t\tbuttons: [\r\n\t\t\t\t{\r\n\t\t\t\t\ttext: this.translocoService.translate(\"NOT_READY_WARNING_ON_OPEN_ALERT__CANCEL\"),\r\n\t\t\t\t\trole: \"cancel\",\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t});\r\n\r\n\t\tawait notReadyAlert.present();\r\n\t};\r\n\r\n\talertNoLongerClearedForOperation = async () => {\r\n\t\tconst alert = await this.alertController.create({\r\n\t\t\theader: this.translocoService.translate(\"LOCATION_NOT_READY_FOR_OPERATION_ALERT__TITLE\"),\r\n\t\t\tmessage: this.translocoService.translate(\"LOCATION_NOT_READY_FOR_OPERATION_ALERT__MESSAGE\"),\r\n\t\t\tbackdropDismiss: false,\r\n\t\t\tbuttons: [this.translocoService.translate(\"LOCATION_NOT_READY_FOR_OPERATION_ALERT__OK\")],\r\n\t\t});\r\n\r\n\t\tawait alert.present();\r\n\t};\r\n\r\n\talertLocationNoLongerOpen = async () => {\r\n\t\tconst alert = await this.alertController.create({\r\n\t\t\theader: this.translocoService.translate(\"LOCATION_IS_NOT_OPEN_ALERT__TITLE\"),\r\n\t\t\tmessage: this.translocoService.translate(\"LOCATION_IS_NOT_OPEN_ALERT__MESSAGE\"),\r\n\t\t\tbackdropDismiss: false,\r\n\t\t\tbuttons: [this.translocoService.translate(\"LOCATION_IS_NOT_OPEN_ALERT__OK\")],\r\n\t\t});\r\n\r\n\t\tawait alert.present();\r\n\t};\r\n\r\n\tshowErrorWhileClosingLocationAlert = async () => {\r\n\t\tconst alert = await this.alertController.create({\r\n\t\t\tmessage: this.translocoService.translate(\"CLOSE_LOCATION__ERROR_MESSAGE\"),\r\n\t\t\tbuttons: [this.translocoService.translate(\"CLOSE_LOCATION__OK\")],\r\n\t\t\tbackdropDismiss: true,\r\n\t\t});\r\n\r\n\t\tawait alert.present();\r\n\t};\r\n\r\n\tshowErrorWhileOpeningLocationAlert = async () => {\r\n\t\tconst alert = await this.alertController.create({\r\n\t\t\tmessage: this.translocoService.translate(\"OPEN_LOCATION_ERROR_MESSAGE\"),\r\n\t\t\tbuttons: [this.translocoService.translate(\"OPERATOR_LOGIN__OK\")],\r\n\t\t\tbackdropDismiss: true,\r\n\t\t});\r\n\r\n\t\tawait alert.present();\r\n\t};\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { LocationStateStore, RideOpsSettings } from \"./location-state.store\";\r\nimport {\r\n\tDowntime,\r\n\tIsClearedForOperationDetails,\r\n\tLastQueueTimeUpdate,\r\n\tLastRidersUpdate,\r\n\tNoteTemplateReference,\r\n\tNoteTypeReference,\r\n\tRidePosition,\r\n\tLocation,\r\n\tLocationState,\r\n} from \"./location-state.store\";\r\nimport { NavController } from \"@ionic/angular\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\nimport { BehaviorSubject, combineLatest, filter, from, switchMap } from \"rxjs\";\r\nimport { HttpClient, HttpErrorResponse } from \"@angular/common/http\";\r\nimport { EnvironmentQuery } from \"./environment.query\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { LanguageService } from \"../services/language.service\";\r\nimport { AlertService } from \"../services/alert.service\";\r\nimport { IdleService } from \"../services/idle.service\";\r\nimport { Router } from \"@angular/router\";\r\nimport { select } from \"@ngneat/elf\";\r\nimport { retryBackoff } from \"backoff-rxjs\";\r\nimport { ApiService } from \"../services/api.service\";\r\nimport { RaygunService } from \"../services/raygun.service\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class LocationStateService {\r\n\tconstructor(\r\n\t\tprivate locationStateStore: LocationStateStore,\r\n\t\tprivate navController: NavController,\r\n\t\tprivate http: HttpClient,\r\n\t\tprivate environmentQuery: EnvironmentQuery,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t\tprivate apiService: ApiService,\r\n\t\tprivate languageService: LanguageService,\r\n\t\tprivate raygunService: RaygunService,\r\n\t\tprivate alertService: AlertService,\r\n\t\tprivate idleService: IdleService,\r\n\t\tprivate router: Router,\r\n\t) {\r\n\t\tthis.listenForLanguageChanges();\r\n\t}\r\n\r\n\tprivate isActivated = false;\r\n\r\n\tprivate ttlConfig = 120000;\r\n\tprivate cached$ = new BehaviorSubject(false);\r\n\tprivate cacheTimer: ReturnType;\r\n\r\n\tresetCache = () => {\r\n\t\tclearTimeout(this.cacheTimer);\r\n\t\tthis.cached$.next(false);\r\n\t};\r\n\r\n\tprivate setCached = () => {\r\n\t\tthis.cached$.next(true);\r\n\t\tthis.cacheTimer = setTimeout(() => {\r\n\t\t\tthis.resetCache();\r\n\t\t}, this.ttlConfig);\r\n\t};\r\n\r\n\topenLocation = async () => {\r\n\t\ttry {\r\n\t\t\tawait this.apiService.open();\r\n\t\t\tthis.locationStateStore.store.update((state) => ({ ...state, state: \"Open\", downtime: null }));\r\n\t\t\tawait this.navController.navigateRoot(\"dashboard\");\r\n\t\t} catch {\r\n\t\t\tthis.alertService.showErrorWhileOpeningLocationAlert();\r\n\t\t}\r\n\t};\r\n\r\n\tcloseLocation = async (dispatches: number, riders: number) => {\r\n\t\ttry {\r\n\t\t\tawait this.apiService.close(dispatches, riders);\r\n\t\t\tthis.locationStateStore.store.update((state) => ({\r\n\t\t\t\t...state,\r\n\t\t\t\tstate: \"Closed\",\r\n\t\t\t\triders: 0,\r\n\t\t\t\tdispatches: 0,\r\n\t\t\t\trideOpsSettings: {\r\n\t\t\t\t\t...state.rideOpsSettings,\r\n\t\t\t\t\tpositions: this.removeAllAttendantsOnPosistions(state.rideOpsSettings.positions),\r\n\t\t\t\t},\r\n\t\t\t}));\r\n\t\t} catch {\r\n\t\t\tthis.alertService.showErrorWhileClosingLocationAlert();\r\n\t\t}\r\n\t};\r\n\r\n\tsetLocationAsdown = (description: string) => {\r\n\t\tthis.locationStateStore.store.update((state) => ({\r\n\t\t\t...state,\r\n\t\t\tstate: \"Closed\",\r\n\t\t\tdowntime: {\r\n\t\t\t\tdescription: description,\r\n\t\t\t\tupdated: new Date().toISOString(),\r\n\t\t\t\tstate: state.createdDowntimesAreBlocking ? \"Blocking\" : \"Open\",\r\n\t\t\t\tid: uuidv4(),\r\n\t\t\t},\r\n\t\t\t// when the location is down we remove attendants\r\n\t\t\trideOpsSettings: {\r\n\t\t\t\t...state.rideOpsSettings,\r\n\t\t\t\tpositions: this.removeAllAttendantsOnPosistions(state.rideOpsSettings.positions),\r\n\t\t\t},\r\n\t\t}));\r\n\t};\r\n\r\n\tprivate removeAllAttendantsOnPosistions = (positions: RidePosition[]): RidePosition[] => {\r\n\t\treturn positions.map((posistion) => { ...posistion, attendant: null });\r\n\t};\r\n\r\n\tsetRideOpsKey = (key: string): void => {\r\n\t\tif (key?.length <= 0) {\r\n\t\t\tconsole.warn(\"Attempted to set rideops key that was null or empty.\");\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.locationStateStore.store.update((state) => ({ ...state, apiKey: key }));\r\n\t};\r\n\r\n\tsetLocation = (location: Location) => {\r\n\t\tthis.locationStateStore.store.update((state) => ({ ...state, location: location }));\r\n\t\tthis.resetCache();\r\n\t};\r\n\r\n\tsetCurrentOperator = (operator: Operator): void => {\r\n\t\tconst loggedIn = new Date().toISOString();\r\n\t\tthis.locationStateStore.store.update((state) => ({ ...state, operator: { ...operator, loggedIn } }));\r\n\t};\r\n\r\n\tsetAttendantOnPosition = (attendant: Attendant, position: RidePosition) => {\r\n\t\tconst newRidePosition: RidePosition = {\r\n\t\t\t...position,\r\n\t\t\tattendant: {\r\n\t\t\t\tuser: {\r\n\t\t\t\t\tid: attendant.id,\r\n\t\t\t\t\tname: attendant.name,\r\n\t\t\t\t\tprofileImage: attendant.profileImage,\r\n\t\t\t\t},\r\n\t\t\t\tloggedIn: new Date().toISOString(),\r\n\t\t\t},\r\n\t\t};\r\n\r\n\t\tthis.locationStateStore.store.update((state) => ({\r\n\t\t\t...state,\r\n\t\t\trideOpsSettings: {\r\n\t\t\t\t...state.rideOpsSettings,\r\n\t\t\t\tpositions: state.rideOpsSettings.positions.map((x) =>\r\n\t\t\t\t\tx.identifier === position.identifier ? newRidePosition : x,\r\n\t\t\t\t),\r\n\t\t\t},\r\n\t\t}));\r\n\t};\r\n\r\n\tremoveAttendantOnPosition = (position: RidePosition) => {\r\n\t\tconst newRidePosition: RidePosition = {\r\n\t\t\t...position,\r\n\t\t\tattendant: null,\r\n\t\t};\r\n\r\n\t\tthis.locationStateStore.store.update((state) => ({\r\n\t\t\t...state,\r\n\t\t\trideOpsSettings: {\r\n\t\t\t\t...state.rideOpsSettings,\r\n\t\t\t\tpositions: state.rideOpsSettings.positions.map((x) =>\r\n\t\t\t\t\tx.identifier === position.identifier ? newRidePosition : x,\r\n\t\t\t\t),\r\n\t\t\t},\r\n\t\t}));\r\n\t};\r\n\r\n\tsetPinForOperator = (pin: string): void => {\r\n\t\tthis.locationStateStore.store.update((state) => ({\r\n\t\t\t...state,\r\n\t\t\toperator: { ...state.operator, pin: pin, pinCodeUsed: true },\r\n\t\t}));\r\n\t};\r\n\r\n\tclearOperator = async (skipNavigate = false) => {\r\n\t\tthis.locationStateStore.store.update((state) => ({\r\n\t\t\t...state,\r\n\t\t\toperator: undefined,\r\n\t\t\trideOpsSettings: {\r\n\t\t\t\t...state.rideOpsSettings,\r\n\t\t\t\tpositions: this.removeAllAttendantsOnPosistions(state.rideOpsSettings.positions),\r\n\t\t\t},\r\n\t\t}));\r\n\r\n\t\tif (skipNavigate === true) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\treturn await this.navController.navigateRoot(\"operators\");\r\n\t};\r\n\r\n\tupdateDispatchesAndRiders = (lastUpdated: Date, riders: number, dispatches = 1): void => {\r\n\t\tthis.locationStateStore.store.update((state) => ({\r\n\t\t\t...state,\r\n\t\t\tlastRidersUpdate: {\r\n\t\t\t\tlastUpdated: lastUpdated,\r\n\t\t\t\triders: riders,\r\n\t\t\t},\r\n\t\t\triders: state.riders + riders,\r\n\t\t\tdispatches: state.dispatches + dispatches,\r\n\t\t}));\r\n\t};\r\n\r\n\tupdateQueueTime = (lastUpdated: Date, queueTime: number): void => {\r\n\t\tthis.locationStateStore.store.update((state) => ({\r\n\t\t\t...state,\r\n\t\t\tlastQueueUpdate: {\r\n\t\t\t\tlastUpdated: lastUpdated,\r\n\t\t\t\ttime: queueTime,\r\n\t\t\t},\r\n\t\t}));\r\n\t};\r\n\r\n\tsetRideOpsState = (\r\n\t\tlastQueueTimeUpdate: LastQueueTimeUpdate,\r\n\t\tlastRidersUpdate: LastRidersUpdate,\r\n\t\triders: number,\r\n\t\tdispatches: number,\r\n\t): void => {\r\n\t\tthis.locationStateStore.store.update((state) => ({\r\n\t\t\t...state,\r\n\t\t\tlastQueueUpdate: lastQueueTimeUpdate,\r\n\t\t\tlastRidersUpdate: lastRidersUpdate,\r\n\t\t\triders: riders,\r\n\t\t\tdispatches: dispatches,\r\n\t\t}));\r\n\t};\r\n\r\n\tresetRideOpsState = (): void => {\r\n\t\tthis.locationStateStore.store.update((state) => ({\r\n\t\t\t...state,\r\n\t\t\tlastQueueUpdate: undefined,\r\n\t\t\tlastRidersUpdate: undefined,\r\n\t\t\triders: 0,\r\n\t\t\tdispatches: 0,\r\n\t\t}));\r\n\t};\r\n\r\n\tprivate listenForLanguageChanges = () => {\r\n\t\tthis.locationStateStore.store\r\n\t\t\t.pipe(select((state) => ({ operator: state.operator, language: state.language })))\r\n\t\t\t.subscribe((languageAndOperator) => {\r\n\t\t\t\tconst availableLanguages = this.languageService.getAvailableLangs().map((x) => x.id);\r\n\r\n\t\t\t\tif (availableLanguages.includes(languageAndOperator.operator?.language)) {\r\n\t\t\t\t\tthis.translocoService.setActiveLang(languageAndOperator.operator.language);\r\n\t\t\t\t} else if (availableLanguages.includes(languageAndOperator.language)) {\r\n\t\t\t\t\tthis.translocoService.setActiveLang(languageAndOperator.language);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.translocoService.setActiveLang(\"en\");\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t};\r\n\r\n\tpublic getLocationStatus = async (location: string) => {\r\n\t\tconst environment = await this.environmentQuery.environment$.firstAsync();\r\n\t\tconst endpoint = environment.api.url + \"api/rideops/location-status\";\r\n\t\tconst response = await this.http\r\n\t\t\t.get>(endpoint, { params: { location: location } })\r\n\t\t\t.firstAsync();\r\n\r\n\t\treturn response.data;\r\n\t};\r\n\r\n\tpublic updateLocationStatus = async (location: string) => {\r\n\t\tconst environment = await this.environmentQuery.environment$.firstAsync();\r\n\t\tconst endpoint = environment.api.url + \"api/rideops/location-status\";\r\n\r\n\t\ttry {\r\n\t\t\tconst response = await this.http\r\n\t\t\t\t.get>(endpoint, {\r\n\t\t\t\t\tparams: { location: location },\r\n\t\t\t\t})\r\n\t\t\t\t.firstAsync();\r\n\r\n\t\t\tthis.setCached();\r\n\r\n\t\t\tthis.locationStateStore.store.update((state) => {\r\n\t\t\t\t// We do some state change checks here if its the same locations\r\n\t\t\t\tif (state.location?.id == location) {\r\n\t\t\t\t\tif (state.state == \"Open\" && response.data.state != \"Open\" && this.router.url == \"/dashboard\") {\r\n\t\t\t\t\t\tthis.alertService.alertLocationNoLongerOpen();\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (\r\n\t\t\t\t\t\tstate.isClearedForOperationDetails.isClearedForOperation &&\r\n\t\t\t\t\t\t!response.data.isClearedForOperationDetails.isClearedForOperation &&\r\n\t\t\t\t\t\tthis.router.url == \"/dashboard\"\r\n\t\t\t\t\t) {\r\n\t\t\t\t\t\tthis.alertService.alertNoLongerClearedForOperation();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn {\r\n\t\t\t\t\t...state,\r\n\t\t\t\t\t...response.data,\r\n\t\t\t\t\tlastServerUpdate: new Date().toISOString(),\r\n\t\t\t\t\tlastUpdateFailed: false,\r\n\t\t\t\t\tlocation: {\r\n\t\t\t\t\t\tid: response.data.id,\r\n\t\t\t\t\t\tname: response.data.name,\r\n\t\t\t\t\t\tlanguage: response.data.language,\r\n\t\t\t\t\t\tscannerCode: response.data.scannerCode,\r\n\t\t\t\t\t},\r\n\t\t\t\t};\r\n\t\t\t});\r\n\t\t} catch (error: unknown) {\r\n\t\t\tthis.locationStateStore.store.update((state) => ({ ...state, lastUpdateFailed: true }));\r\n\r\n\t\t\t//we dont want to log connection errors\r\n\t\t\tif (error instanceof HttpErrorResponse && (error.status === 0 || error.status === 504)) {\r\n\t\t\t\tthrow error;\r\n\t\t\t}\r\n\r\n\t\t\tif (error instanceof Error) {\r\n\t\t\t\tthis.raygunService.send(error, {});\r\n\t\t\t} else {\r\n\t\t\t\tthis.raygunService.send(new Error(\"An unknown error occured during updateLocationStatus.\"), {\r\n\t\t\t\t\terror: error,\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\tthrow error;\r\n\t\t}\r\n\t};\r\n\r\n\tsetSnapshot = (snapshot: LocationState) => {\r\n\t\tthis.locationStateStore.store.update((state) => ({ ...state, ...snapshot }));\r\n\t};\r\n\r\n\tactivate() {\r\n\t\tif (this.isActivated) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.isActivated = true;\r\n\r\n\t\tcombineLatest([\r\n\t\t\tthis.cached$,\r\n\t\t\tthis.locationStateStore.store.pipe(select((state) => state.location)),\r\n\t\t\tthis.idleService.isInactive$,\r\n\t\t])\r\n\t\t\t.pipe(\r\n\t\t\t\tfilter(\r\n\t\t\t\t\t([isCached, location, isInactive]) => isCached == false && isInactive == false && location != null,\r\n\t\t\t\t),\r\n\t\t\t\tswitchMap(([_, location]) => from(this.updateLocationStatus(location.id))),\r\n\t\t\t\tretryBackoff({\r\n\t\t\t\t\tinitialInterval: 100,\r\n\t\t\t\t\tmaxInterval: 60000,\r\n\t\t\t\t\tresetOnSuccess: true,\r\n\t\t\t\t}),\r\n\t\t\t)\r\n\t\t\t.subscribe();\r\n\t}\r\n}\r\n\r\ninterface ServerStateResponse {\r\n\tcreatedDowntimesAreBlocking: boolean;\r\n\tdowntime: Downtime;\r\n\tstate: \"Open\" | \"Closed\";\r\n\tstateLastUpdated: Date;\r\n\toperators: Operator[];\r\n\trequiredCompetencies: DocumentReference[];\r\n\tpreopeningChecklist: string;\r\n\trideOpsSettings: RideOpsSettingsWithDeviceSettings;\r\n\tlocations: Location[];\r\n\tlocationProperties?: string[];\r\n\tunitsAvailable: number;\r\n\tunitCapacity: number;\r\n\tlanguage: string;\r\n\tisClearedForOperation: boolean;\r\n\tisClearedForOperationDetails: IsClearedForOperationDetails;\r\n\tnoteTypes: NoteTypeReference[];\r\n\tnoteTemplates: NoteTemplateReference[];\r\n\tid: string;\r\n\tname: string;\r\n\tscannerCode: string;\r\n}\r\n\r\nexport interface RideOpsSettingsWithDeviceSettings extends RideOpsSettings {\r\n\tdeviceSettings: UIDeviceSettings;\r\n}\r\n\r\nexport interface UIDeviceSettings {\r\n\tallowChangingDispatchesWhenClosingLocation: boolean;\r\n\tallowChangingRidersWhenClosingLocation: boolean;\r\n\tshowQueueTimeWidget: boolean;\r\n\tshowDispatchWidget: boolean;\r\n\tmaximumRidersPerDispatch: number;\r\n\tdispatchWidgetType: \"selector\" | \"grid\";\r\n\tdispatchGridNumberDirection: \"ascending\" | \"descending\";\r\n\tdispatchMetric: \"emptySeats\" | \"occupiedSeats\";\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { createStore, withProps } from \"@ngneat/elf\";\r\nimport { localStorageStrategy, persistState } from \"@ngneat/elf-persist-state\";\r\nimport { elfMigration } from \"./elf-migration\";\r\nimport { debounceTime } from \"rxjs\";\r\nimport { RideOpsSettingsWithDeviceSettings } from \"./location-state.service\";\r\n\r\nconst locationStateStore = createStore(\r\n\t{ name: \"location-state\" },\r\n\twithProps({\r\n\t\tstate: \"Closed\",\r\n\t\tcreatedDowntimesAreBlocking: undefined,\r\n\t\tdowntime: undefined,\r\n\t\tapiKey: undefined,\r\n\t\tlocation: undefined,\r\n\t\toperator: undefined,\r\n\t\tisClearedForOperationDetails: {\r\n\t\t\tpreopeningChecklists: [],\r\n\t\t\tchecklists: [],\r\n\t\t\tassignments: [],\r\n\t\t\tisClearedForPreopening: false,\r\n\t\t\tisClearedForOperation: false,\r\n\t\t\thasBlockingDowntime: false,\r\n\t\t},\r\n\t\tlocationProperties: [],\r\n\t\toperators: [],\r\n\t\trideOpsSettings: {\r\n\t\t\tdispatchUnitCapacity: 1,\r\n\t\t\tdispatchUnits: 1,\r\n\t\t\tallowStatisticsForOperator: false,\r\n\t\t\tdispatchUpdateWarningThreshold: 15,\r\n\t\t\tqueueTimeUpdateWarningThreshold: 15,\r\n\t\t\tmaximumQueueTimeMinutes: 60,\r\n\t\t\tqueueTimeStepSizeMinutes: 5,\r\n\t\t\tlockDeviceSettings: false,\r\n\t\t\tminumumSecondsBetweenDispatches: 0,\r\n\t\t\tmessageForOperatorWhenNotReadyForOperation: \"\",\r\n\t\t\tmessageForOperatorWhenNoCriticalForOperationChecklistsPlanned: \"\",\r\n\t\t\tpositions: [],\r\n\t\t\tattendants: [],\r\n\t\t\tdeviceSettings: {\r\n\t\t\t\tallowChangingDispatchesWhenClosingLocation: true,\r\n\t\t\t\tallowChangingRidersWhenClosingLocation: true,\r\n\t\t\t\tshowQueueTimeWidget: true,\r\n\t\t\t\tshowDispatchWidget: true,\r\n\t\t\t\tmaximumRidersPerDispatch: 900,\r\n\t\t\t\tdispatchWidgetType: \"selector\",\r\n\t\t\t\tdispatchGridNumberDirection: \"ascending\",\r\n\t\t\t\tdispatchMetric: \"occupiedSeats\",\r\n\t\t\t},\r\n\t\t},\r\n\t\trequiredCompetencies: [],\r\n\t\trequiredCompetenciesForAttendants: [],\r\n\t\tpreopeningChecklist: undefined,\r\n\t\tclosingChecklist: undefined,\r\n\t\tnoteTypes: [],\r\n\t\tnoteTemplates: [],\r\n\t\tdowntimeTemplates: [],\r\n\t\tlastServerUpdate: null,\r\n\t\tlastUpdateFailed: false,\r\n\t\tlastQueueUpdate: undefined,\r\n\t\tlastRidersUpdate: undefined,\r\n\t\triders: 0,\r\n\t\tdispatches: 0,\r\n\t}),\r\n);\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class LocationStateStore {\r\n\tconstructor() {\r\n\t\t// Elf Migration from Akita to Elf is done here, because LocationStateStore is constructed very early\r\n\t\t// I wanted to do this in the App Initializer, but this is constructed even before.\r\n\t\t// Migrating here, makes sure data is ready in localStorage, before persistState tries to load it\r\n\t\telfMigration();\r\n\t\tpersistState(locationStateStore, {\r\n\t\t\tstorage: localStorageStrategy,\r\n\t\t\tsource: () => locationStateStore.pipe(debounceTime(1000)),\r\n\t\t});\r\n\t}\r\n\r\n\tpublic store = locationStateStore;\r\n\r\n\treset = () => {\r\n\t\tlocationStateStore.reset();\r\n\t};\r\n}\r\n\r\nexport interface LocationState {\r\n\tstate: \"Open\" | \"Closed\";\r\n\tcreatedDowntimesAreBlocking: boolean;\r\n\tdowntime: Downtime;\r\n\tapiKey: string | null;\r\n\tlocation?: Location;\r\n\toperator: CurrentOperator;\r\n\toperators: Operator[];\r\n\trideOpsSettings: RideOpsSettingsWithDeviceSettings;\r\n\trequiredCompetencies: DocumentReference[];\r\n\trequiredCompetenciesForAttendants: DocumentReference[];\r\n\tpreopeningChecklist: string;\r\n\tclosingChecklist: string;\r\n\tisClearedForOperationDetails: IsClearedForOperationDetails;\r\n\tlocationProperties: string[];\r\n\tlanguage?: string;\r\n\tnoteTypes: NoteTypeReference[];\r\n\tnoteTemplates: NoteTemplateReference[];\r\n\tdowntimeTemplates: DowntimeTemplateReference[];\r\n\tlastServerUpdate: string;\r\n\tlastUpdateFailed: boolean;\r\n\tlastQueueUpdate: LastQueueTimeUpdate;\r\n\tlastRidersUpdate: LastRidersUpdate;\r\n\triders: number;\r\n\tdispatches: number;\r\n}\r\n\r\nexport interface IsClearedForOperationDetails {\r\n\tisClearedForPreopening: boolean;\r\n\tisClearedForOperation: boolean;\r\n\thasBlockingDowntime: boolean;\r\n\r\n\tassignments: {\r\n\t\tid: string;\r\n\t\tname: string;\r\n\t\tdescription: string;\r\n\t\tassignees: DocumentReference[];\r\n\t\tcreated: string;\r\n\t}[];\r\n\r\n\tchecklists: {\r\n\t\tid: string;\r\n\t\tname: string;\r\n\t\tasset?: string;\r\n\t\tdue?: string;\r\n\t\tend: string;\r\n\t}[];\r\n\r\n\tpreopeningChecklists: PreopeningChecklist[];\r\n}\r\n\r\nexport interface PreopeningChecklist {\r\n\tid: string;\r\n\tname: string;\r\n\trequiresApproval: boolean;\r\n\r\n\tcompleted: string;\r\n\tapproved: string;\r\n\texpires: string;\r\n\r\n\tisCleared: boolean;\r\n}\r\n\r\nexport interface RidePosition {\r\n\tidentifier: number;\r\n\tname: string;\r\n\tmandatory: boolean;\r\n\tdescription: string;\r\n\trequiredCompetencies: DocumentReference[];\r\n\tattendant?: RidePositionAttendant;\r\n}\r\n\r\nexport interface RidePositionAttendant {\r\n\tloggedIn: string;\r\n\tuser: {\r\n\t\tid: string;\r\n\t\tname: string;\r\n\t\tprofileImage: string;\r\n\t};\r\n}\r\n\r\nexport interface LastRidersUpdate {\r\n\triders: number;\r\n\tlastUpdated: Date | string;\r\n}\r\n\r\nexport interface LastQueueTimeUpdate {\r\n\ttime: number;\r\n\tlastUpdated: Date | string;\r\n}\r\n\r\nexport interface Downtime {\r\n\tdescription: string;\r\n\tid: string;\r\n\tstate: \"Open\" | \"Blocking\";\r\n\tupdated: string;\r\n}\r\n\r\nexport interface NoteTypeReference extends DocumentReference {\r\n\tisDefault: boolean;\r\n\tisDeleted: boolean;\r\n}\r\n\r\nexport interface NoteTemplateReference extends DocumentReference {\r\n\tcolor: string;\r\n\tnoteType: string;\r\n\tdescription: string;\r\n\tname: string;\r\n}\r\n\r\nexport interface DowntimeTemplateReference extends DocumentReference {\r\n\tdescription: string;\r\n\tcolor: string;\r\n\tcategories: string[];\r\n}\r\n\r\nexport interface Location extends DocumentReference {\r\n\tlanguage: string;\r\n\toperators?: string[];\r\n\tscannerCode?: string;\r\n}\r\n\r\nexport interface RideOpsSettings {\r\n\tdispatchUnitCapacity: number;\r\n\tdispatchUnits: number;\r\n\tallowStatisticsForOperator: boolean;\r\n\tdispatchUpdateWarningThreshold: number;\r\n\tqueueTimeUpdateWarningThreshold: number;\r\n\tmaximumQueueTimeMinutes: number;\r\n\tqueueTimeStepSizeMinutes: number;\r\n\tlockDeviceSettings: boolean;\r\n\tminumumSecondsBetweenDispatches: number;\r\n\tmessageForOperatorWhenNotReadyForOperation: string;\r\n\tmessageForOperatorWhenNoCriticalForOperationChecklistsPlanned: string;\r\n\tpositions: RidePosition[];\r\n\tattendants: Operator[];\r\n}\r\n","import { ChecklistProgressState } from \"source/app/features/checklists/state/checklist-progress-state.store\";\r\nimport { LocationState } from \"./location-state.store\";\r\nimport { ChecklistState } from \"source/app/features/checklists/state/checklist-state.store\";\r\nimport { UiState } from \"./ui.store\";\r\n\r\nexport function elfMigration() {\r\n\tconst akitaStores = localStorage.getItem(\"AkitaStores\");\r\n\r\n\tif (akitaStores) {\r\n\t\t// load stores\r\n\t\tconst akitaData: AkitaData = JSON.parse(akitaStores);\r\n\r\n\t\t// fill stores\r\n\t\tif (akitaData.checklist != null) {\r\n\t\t\tlocalStorage.setItem(\"checklist-state@store\", JSON.stringify(akitaData.checklist));\r\n\t\t}\r\n\t\tif (akitaData.checklistProgress != null) {\r\n\t\t\tlocalStorage.setItem(\"checklist-progress-state@store\", JSON.stringify(akitaData.checklistProgress));\r\n\t\t}\r\n\r\n\t\tlocalStorage.setItem(\"location-state@store\", JSON.stringify(akitaData.locationState));\r\n\t\tlocalStorage.setItem(\"ui@store\", JSON.stringify(akitaData.ui));\r\n\r\n\t\tif (akitaData.fileUploads != null) {\r\n\t\t\t// the entity stores have meta data, that we dont need in elf\r\n\t\t\tconst fileUploads: EntitiesStore = {\r\n\t\t\t\tids: akitaData.fileUploads.ids,\r\n\t\t\t\tentities: akitaData.fileUploads.entities,\r\n\t\t\t};\r\n\t\t\tlocalStorage.setItem(\"file-uploads@store\", JSON.stringify(fileUploads));\r\n\t\t}\r\n\r\n\t\tif (akitaData.fileTranslations != null) {\r\n\t\t\t// the entity stores have meta data, that we dont need in elf\r\n\t\t\tconst fileTranslations: EntitiesStore = {\r\n\t\t\t\tids: akitaData.fileTranslations.ids,\r\n\t\t\t\tentities: akitaData.fileTranslations.entities,\r\n\t\t\t};\r\n\t\t\tlocalStorage.setItem(\"file-translations@store\", JSON.stringify(fileTranslations));\r\n\t\t}\r\n\r\n\t\tif (akitaData.actions != null) {\r\n\t\t\t// the entity stores have meta data, that we dont need in elf\r\n\t\t\tconst actions: EntitiesStore = {\r\n\t\t\t\tids: akitaData.actions.ids,\r\n\t\t\t\tentities: akitaData.actions?.entities,\r\n\t\t\t};\r\n\t\t\tlocalStorage.setItem(\"actions@store\", JSON.stringify(actions));\r\n\t\t}\r\n\r\n\t\t// lets back it up\r\n\t\tlocalStorage.setItem(\"akita_backup\", akitaStores);\r\n\r\n\t\t// delete old data\r\n\t\tlocalStorage.removeItem(\"AkitaStores\");\r\n\t\tconsole.log(\"migration to elf done\");\r\n\t}\r\n}\r\n\r\ninterface AkitaData {\r\n\tchecklist: ChecklistState;\r\n\tchecklistProgress: ChecklistProgressState;\r\n\tfileTranslations: EntitiesStore;\r\n\tfileUploads: EntitiesStore;\r\n\tlocationState: LocationState;\r\n\tactions: EntitiesStore;\r\n\tui: UiState;\r\n}\r\n\r\ninterface EntitiesStore {\r\n\tentities: object;\r\n\tids: string[];\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { UIStore } from \"./ui.store\";\r\nimport { select } from \"@ngneat/elf\";\r\nimport { combineLatest, map } from \"rxjs\";\r\nimport { NumberGridConfiguration } from \"./ui.store\";\r\nimport { StatisticsMetric } from \"source/app/components/statistics/statistics.types\";\r\nimport { LocationStateQuery } from \"./location-state.query\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class UiQuery {\r\n\tconstructor(\r\n\t\tprivate uiStore: UIStore,\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t) {}\r\n\r\n\tgetSnapshot = () => {\r\n\t\treturn this.uiStore.store.getValue();\r\n\t};\r\n\r\n\twidgetOptions$ = this.uiStore.store.pipe(select((state) => state.widgetOptions));\r\n\tlocked$ = this.uiStore.store.pipe(select((state) => state.lockedSettings));\r\n\tseatsUnavailable$ = this.uiStore.store.pipe(select((state) => state.seatsUnavailable));\r\n\tcartsInUse$ = this.uiStore.store\r\n\t\t.pipe(select((state) => state.cartsInUse))\r\n\t\t.pipe(map((value) => (value <= 0 ? 1 : value)));\r\n\r\n\tmaximumCapacityPerDispatch$ = combineLatest([\r\n\t\tthis.locationStateQuery.rideOpsSettings$,\r\n\t\tthis.cartsInUse$,\r\n\t\tthis.seatsUnavailable$,\r\n\t]).pipe(\r\n\t\tmap(([settings, dispatchUnitsAvailable, seatsUnavailable]) => {\r\n\t\t\tlet capacityPerDispatch = settings.dispatchUnitCapacity;\r\n\r\n\t\t\tif (dispatchUnitsAvailable === 1) {\r\n\t\t\t\tcapacityPerDispatch -= seatsUnavailable;\r\n\t\t\t}\r\n\r\n\t\t\tif (capacityPerDispatch < 0) {\r\n\t\t\t\tcapacityPerDispatch = 0;\r\n\t\t\t}\r\n\r\n\t\t\treturn capacityPerDispatch;\r\n\t\t}),\r\n\t);\r\n\r\n\tallowChangingDispatchesWhenClosingLocation$ = this.uiStore.store.pipe(\r\n\t\tselect((state) => state.allowChangingDispatchesWhenClosingLocation),\r\n\t);\r\n\tallowChangingRidersWhenClosingLocation$ = this.uiStore.store.pipe(\r\n\t\tselect((state) => state.allowChangingRidersWhenClosingLocation),\r\n\t);\r\n\tdefaultCartsHasBeenSet$ = this.uiStore.store.pipe(select((state) => state.defaultCartsHasBeenSet));\r\n\tnumberGridConfiguration$ = this.uiStore.store.pipe(\r\n\t\tselect(\r\n\t\t\t(state) =>\r\n\t\t\t\tstate.widgetOptions.riders.numberGridConfiguration ||\r\n\t\t\t\t{\r\n\t\t\t\t\tamount: 100,\r\n\t\t\t\t\tamountConfigured: false,\r\n\t\t\t\t\tdirection: \"ascending\",\r\n\t\t\t\t},\r\n\t\t),\r\n\t);\r\n\tdashboardStatisticsMetric$ = this.uiStore.store\r\n\t\t.pipe(select((state) => state.dashboardStatisticsMetric))\r\n\t\t.pipe(map((value) => (value == undefined ? StatisticsMetric.None : value)));\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { UIStore } from \"./ui.store\";\r\nimport { StatisticsMetric } from \"source/app/components/statistics/statistics.types\";\r\nimport { NumberGridConfiguration, UiState } from \"./ui.store\";\r\nimport { UIDeviceSettings } from \"./location-state.service\";\r\nimport { LocationStateQuery } from \"./location-state.query\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class UiService {\r\n\tconstructor(\r\n\t\tprivate uiStore: UIStore,\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t) {\r\n\t\tthis.listenForLocationStateChanges();\r\n\t}\r\n\r\n\tsetSnapshot = (snapshot: UiState) => {\r\n\t\tthis.uiStore.store.update(() => snapshot);\r\n\t};\r\n\r\n\treset = () => {\r\n\t\tthis.uiStore.reset();\r\n\t};\r\n\r\n\tprivate listenForLocationStateChanges = () => {\r\n\t\tthis.locationStateQuery.rideOpsSettings$.subscribe((rideOpsSettings) => {\r\n\t\t\tif (rideOpsSettings.lockDeviceSettings) {\r\n\t\t\t\tthis.setLockedUI(rideOpsSettings.deviceSettings);\r\n\t\t\t} else {\r\n\t\t\t\tthis.setUnlockedUI();\r\n\t\t\t}\r\n\t\t\tthis.setDefaultCarts(rideOpsSettings.dispatchUnits);\r\n\t\t\tthis.setDefaultNumberGridAmount(rideOpsSettings.dispatchUnitCapacity);\r\n\t\t});\r\n\t};\r\n\r\n\tsetRidersVisible = (visible: boolean) => {\r\n\t\treturn this.uiStore.store.update((state) => ({\r\n\t\t\t...state,\r\n\t\t\twidgetOptions: {\r\n\t\t\t\t...state.widgetOptions,\r\n\t\t\t\triders: {\r\n\t\t\t\t\t...state.widgetOptions.riders,\r\n\t\t\t\t\tvisible: visible,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t}));\r\n\t};\r\n\r\n\tsetDashboardStatisticsMetric = (metric: StatisticsMetric) => {\r\n\t\treturn this.uiStore.store.update((state) => ({\r\n\t\t\t...state,\r\n\t\t\tdashboardStatisticsMetric: metric,\r\n\t\t}));\r\n\t};\r\n\r\n\tsetQueueTimeVisible = (visible: boolean) => {\r\n\t\treturn this.uiStore.store.update((state) => ({\r\n\t\t\t...state,\r\n\t\t\twidgetOptions: {\r\n\t\t\t\t...state.widgetOptions,\r\n\t\t\t\tqueueTime: { visible: visible },\r\n\t\t\t},\r\n\t\t}));\r\n\t};\r\n\r\n\tsetAllowChangingDispatchesWhenClosingLocation = (value: boolean) => {\r\n\t\treturn this.uiStore.store.update((state) => ({\r\n\t\t\t...state,\r\n\t\t\tallowChangingDispatchesWhenClosingLocation: value,\r\n\t\t}));\r\n\t};\r\n\r\n\tsetAllowChangingRidersWhenClosingLocation = (value: boolean) => {\r\n\t\treturn this.uiStore.store.update((state) => ({\r\n\t\t\t...state,\r\n\t\t\tallowChangingRidersWhenClosingLocation: value,\r\n\t\t}));\r\n\t};\r\n\r\n\tsetRidersMode = (mode: \"grid\" | \"selector\") => {\r\n\t\treturn this.uiStore.store.update((state) => ({\r\n\t\t\t...state,\r\n\t\t\twidgetOptions: {\r\n\t\t\t\t...state.widgetOptions,\r\n\t\t\t\triders: {\r\n\t\t\t\t\t...state.widgetOptions.riders,\r\n\t\t\t\t\tvisible: true,\r\n\t\t\t\t\tmode: mode,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t}));\r\n\t};\r\n\r\n\tsetRidersInputMetric = (metric: \"emptySeats\" | \"occupiedSeats\") => {\r\n\t\treturn this.uiStore.store.update((state) => ({\r\n\t\t\t...state,\r\n\t\t\twidgetOptions: {\r\n\t\t\t\t...state.widgetOptions,\r\n\t\t\t\triders: {\r\n\t\t\t\t\t...state.widgetOptions.riders,\r\n\t\t\t\t\tmetric: metric,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t}));\r\n\t};\r\n\r\n\tsetNumberGridConfiguration = (configuration: NumberGridConfiguration) => {\r\n\t\treturn this.uiStore.store.update((state) => ({\r\n\t\t\t...state,\r\n\t\t\twidgetOptions: {\r\n\t\t\t\t...state.widgetOptions,\r\n\t\t\t\triders: {\r\n\t\t\t\t\t...state.widgetOptions.riders,\r\n\t\t\t\t\tnumberGridConfiguration: configuration,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t}));\r\n\t};\r\n\r\n\tupdateSeatsUnavailable = async (seatsUnavailable: number): Promise => {\r\n\t\tconst rideOpsSettings = await this.locationStateQuery.rideOpsSettings$.firstAsync();\r\n\r\n\t\tthis.uiStore.store.update((state) => {\r\n\t\t\tconst totalCapacity = rideOpsSettings.dispatchUnitCapacity * state.cartsInUse;\r\n\r\n\t\t\treturn { ...state, seatsUnavailable: this.calculateSeatsUnavailable(totalCapacity, seatsUnavailable) };\r\n\t\t});\r\n\t};\r\n\r\n\tincreaseCartsInUse = async () => {\r\n\t\tconst rideOpsSettings = await this.locationStateQuery.rideOpsSettings$.firstAsync();\r\n\r\n\t\tthis.uiStore.store.update((state) => {\r\n\t\t\tconst cartsInUse = state.cartsInUse + 1;\r\n\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcartsInUse: cartsInUse,\r\n\t\t\t\tseatsUnavailable: this.calculateSeatsUnavailable(\r\n\t\t\t\t\trideOpsSettings.dispatchUnitCapacity * cartsInUse,\r\n\t\t\t\t\tstate.seatsUnavailable,\r\n\t\t\t\t),\r\n\t\t\t};\r\n\t\t});\r\n\t};\r\n\r\n\tdecreaseCartsInUse = async () => {\r\n\t\tconst rideOpsSettings = await this.locationStateQuery.rideOpsSettings$.firstAsync();\r\n\r\n\t\tthis.uiStore.store.update((state) => {\r\n\t\t\tconst cartsInUse = Math.max(state.cartsInUse - 1, 1);\r\n\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcartsInUse: cartsInUse,\r\n\t\t\t\tseatsUnavailable: this.calculateSeatsUnavailable(\r\n\t\t\t\t\trideOpsSettings.dispatchUnitCapacity * cartsInUse,\r\n\t\t\t\t\tstate.seatsUnavailable,\r\n\t\t\t\t),\r\n\t\t\t};\r\n\t\t});\r\n\t};\r\n\r\n\tsetDefaultCarts = async (carts: number) => {\r\n\t\tconst rideOpsSettings = await this.locationStateQuery.rideOpsSettings$.firstAsync();\r\n\r\n\t\tthis.uiStore.store.update((state) => {\r\n\t\t\tconst cartsInUse = state.defaultCartsHasBeenSet ? state.cartsInUse : carts;\r\n\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcartsInUse: cartsInUse,\r\n\t\t\t\tseatsUnavailable: this.calculateSeatsUnavailable(\r\n\t\t\t\t\trideOpsSettings.dispatchUnitCapacity * cartsInUse,\r\n\t\t\t\t\tstate.seatsUnavailable,\r\n\t\t\t\t),\r\n\t\t\t};\r\n\t\t});\r\n\t};\r\n\r\n\tprivate calculateSeatsUnavailable = (totalCapacity: number, seatsUnavailable: number): number => {\r\n\t\t// Value cant be higher than totalcapacity\r\n\t\t// value cant be lower than 0\r\n\t\tseatsUnavailable = Math.min(totalCapacity, seatsUnavailable);\r\n\t\tseatsUnavailable = Math.max(0, seatsUnavailable);\r\n\r\n\t\treturn seatsUnavailable;\r\n\t};\r\n\r\n\tsetLockedUI = (deviceSettings: UIDeviceSettings) => {\r\n\t\tthis.uiStore.store.update((state) => ({\r\n\t\t\t...state,\r\n\t\t\tlockedSettings: true,\r\n\r\n\t\t\tallowChangingDispatchesWhenClosingLocation: deviceSettings.allowChangingDispatchesWhenClosingLocation,\r\n\t\t\tallowChangingRidersWhenClosingLocation: deviceSettings.allowChangingRidersWhenClosingLocation,\r\n\r\n\t\t\twidgetOptions: {\r\n\t\t\t\t...state.widgetOptions,\r\n\t\t\t\tqueueTime: {\r\n\t\t\t\t\t...state.widgetOptions.queueTime,\r\n\t\t\t\t\tvisible: deviceSettings.showQueueTimeWidget,\r\n\t\t\t\t},\r\n\t\t\t\triders: {\r\n\t\t\t\t\t...state.widgetOptions.riders,\r\n\t\t\t\t\tvisible: deviceSettings.showDispatchWidget,\r\n\t\t\t\t\tmode: deviceSettings.dispatchWidgetType,\r\n\t\t\t\t\tnumberGridConfiguration: {\r\n\t\t\t\t\t\t...state.widgetOptions.riders.numberGridConfiguration,\r\n\t\t\t\t\t\tdirection: deviceSettings.dispatchGridNumberDirection,\r\n\t\t\t\t\t\tamount: deviceSettings.maximumRidersPerDispatch,\r\n\t\t\t\t\t\tamountConfigured: true,\r\n\t\t\t\t\t},\r\n\t\t\t\t\tmetric: deviceSettings.dispatchMetric,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t}));\r\n\t};\r\n\r\n\tsetUnlockedUI = () => {\r\n\t\tthis.uiStore.store.update((state) => ({ ...state, lockedSettings: false }));\r\n\t};\r\n\r\n\tsetDefaultNumberGridAmount = (amount: number) => {\r\n\t\tthis.uiStore.store.update((state) => {\r\n\t\t\tif (state.widgetOptions.riders.numberGridConfiguration.amountConfigured) {\r\n\t\t\t\treturn state;\r\n\t\t\t}\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\twidgetOptions: {\r\n\t\t\t\t\t...state.widgetOptions,\r\n\t\t\t\t\triders: {\r\n\t\t\t\t\t\t...state.widgetOptions.riders,\r\n\t\t\t\t\t\tnumberGridConfiguration: {\r\n\t\t\t\t\t\t\t...state.widgetOptions.riders.numberGridConfiguration,\r\n\t\t\t\t\t\t\tamount: amount,\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\t});\r\n\t};\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { createStore, withProps } from \"@ngneat/elf\";\r\nimport { StatisticsMetric } from \"source/app/components/statistics/statistics.types\";\r\nimport { localStorageStrategy, persistState } from \"@ngneat/elf-persist-state\";\r\nimport { debounceTime } from \"rxjs\";\r\n\r\nconst uiStore = createStore(\r\n\t{ name: \"ui\" },\r\n\twithProps({\r\n\t\tseatsUnavailable: 0,\r\n\t\tcartsInUse: 0,\r\n\t\tallowChangingDispatchesWhenClosingLocation: true,\r\n\t\tallowChangingRidersWhenClosingLocation: true,\r\n\t\tdefaultCartsHasBeenSet: false,\r\n\t\tlockedSettings: false,\r\n\t\tdashboardStatisticsMetric: StatisticsMetric.None,\r\n\t\twidgetOptions: {\r\n\t\t\triders: {\r\n\t\t\t\tvisible: true,\r\n\t\t\t\tmode: \"grid\",\r\n\t\t\t\tmetric: \"occupiedSeats\",\r\n\t\t\t\tnumberGridConfiguration: {\r\n\t\t\t\t\tamount: 100,\r\n\t\t\t\t\tdirection: \"ascending\",\r\n\t\t\t\t\tamountConfigured: false,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\tqueueTime: {\r\n\t\t\t\tvisible: true,\r\n\t\t\t},\r\n\t\t},\r\n\t}),\r\n);\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class UIStore {\r\n\tconstructor() {\r\n\t\tpersistState(uiStore, {\r\n\t\t\tstorage: localStorageStrategy,\r\n\t\t\tsource: () => uiStore.pipe(debounceTime(1000)),\r\n\t\t});\r\n\t}\r\n\r\n\tpublic store = uiStore;\r\n\r\n\treset = () => {\r\n\t\tuiStore.reset();\r\n\t};\r\n}\r\n\r\nexport interface UiState {\r\n\tseatsUnavailable: number;\r\n\tcartsInUse: number;\r\n\tallowChangingDispatchesWhenClosingLocation: boolean;\r\n\tallowChangingRidersWhenClosingLocation: boolean;\r\n\tdefaultCartsHasBeenSet: boolean;\r\n\tlockedSettings: boolean;\r\n\tdashboardStatisticsMetric: StatisticsMetric;\r\n\twidgetOptions: {\r\n\t\triders: RidersWidgetOptions;\r\n\t\tqueueTime: WidgetOptions;\r\n\t};\r\n}\r\n\r\nexport interface WidgetOptions {\r\n\tvisible: boolean;\r\n}\r\n\r\nexport interface RidersWidgetOptions extends WidgetOptions {\r\n\tmode?: \"selector\" | \"grid\";\r\n\tmetric?: \"emptySeats\" | \"occupiedSeats\";\r\n\tnumberGridConfiguration: NumberGridConfiguration;\r\n}\r\n\r\nexport interface NumberGridConfiguration {\r\n\tamount: number;\r\n\tamountConfigured: boolean;\r\n\tdirection: \"ascending\" | \"descending\";\r\n}\r\n","\r\n\t\r\n\t\t{{ \"ASSIGNEE_PICKER__TITLE\" | transloco }}\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\t\r\n\t\t\r\n\t\t\t

    \r\n\t\t\t\t{{ \"ASSIGNEE_PICKER__DESCRIPTION\" | transloco }}\r\n\t\t\t

    \r\n\t\t
    \r\n\t\t\r\n\r\n\t\t
    \r\n\t\t\t\r\n\t\t\t\t{{ assignee.name }}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t
    \r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t{{ \"ASSIGNEE_PICKER__USERS\" | transloco }}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t{{ \"ASSIGNEE_PICKER__USER_GROUPS\" | transloco }}\r\n\t\t\t\r\n\t\t\r\n\t
    \r\n
    \r\n\r\n\r\n\t\r\n\t\t{{ user.name }}\r\n\t\r\n\t\r\n\t\t\r\n\t\t\t{{ usergroup.name }}\r\n\t\t\r\n\t\r\n\r\n\r\n\t\r\n\t\t
    \r\n\t\t\t\r\n\t\t\t\t{{ \"ASSIGNMENT__BUTTON_CANCEL\" | transloco }}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t{{ \"ASSIGNMENT__BUTTON_SAVE\" | transloco }}\r\n\t\t\t\r\n\t\t
    \r\n\t
    \r\n
    \r\n","import { Component, Input, OnInit } from \"@angular/core\";\r\nimport { ModalController, SearchbarCustomEvent, SegmentCustomEvent } from \"@ionic/angular\";\r\n\r\n@Component({\r\n\tselector: \"app-assignee-modal\",\r\n\ttemplateUrl: \"./assignee-picker.modal.component.html\",\r\n\tstyleUrls: [\"./assignee-picker.modal.component.scss\"],\r\n})\r\nexport class AssigneePickerModalComponent implements OnInit {\r\n\tstatic modalId = \"assignee-picker-component\";\r\n\tstatic save = \"save\";\r\n\tstatic cancel = \"cancel\";\r\n\r\n\tconstructor(private modalController: ModalController) {}\r\n\r\n\t@Input() assignees: { id: string; name: string }[] = [];\r\n\t@Input() possibleAssignees: { id: string; name: string; information: string }[];\r\n\t@Input() singleSelect = false;\r\n\r\n\tsegmentChoice: \"users\" | \"usergroups\" = \"users\";\r\n\tsearchWord = \"\";\r\n\r\n\tusers: { id: string; name: string }[] = [];\r\n\tuserGroups: { id: string; name: string }[] = [];\r\n\r\n\tfilteredUsers: { id: string; name: string }[] = [];\r\n\tfilteredUserGroups: { id: string; name: string }[] = [];\r\n\r\n\tclose = () =>\r\n\t\tthis.modalController.dismiss([], AssigneePickerModalComponent.cancel, AssigneePickerModalComponent.modalId);\r\n\r\n\tsave = () => {\r\n\t\tconst assignees = this.assignees.map((x) => {\r\n\t\t\treturn { id: x.id, name: x.name };\r\n\t\t});\r\n\r\n\t\tthis.modalController.dismiss(\r\n\t\t\tassignees,\r\n\t\t\tAssigneePickerModalComponent.save,\r\n\t\t\tAssigneePickerModalComponent.modalId,\r\n\t\t);\r\n\t};\r\n\r\n\tselectAssignee = (assignee: { id: string; name: string }) => {\r\n\t\tconst assigneeInAssignees = this.assignees.find((x) => x.id === assignee.id);\r\n\t\tif (assigneeInAssignees || (this.singleSelect === true && this.assignees.length > 0)) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.assignees = [...this.assignees, assignee];\r\n\t};\r\n\r\n\tremoveAssignee = (assignee: { id: string; name: string }) => {\r\n\t\tthis.assignees = this.assignees.filter((x) => x.id !== assignee.id);\r\n\t};\r\n\r\n\tonSearchChange(event: SearchbarCustomEvent) {\r\n\t\tthis.searchWord = event.detail.value.toLocaleLowerCase();\r\n\r\n\t\tif (this.searchWord.trim() == \"\") {\r\n\t\t\tthis.filteredUsers = [...this.users];\r\n\t\t\tthis.filteredUserGroups = [...this.userGroups];\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.filteredUsers = this.users.filter((x) => x.name.toLocaleLowerCase().includes(this.searchWord));\r\n\t\tthis.filteredUserGroups = this.userGroups.filter((x) => x.name.toLocaleLowerCase().includes(this.searchWord));\r\n\t}\r\n\r\n\ttoggleChoice(event: SegmentCustomEvent) {\r\n\t\tthis.segmentChoice = event.detail.value as \"users\" | \"usergroups\";\r\n\t}\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.userGroups = this.possibleAssignees.filter((x) => x.id.startsWith(\"usergroups/\"));\r\n\t\tthis.users = this.possibleAssignees.filter((x) => x.id.startsWith(\"users/\"));\r\n\r\n\t\tthis.filteredUsers = [...this.users];\r\n\t\tthis.filteredUserGroups = [...this.userGroups];\r\n\t}\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { AssigneePickerModalComponent } from \"./assignee-picker.modal.component\";\r\nimport { ApiService } from \"source/app/configuration/services/api.service\";\r\nimport { AssignmentDefinition } from \"../../assignment.interface\";\r\n\r\n@Injectable()\r\nexport class AssigneePickerModalService {\r\n\tconstructor(\r\n\t\tprivate modalcontroller: ModalController,\r\n\t\tprivate apiService: ApiService,\r\n\t) {}\r\n\r\n\tcreate = async (assignees: { id: string; name: string }[], definition: AssignmentDefinition) => {\r\n\t\tconst possibleAssignees = await this.apiService.assignees(definition?.id);\r\n\r\n\t\treturn this.modalcontroller.create({\r\n\t\t\tid: AssigneePickerModalComponent.modalId,\r\n\t\t\tcomponent: AssigneePickerModalComponent,\r\n\t\t\tcssClass: \"assignee-picker-modal\",\r\n\t\t\tcomponentProps: {\r\n\t\t\t\tpossibleAssignees,\r\n\t\t\t\tassignees: assignees,\r\n\t\t\t\tsingleSelect: definition?.assigneeSelectionMode === \"Single\" || false,\r\n\t\t\t},\r\n\t\t});\r\n\t};\r\n}\r\n","export function addLeadingZeros(number, targetLength) {\n const sign = number < 0 ? \"-\" : \"\";\n const output = Math.abs(number).toString().padStart(targetLength, \"0\");\n return sign + output;\n}\n","import { toDate } from \"./toDate.mjs\";\nimport { addLeadingZeros } from \"./_lib/addLeadingZeros.mjs\";\n\n/**\n * The {@link formatISO} function options.\n */\n\n/**\n * @name formatISO\n * @category Common Helpers\n * @summary Format the date according to the ISO 8601 standard (https://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003169814.htm).\n *\n * @description\n * Return the formatted date string in ISO 8601 format. Options may be passed to control the parts and notations of the date.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The original date\n * @param options - An object with options.\n *\n * @returns The formatted date string (in loca.l time zone)\n *\n * @throws `date` must not be Invalid Date\n *\n * @example\n * // Represent 18 September 2019 in ISO 8601 format (local time zone is UTC):\n * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52))\n * //=> '2019-09-18T19:00:52Z'\n *\n * @example\n * // Represent 18 September 2019 in ISO 8601, short format (local time zone is UTC):\n * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { format: 'basic' })\n * //=> '20190918T190052'\n *\n * @example\n * // Represent 18 September 2019 in ISO 8601 format, date only:\n * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { representation: 'date' })\n * //=> '2019-09-18'\n *\n * @example\n * // Represent 18 September 2019 in ISO 8601 format, time only (local time zone is UTC):\n * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { representation: 'time' })\n * //=> '19:00:52Z'\n */\nexport function formatISO(date, options) {\n const _date = toDate(date);\n\n if (isNaN(_date.getTime())) {\n throw new RangeError(\"Invalid time value\");\n }\n\n const format = options?.format ?? \"extended\";\n const representation = options?.representation ?? \"complete\";\n\n let result = \"\";\n let tzOffset = \"\";\n\n const dateDelimiter = format === \"extended\" ? \"-\" : \"\";\n const timeDelimiter = format === \"extended\" ? \":\" : \"\";\n\n // Representation is either 'date' or 'complete'\n if (representation !== \"time\") {\n const day = addLeadingZeros(_date.getDate(), 2);\n const month = addLeadingZeros(_date.getMonth() + 1, 2);\n const year = addLeadingZeros(_date.getFullYear(), 4);\n\n // yyyyMMdd or yyyy-MM-dd.\n result = `${year}${dateDelimiter}${month}${dateDelimiter}${day}`;\n }\n\n // Representation is either 'time' or 'complete'\n if (representation !== \"date\") {\n // Add the timezone.\n const offset = _date.getTimezoneOffset();\n\n if (offset !== 0) {\n const absoluteOffset = Math.abs(offset);\n const hourOffset = addLeadingZeros(Math.trunc(absoluteOffset / 60), 2);\n const minuteOffset = addLeadingZeros(absoluteOffset % 60, 2);\n // If less than 0, the sign is +, because it is ahead of time.\n const sign = offset < 0 ? \"+\" : \"-\";\n\n tzOffset = `${sign}${hourOffset}:${minuteOffset}`;\n } else {\n tzOffset = \"Z\";\n }\n\n const hour = addLeadingZeros(_date.getHours(), 2);\n const minute = addLeadingZeros(_date.getMinutes(), 2);\n const second = addLeadingZeros(_date.getSeconds(), 2);\n\n // If there's also date, separate it with time with 'T'\n const separator = result === \"\" ? \"\" : \"T\";\n\n // Creates a time string consisting of hour, minute, and second, separated by delimiters, if defined.\n const time = [hour, minute, second].join(timeDelimiter);\n\n // HHmmss or HH:mm:ss.\n result = `${result}${separator}${time}${tzOffset}`;\n }\n\n return result;\n}\n\n// Fallback for modularized imports:\nexport default formatISO;\n","/**\n * Returns the [year, month, day, hour, minute, seconds] tokens of the provided\n * `date` as it will be rendered in the `timeZone`.\n */\nexport function tzTokenizeDate(date, timeZone) {\n const dtf = getDateTimeFormat(timeZone);\n return 'formatToParts' in dtf ? partsOffset(dtf, date) : hackyOffset(dtf, date);\n}\nconst typeToPos = {\n year: 0,\n month: 1,\n day: 2,\n hour: 3,\n minute: 4,\n second: 5,\n};\nfunction partsOffset(dtf, date) {\n try {\n const formatted = dtf.formatToParts(date);\n const filled = [];\n for (let i = 0; i < formatted.length; i++) {\n const pos = typeToPos[formatted[i].type];\n if (pos !== undefined) {\n filled[pos] = parseInt(formatted[i].value, 10);\n }\n }\n return filled;\n }\n catch (error) {\n if (error instanceof RangeError) {\n return [NaN];\n }\n throw error;\n }\n}\nfunction hackyOffset(dtf, date) {\n const formatted = dtf.format(date);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const parsed = /(\\d+)\\/(\\d+)\\/(\\d+),? (\\d+):(\\d+):(\\d+)/.exec(formatted);\n // const [, fMonth, fDay, fYear, fHour, fMinute, fSecond] = parsed\n // return [fYear, fMonth, fDay, fHour, fMinute, fSecond]\n return [\n parseInt(parsed[3], 10),\n parseInt(parsed[1], 10),\n parseInt(parsed[2], 10),\n parseInt(parsed[4], 10),\n parseInt(parsed[5], 10),\n parseInt(parsed[6], 10),\n ];\n}\n// Get a cached Intl.DateTimeFormat instance for the IANA `timeZone`. This can be used\n// to get deterministic local date/time output according to the `en-US` locale which\n// can be used to extract local time parts as necessary.\nconst dtfCache = {};\nfunction getDateTimeFormat(timeZone) {\n if (!dtfCache[timeZone]) {\n // New browsers use `hourCycle`, IE and Chrome <73 does not support it and uses `hour12`\n const testDateFormatted = new Intl.DateTimeFormat('en-US', {\n hourCycle: 'h23',\n timeZone: 'America/New_York',\n year: 'numeric',\n month: '2-digit',\n day: '2-digit',\n hour: '2-digit',\n minute: '2-digit',\n second: '2-digit',\n }).format(new Date('2014-06-25T04:00:00.123Z'));\n const hourCycleSupported = testDateFormatted === '06/25/2014, 00:00:00' ||\n testDateFormatted === '‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00';\n dtfCache[timeZone] = hourCycleSupported\n ? new Intl.DateTimeFormat('en-US', {\n hourCycle: 'h23',\n timeZone: timeZone,\n year: 'numeric',\n month: 'numeric',\n day: '2-digit',\n hour: '2-digit',\n minute: '2-digit',\n second: '2-digit',\n })\n : new Intl.DateTimeFormat('en-US', {\n hour12: false,\n timeZone: timeZone,\n year: 'numeric',\n month: 'numeric',\n day: '2-digit',\n hour: '2-digit',\n minute: '2-digit',\n second: '2-digit',\n });\n }\n return dtfCache[timeZone];\n}\n","/**\n * Use instead of `new Date(Date.UTC(...))` to support years below 100 which doesn't work\n * otherwise due to the nature of the\n * [`Date` constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#interpretation_of_two-digit_years.\n *\n * For `Date.UTC(...)`, use `newDateUTC(...).getTime()`.\n */\nexport function newDateUTC(fullYear, month, day, hour, minute, second, millisecond) {\n const utcDate = new Date(0);\n utcDate.setUTCFullYear(fullYear, month, day);\n utcDate.setUTCHours(hour, minute, second, millisecond);\n return utcDate;\n}\n","import { tzTokenizeDate } from '../tzTokenizeDate/index.js';\nimport { newDateUTC } from '../newDateUTC/index.js';\nconst MILLISECONDS_IN_HOUR = 3600000;\nconst MILLISECONDS_IN_MINUTE = 60000;\nconst patterns = {\n timezone: /([Z+-].*)$/,\n timezoneZ: /^(Z)$/,\n timezoneHH: /^([+-]\\d{2})$/,\n timezoneHHMM: /^([+-])(\\d{2}):?(\\d{2})$/,\n};\n// Parse constious time zone offset formats to an offset in milliseconds\nexport function tzParseTimezone(timezoneString, date, isUtcDate) {\n // Empty string\n if (!timezoneString) {\n return 0;\n }\n // Z\n let token = patterns.timezoneZ.exec(timezoneString);\n if (token) {\n return 0;\n }\n let hours;\n let absoluteOffset;\n // ±hh\n token = patterns.timezoneHH.exec(timezoneString);\n if (token) {\n hours = parseInt(token[1], 10);\n if (!validateTimezone(hours)) {\n return NaN;\n }\n return -(hours * MILLISECONDS_IN_HOUR);\n }\n // ±hh:mm or ±hhmm\n token = patterns.timezoneHHMM.exec(timezoneString);\n if (token) {\n hours = parseInt(token[2], 10);\n const minutes = parseInt(token[3], 10);\n if (!validateTimezone(hours, minutes)) {\n return NaN;\n }\n absoluteOffset = Math.abs(hours) * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE;\n return token[1] === '+' ? -absoluteOffset : absoluteOffset;\n }\n // IANA time zone\n if (isValidTimezoneIANAString(timezoneString)) {\n date = new Date(date || Date.now());\n const utcDate = isUtcDate ? date : toUtcDate(date);\n const offset = calcOffset(utcDate, timezoneString);\n const fixedOffset = isUtcDate ? offset : fixOffset(date, offset, timezoneString);\n return -fixedOffset;\n }\n return NaN;\n}\nfunction toUtcDate(date) {\n return newDateUTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds());\n}\nfunction calcOffset(date, timezoneString) {\n const tokens = tzTokenizeDate(date, timezoneString);\n // ms dropped because it's not provided by tzTokenizeDate\n const asUTC = newDateUTC(tokens[0], tokens[1] - 1, tokens[2], tokens[3] % 24, tokens[4], tokens[5], 0).getTime();\n let asTS = date.getTime();\n const over = asTS % 1000;\n asTS -= over >= 0 ? over : 1000 + over;\n return asUTC - asTS;\n}\nfunction fixOffset(date, offset, timezoneString) {\n const localTS = date.getTime();\n // Our UTC time is just a guess because our offset is just a guess\n let utcGuess = localTS - offset;\n // Test whether the zone matches the offset for this ts\n const o2 = calcOffset(new Date(utcGuess), timezoneString);\n // If so, offset didn't change, and we're done\n if (offset === o2) {\n return offset;\n }\n // If not, change the ts by the difference in the offset\n utcGuess -= o2 - offset;\n // If that gives us the local time we want, we're done\n const o3 = calcOffset(new Date(utcGuess), timezoneString);\n if (o2 === o3) {\n return o2;\n }\n // If it's different, we're in a hole time. The offset has changed, but we don't adjust the time\n return Math.max(o2, o3);\n}\nfunction validateTimezone(hours, minutes) {\n return -23 <= hours && hours <= 23 && (minutes == null || (0 <= minutes && minutes <= 59));\n}\nconst validIANATimezoneCache = {};\nfunction isValidTimezoneIANAString(timeZoneString) {\n if (validIANATimezoneCache[timeZoneString])\n return true;\n try {\n new Intl.DateTimeFormat(undefined, { timeZone: timeZoneString });\n validIANATimezoneCache[timeZoneString] = true;\n return true;\n }\n catch (error) {\n return false;\n }\n}\n","/**\n * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.\n * They usually appear for dates that denote time before the timezones were introduced\n * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891\n * and GMT+01:00:00 after that date)\n *\n * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,\n * which would lead to incorrect calculations.\n *\n * This function returns the timezone offset in milliseconds that takes seconds in account.\n */\nexport function getTimezoneOffsetInMilliseconds(date) {\n const utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));\n utcDate.setUTCFullYear(date.getFullYear());\n return +date - +utcDate;\n}\n","/** Regex to identify the presence of a time zone specifier in a date string */\nexport const tzPattern = /(Z|[+-]\\d{2}(?::?\\d{2})?| UTC| [a-zA-Z]+\\/[a-zA-Z_]+(?:\\/[a-zA-Z_]+)?)$/;\n","import { getTimezoneOffsetInMilliseconds } from '../_lib/getTimezoneOffsetInMilliseconds/index.js';\nimport { tzParseTimezone } from '../_lib/tzParseTimezone/index.js';\nimport { tzPattern } from '../_lib/tzPattern/index.js';\nconst MILLISECONDS_IN_HOUR = 3600000;\nconst MILLISECONDS_IN_MINUTE = 60000;\nconst DEFAULT_ADDITIONAL_DIGITS = 2;\nconst patterns = {\n dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,\n datePattern: /^([0-9W+-]+)(.*)/,\n plainTime: /:/,\n // year tokens\n YY: /^(\\d{2})$/,\n YYY: [\n /^([+-]\\d{2})$/, // 0 additional digits\n /^([+-]\\d{3})$/, // 1 additional digit\n /^([+-]\\d{4})$/, // 2 additional digits\n ],\n YYYY: /^(\\d{4})/,\n YYYYY: [\n /^([+-]\\d{4})/, // 0 additional digits\n /^([+-]\\d{5})/, // 1 additional digit\n /^([+-]\\d{6})/, // 2 additional digits\n ],\n // date tokens\n MM: /^-(\\d{2})$/,\n DDD: /^-?(\\d{3})$/,\n MMDD: /^-?(\\d{2})-?(\\d{2})$/,\n Www: /^-?W(\\d{2})$/,\n WwwD: /^-?W(\\d{2})-?(\\d{1})$/,\n HH: /^(\\d{2}([.,]\\d*)?)$/,\n HHMM: /^(\\d{2}):?(\\d{2}([.,]\\d*)?)$/,\n HHMMSS: /^(\\d{2}):?(\\d{2}):?(\\d{2}([.,]\\d*)?)$/,\n // time zone tokens (to identify the presence of a tz)\n timeZone: tzPattern,\n};\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If an argument is a string, the function tries to parse it.\n * Function accepts complete ISO 8601 formats as well as partial implementations.\n * ISO 8601: http://en.wikipedia.org/wiki/ISO_8601\n * If the function cannot parse the string or the values are invalid, it returns Invalid Date.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n * All *date-fns* functions will throw `RangeError` if `options.additionalDigits` is not 0, 1, 2 or undefined.\n *\n * @param argument the value to convert\n * @param options the object with options. See [Options]{@link https://date-fns.org/docs/Options}\n * @param {0|1|2} [options.additionalDigits=2] - the additional number of digits in the extended year format\n * @param {string} [options.timeZone=''] - used to specify the IANA time zone offset of a date String.\n *\n * @returns the parsed date in the local time zone\n * @throws {TypeError} 1 argument required\n * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2\n *\n * @example\n * // Convert string '2014-02-11T11:30:30' to date:\n * const result = toDate('2014-02-11T11:30:30')\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert string '+02014101' to date,\n * // if the additional number of digits in the extended year format is 1:\n * const result = toDate('+02014101', {additionalDigits: 1})\n * //=> Fri Apr 11 2014 00:00:00\n */\nexport function toDate(argument, options = {}) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n if (argument === null) {\n return new Date(NaN);\n }\n const additionalDigits = options.additionalDigits == null ? DEFAULT_ADDITIONAL_DIGITS : Number(options.additionalDigits);\n if (additionalDigits !== 2 && additionalDigits !== 1 && additionalDigits !== 0) {\n throw new RangeError('additionalDigits must be 0, 1 or 2');\n }\n // Clone the date\n if (argument instanceof Date ||\n (typeof argument === 'object' && Object.prototype.toString.call(argument) === '[object Date]')) {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(argument.getTime());\n }\n else if (typeof argument === 'number' ||\n Object.prototype.toString.call(argument) === '[object Number]') {\n return new Date(argument);\n }\n else if (!(Object.prototype.toString.call(argument) === '[object String]')) {\n return new Date(NaN);\n }\n const dateStrings = splitDateString(argument);\n const { year, restDateString } = parseYear(dateStrings.date, additionalDigits);\n const date = parseDate(restDateString, year);\n if (date === null || isNaN(date.getTime())) {\n return new Date(NaN);\n }\n if (date) {\n const timestamp = date.getTime();\n let time = 0;\n let offset;\n if (dateStrings.time) {\n time = parseTime(dateStrings.time);\n if (time === null || isNaN(time)) {\n return new Date(NaN);\n }\n }\n if (dateStrings.timeZone || options.timeZone) {\n offset = tzParseTimezone(dateStrings.timeZone || options.timeZone, new Date(timestamp + time));\n if (isNaN(offset)) {\n return new Date(NaN);\n }\n }\n else {\n // get offset accurate to hour in time zones that change offset\n offset = getTimezoneOffsetInMilliseconds(new Date(timestamp + time));\n offset = getTimezoneOffsetInMilliseconds(new Date(timestamp + time + offset));\n }\n return new Date(timestamp + time + offset);\n }\n else {\n return new Date(NaN);\n }\n}\nfunction splitDateString(dateString) {\n const dateStrings = {};\n let parts = patterns.dateTimePattern.exec(dateString);\n let timeString;\n if (!parts) {\n parts = patterns.datePattern.exec(dateString);\n if (parts) {\n dateStrings.date = parts[1];\n timeString = parts[2];\n }\n else {\n dateStrings.date = null;\n timeString = dateString;\n }\n }\n else {\n dateStrings.date = parts[1];\n timeString = parts[3];\n }\n if (timeString) {\n const token = patterns.timeZone.exec(timeString);\n if (token) {\n dateStrings.time = timeString.replace(token[1], '');\n dateStrings.timeZone = token[1].trim();\n }\n else {\n dateStrings.time = timeString;\n }\n }\n return dateStrings;\n}\nfunction parseYear(dateString, additionalDigits) {\n if (dateString) {\n const patternYYY = patterns.YYY[additionalDigits];\n const patternYYYYY = patterns.YYYYY[additionalDigits];\n // YYYY or ±YYYYY\n let token = patterns.YYYY.exec(dateString) || patternYYYYY.exec(dateString);\n if (token) {\n const yearString = token[1];\n return {\n year: parseInt(yearString, 10),\n restDateString: dateString.slice(yearString.length),\n };\n }\n // YY or ±YYY\n token = patterns.YY.exec(dateString) || patternYYY.exec(dateString);\n if (token) {\n const centuryString = token[1];\n return {\n year: parseInt(centuryString, 10) * 100,\n restDateString: dateString.slice(centuryString.length),\n };\n }\n }\n // Invalid ISO-formatted year\n return {\n year: null,\n };\n}\nfunction parseDate(dateString, year) {\n // Invalid ISO-formatted year\n if (year === null) {\n return null;\n }\n let date;\n let month;\n let week;\n // YYYY\n if (!dateString || !dateString.length) {\n date = new Date(0);\n date.setUTCFullYear(year);\n return date;\n }\n // YYYY-MM\n let token = patterns.MM.exec(dateString);\n if (token) {\n date = new Date(0);\n month = parseInt(token[1], 10) - 1;\n if (!validateDate(year, month)) {\n return new Date(NaN);\n }\n date.setUTCFullYear(year, month);\n return date;\n }\n // YYYY-DDD or YYYYDDD\n token = patterns.DDD.exec(dateString);\n if (token) {\n date = new Date(0);\n const dayOfYear = parseInt(token[1], 10);\n if (!validateDayOfYearDate(year, dayOfYear)) {\n return new Date(NaN);\n }\n date.setUTCFullYear(year, 0, dayOfYear);\n return date;\n }\n // yyyy-MM-dd or YYYYMMDD\n token = patterns.MMDD.exec(dateString);\n if (token) {\n date = new Date(0);\n month = parseInt(token[1], 10) - 1;\n const day = parseInt(token[2], 10);\n if (!validateDate(year, month, day)) {\n return new Date(NaN);\n }\n date.setUTCFullYear(year, month, day);\n return date;\n }\n // YYYY-Www or YYYYWww\n token = patterns.Www.exec(dateString);\n if (token) {\n week = parseInt(token[1], 10) - 1;\n if (!validateWeekDate(week)) {\n return new Date(NaN);\n }\n return dayOfISOWeekYear(year, week);\n }\n // YYYY-Www-D or YYYYWwwD\n token = patterns.WwwD.exec(dateString);\n if (token) {\n week = parseInt(token[1], 10) - 1;\n const dayOfWeek = parseInt(token[2], 10) - 1;\n if (!validateWeekDate(week, dayOfWeek)) {\n return new Date(NaN);\n }\n return dayOfISOWeekYear(year, week, dayOfWeek);\n }\n // Invalid ISO-formatted date\n return null;\n}\nfunction parseTime(timeString) {\n let hours;\n let minutes;\n // hh\n let token = patterns.HH.exec(timeString);\n if (token) {\n hours = parseFloat(token[1].replace(',', '.'));\n if (!validateTime(hours)) {\n return NaN;\n }\n return (hours % 24) * MILLISECONDS_IN_HOUR;\n }\n // hh:mm or hhmm\n token = patterns.HHMM.exec(timeString);\n if (token) {\n hours = parseInt(token[1], 10);\n minutes = parseFloat(token[2].replace(',', '.'));\n if (!validateTime(hours, minutes)) {\n return NaN;\n }\n return (hours % 24) * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE;\n }\n // hh:mm:ss or hhmmss\n token = patterns.HHMMSS.exec(timeString);\n if (token) {\n hours = parseInt(token[1], 10);\n minutes = parseInt(token[2], 10);\n const seconds = parseFloat(token[3].replace(',', '.'));\n if (!validateTime(hours, minutes, seconds)) {\n return NaN;\n }\n return (hours % 24) * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE + seconds * 1000;\n }\n // Invalid ISO-formatted time\n return null;\n}\nfunction dayOfISOWeekYear(isoWeekYear, week, day) {\n week = week || 0;\n day = day || 0;\n const date = new Date(0);\n date.setUTCFullYear(isoWeekYear, 0, 4);\n const fourthOfJanuaryDay = date.getUTCDay() || 7;\n const diff = week * 7 + day + 1 - fourthOfJanuaryDay;\n date.setUTCDate(date.getUTCDate() + diff);\n return date;\n}\n// Validation functions\nconst DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nconst DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nfunction isLeapYearIndex(year) {\n return year % 400 === 0 || (year % 4 === 0 && year % 100 !== 0);\n}\nfunction validateDate(year, month, date) {\n if (month < 0 || month > 11) {\n return false;\n }\n if (date != null) {\n if (date < 1) {\n return false;\n }\n const isLeapYear = isLeapYearIndex(year);\n if (isLeapYear && date > DAYS_IN_MONTH_LEAP_YEAR[month]) {\n return false;\n }\n if (!isLeapYear && date > DAYS_IN_MONTH[month]) {\n return false;\n }\n }\n return true;\n}\nfunction validateDayOfYearDate(year, dayOfYear) {\n if (dayOfYear < 1) {\n return false;\n }\n const isLeapYear = isLeapYearIndex(year);\n if (isLeapYear && dayOfYear > 366) {\n return false;\n }\n if (!isLeapYear && dayOfYear > 365) {\n return false;\n }\n return true;\n}\nfunction validateWeekDate(week, day) {\n if (week < 0 || week > 52) {\n return false;\n }\n if (day != null && (day < 0 || day > 6)) {\n return false;\n }\n return true;\n}\nfunction validateTime(hours, minutes, seconds) {\n if (hours < 0 || hours >= 25) {\n return false;\n }\n if (minutes != null && (minutes < 0 || minutes >= 60)) {\n return false;\n }\n if (seconds != null && (seconds < 0 || seconds >= 60)) {\n return false;\n }\n return true;\n}\n","import { tzParseTimezone } from '../_lib/tzParseTimezone/index.js';\nimport { toDate } from '../toDate/index.js';\n/**\n * @name toZonedTime\n * @category Time Zone Helpers\n * @summary Get a date/time representing local time in a given time zone from the UTC date\n *\n * @description\n * Returns a date instance with values representing the local time in the time zone\n * specified of the UTC time from the date provided. In other words, when the new date\n * is formatted it will show the equivalent hours in the target time zone regardless\n * of the current system time zone.\n *\n * @param date the date with the relevant UTC time\n * @param timeZone the time zone to get local time for, can be an offset or IANA time zone\n * @param options the object with options. See [Options]{@link https://date-fns.org/docs/Options}\n * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}\n *\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2\n *\n * @example\n * // In June 10am UTC is 6am in New York (-04:00)\n * const result = toZonedTime('2014-06-25T10:00:00.000Z', 'America/New_York')\n * //=> Jun 25 2014 06:00:00\n */\nexport function toZonedTime(date, timeZone, options) {\n date = toDate(date, options);\n const offsetMilliseconds = tzParseTimezone(timeZone, date, true);\n const d = new Date(date.getTime() - offsetMilliseconds);\n const resultDate = new Date(0);\n resultDate.setFullYear(d.getUTCFullYear(), d.getUTCMonth(), d.getUTCDate());\n resultDate.setHours(d.getUTCHours(), d.getUTCMinutes(), d.getUTCSeconds(), d.getUTCMilliseconds());\n return resultDate;\n}\n","import { Injectable } from \"@angular/core\";\r\nimport { AbstractControl, FormControl, FormGroup, ValidationErrors, ValidatorFn, Validators } from \"@angular/forms\";\r\nimport { AssignmentForm } from \"../modals/assignment-modal.component\";\r\nimport { AssignmentSolutionData, ManifestAssignment, MobaroAsset } from \"../assignment.interface\";\r\nimport { AssignmentTrigger, AssignmentWithData, ImageAttachment } from \"../../checklists/checklist.interface\";\r\nimport { formatISO } from \"date-fns\";\r\nimport { fromZonedTime, toZonedTime } from \"date-fns-tz\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class AssignmentFormService {\r\n\tpublic createAssignmentForm = (\r\n\t\tassignment: ManifestAssignment,\r\n\t\tsolution: AssignmentSolutionData,\r\n\t): FormGroup => {\r\n\t\tconst userTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\r\n\t\tconst startTimeForPicker =\r\n\t\t\tassignment.start == null ? null : formatISO(toZonedTime(assignment.start, userTimeZone));\r\n\t\tconst endTimeForPicker = assignment.end == null ? null : formatISO(toZonedTime(assignment.end, userTimeZone));\r\n\r\n\t\tconst assisgnmentForm = new FormGroup(\r\n\t\t\t{\r\n\t\t\t\ttitle: new FormControl({ value: assignment.name, disabled: false }, [Validators.required]),\r\n\t\t\t\tattachments: new FormControl({\r\n\t\t\t\t\tvalue: assignment.attachments,\r\n\t\t\t\t\tdisabled: false,\r\n\t\t\t\t}),\r\n\t\t\t\tdescription: new FormControl({ value: assignment.description, disabled: false }),\r\n\t\t\t\tdefinitionState: new FormControl({\r\n\t\t\t\t\tvalue: assignment.definitionState,\r\n\t\t\t\t\tdisabled: false,\r\n\t\t\t\t}),\r\n\t\t\t\tdefinitionPriority: new FormControl({\r\n\t\t\t\t\tvalue: assignment.definitionPriority,\r\n\t\t\t\t\tdisabled: false,\r\n\t\t\t\t}),\r\n\t\t\t\tpriority: new FormControl({ value: assignment.priority, disabled: false }),\r\n\t\t\t\tasset: new FormControl({ value: assignment.asset, disabled: false }),\r\n\t\t\t\tassignees: new FormControl({ value: assignment.assignees, disabled: false }, [\r\n\t\t\t\t\tValidators.required,\r\n\t\t\t\t]),\r\n\t\t\t\tcategories: new FormControl({ value: assignment.categories, disabled: false }),\r\n\t\t\t\tdefinitionCategories: new FormControl({\r\n\t\t\t\t\tvalue: assignment.definitionCategories,\r\n\t\t\t\t\tdisabled: false,\r\n\t\t\t\t}),\r\n\t\t\t\tstart: new FormControl({ value: startTimeForPicker, disabled: false }),\r\n\t\t\t\tend: new FormControl({ value: endTimeForPicker, disabled: false }),\r\n\t\t\t\tsolution: new FormControl({ value: solution, disabled: false }),\r\n\t\t\t},\r\n\t\t\t[this.createDateRangeValidator()],\r\n\t\t);\r\n\r\n\t\treturn assisgnmentForm;\r\n\t};\r\n\r\n\tpublic AssignmentFromForm = (\r\n\t\tassignment: ManifestAssignment,\r\n\t\tassignmentForm: FormGroup,\r\n\t\ttrigger: AssignmentTrigger,\r\n\t): AssignmentWithData => {\r\n\t\tconst timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\r\n\r\n\t\tconst assignmentWithData: AssignmentWithData = {\r\n\t\t\tassignment: {\r\n\t\t\t\t...assignment,\r\n\t\t\t\tattachments: assignmentForm.controls.attachments.value,\r\n\t\t\t\tname: assignmentForm.controls.title.value,\r\n\t\t\t\tdescription: assignmentForm.controls.description.value,\r\n\t\t\t\tdefinitionState: assignmentForm.controls.definitionState.value,\r\n\t\t\t\tdefinitionPriority: assignmentForm.controls.definitionPriority.value,\r\n\t\t\t\tpriority: assignmentForm.controls.priority.value,\r\n\t\t\t\tasset: assignmentForm.controls.asset.value,\r\n\t\t\t\tassignees: assignmentForm.controls.assignees.value,\r\n\t\t\t\tcategories: assignmentForm.controls.categories.value,\r\n\t\t\t\tdefinitionCategories: assignmentForm.controls.definitionCategories.value,\r\n\t\t\t\tstart: this.getUTCISOStringFromLocalDateTimeString(assignmentForm.controls.start.value, timeZone),\r\n\t\t\t\tend: this.getUTCISOStringFromLocalDateTimeString(assignmentForm.controls.end.value, timeZone),\r\n\t\t\t},\r\n\t\t\tsolution: assignmentForm.controls.solution.value,\r\n\t\t\ttriggeredBy: trigger,\r\n\t\t};\r\n\r\n\t\treturn assignmentWithData;\r\n\t};\r\n\r\n\tprivate getUTCISOStringFromLocalDateTimeString = (dateTimeString: string, timeZone: string) => {\r\n\t\tif (dateTimeString == null) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\treturn fromZonedTime(dateTimeString, timeZone).toISOString();\r\n\t};\r\n\r\n\tprivate createDateRangeValidator(): ValidatorFn {\r\n\t\treturn (form: AbstractControl): ValidationErrors | null => {\r\n\t\t\tconst start: string = form.get(\"start\").value;\r\n\t\t\tconst end: string = form.get(\"end\").value;\r\n\r\n\t\t\tif (start && end) {\r\n\t\t\t\tconst isRangeValid = new Date(end).getTime() - new Date(start).getTime() > 0;\r\n\r\n\t\t\t\treturn isRangeValid ? null : { dateRange: true };\r\n\t\t\t}\r\n\r\n\t\t\treturn null;\r\n\t\t};\r\n\t}\r\n}\r\n","import { toDate } from '../toDate/index.js';\nimport { tzPattern } from '../_lib/tzPattern/index.js';\nimport { tzParseTimezone } from '../_lib/tzParseTimezone/index.js';\nimport { newDateUTC } from '../_lib/newDateUTC/index.js';\n/**\n * @name fromZonedTime\n * @category Time Zone Helpers\n * @summary Get the UTC date/time from a date representing local time in a given time zone\n *\n * @description\n * Returns a date instance with the UTC time of the provided date of which the values\n * represented the local time in the time zone specified. In other words, if the input\n * date represented local time in time zone, the timestamp of the output date will\n * give the equivalent UTC of that local time regardless of the current system time zone.\n *\n * @param date the date with values representing the local time\n * @param timeZone the time zone of this local time, can be an offset or IANA time zone\n * @param options the object with options. See [Options]{@link https://date-fns.org/docs/Options}\n * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2\n *\n * @example\n * // In June 10am in Los Angeles is 5pm UTC\n * const result = fromZonedTime(new Date(2014, 5, 25, 10, 0, 0), 'America/Los_Angeles')\n * //=> 2014-06-25T17:00:00.000Z\n */\nexport function fromZonedTime(date, timeZone, options) {\n if (typeof date === 'string' && !date.match(tzPattern)) {\n return toDate(date, { ...options, timeZone });\n }\n date = toDate(date, options);\n const utc = newDateUTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()).getTime();\n const offsetMilliseconds = tzParseTimezone(timeZone, new Date(utc));\n return new Date(utc + offsetMilliseconds);\n}\n","\r\n\t\r\n\t\r\n\t\t{{ \"ASSIGNMENT__ASSIGNEE\" | transloco }}\r\n\t\r\n\t@if (assignees.length === 0) {\r\n\t\t
    \r\n\t\t\t{{ \"ASSIGNMENT__ASSIGNEE_EMPTY\" | transloco }}\r\n\t\t
    \r\n\t} @else {\r\n\t\t
    \r\n\t\t\t@for (assignee of assignees; track assignee.id) {\r\n\t\t\t\t
  • {{ assignee.name }}
  • \r\n\t\t\t} @empty {\r\n\t\t\t\t
  • {{ \"ASSIGNMENT__ASSIGNEE_EMPTY\" | transloco }}
  • \r\n\t\t\t}\r\n\t\t
    \r\n\t}\r\n
    \r\n","import { Component, forwardRef, Input } from \"@angular/core\";\r\nimport { AssigneePickerModalService } from \"../../modals/assignee-picker/assignee-picker.modal.service\";\r\nimport { AssignmentDefinition } from \"../../assignment.interface\";\r\nimport { AssigneePickerModalComponent } from \"../../modals/assignee-picker/assignee-picker.modal.component\";\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\r\n\r\n@Component({\r\n\tselector: \"app-assignment-assignees\",\r\n\ttemplateUrl: \"./assignment-assignees.component.html\",\r\n\tstyleUrl: \"./assignment-assignees.component.scss\",\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => AssignmentAssigneesComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class AssignmentAssigneesComponent implements ControlValueAccessor {\r\n\tconstructor(private assigneePickerModalService: AssigneePickerModalService) {}\r\n\tpublic assignees: DocumentReference[];\r\n\r\n\t@Input() definition: AssignmentDefinition;\r\n\r\n\tselectAssignees = async () => {\r\n\t\tconst modal = await this.assigneePickerModalService.create(this.assignees, this.definition);\r\n\t\tmodal.present();\r\n\r\n\t\tconst result = await modal.onWillDismiss();\r\n\r\n\t\tif (result.role === AssigneePickerModalComponent.save) {\r\n\t\t\tthis.assignees = result.data;\r\n\t\t\tthis.onTouched();\r\n\t\t\tthis.onFormChange(result.data);\r\n\t\t}\r\n\t};\r\n\r\n\t//Form Setup\r\n\tonFormChange = (_description: string) => {};\r\n\tonTouched = () => {};\r\n\r\n\tdisabled = false;\r\n\r\n\twriteValue(assignees: DocumentReference[]): void {\r\n\t\tthis.assignees = assignees;\r\n\t}\r\n\r\n\tregisterOnChange(fn: (description: string) => void): void {\r\n\t\tthis.onFormChange = fn;\r\n\t}\r\n\tregisterOnTouched(fn: () => void): void {\r\n\t\tthis.onTouched = fn;\r\n\t}\r\n\tsetDisabledState?(isDisabled: boolean): void {\r\n\t\tthis.disabled = isDisabled;\r\n\t}\r\n}\r\n","\r\n\t\r\n\t{{ \"ASSIGNMENT__ASSET\" | transloco }}\r\n\r\n\t@if (asset != null) {\r\n\t\t
    {{ asset.name }}
    \r\n\t} @else {\r\n\t\t
    {{ \"ASSIGNMENT__TAP_TO_SELECT\" | transloco }}
    \r\n\t}\r\n
    \r\n","import { Component, forwardRef, Input } from \"@angular/core\";\r\nimport { AssetPickerModalService } from \"../../../../modals/asset-picker/asset-picker.modal.service\";\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\r\nimport { AssetHierarchyResponse } from \"source/app/configuration/services/api.service\";\r\n\r\n@Component({\r\n\tselector: \"app-assignment-asset\",\r\n\ttemplateUrl: \"./assignment-asset.component.html\",\r\n\tstyleUrls: [\"./assignment-asset.component.scss\"],\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => AssignmentAssetComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class AssignmentAssetComponent implements ControlValueAccessor {\r\n\tconstructor(private assetPickerModalService: AssetPickerModalService) {}\r\n\t@Input() assets: AssetHierarchyResponse;\r\n\tpublic asset: DocumentReference;\r\n\r\n\tselectAsset = async () => {\r\n\t\tconst modal = await this.assetPickerModalService.create(this.assets);\r\n\t\tmodal.present();\r\n\r\n\t\tconst result = await modal.onDidDismiss();\r\n\r\n\t\tif (result.role === \"save\") {\r\n\t\t\tthis.asset = result.data;\r\n\t\t\tthis.onTouched();\r\n\t\t\tthis.onFormChange(result.data);\r\n\t\t}\r\n\t};\r\n\r\n\t//Form Setup\r\n\tonFormChange = (_description: string) => {};\r\n\tonTouched = () => {};\r\n\r\n\tdisabled = false;\r\n\r\n\twriteValue(asset: DocumentReference): void {\r\n\t\tthis.asset = asset;\r\n\t}\r\n\r\n\tregisterOnChange(fn: (description: string) => void): void {\r\n\t\tthis.onFormChange = fn;\r\n\t}\r\n\tregisterOnTouched(fn: () => void): void {\r\n\t\tthis.onTouched = fn;\r\n\t}\r\n\tsetDisabledState?(isDisabled: boolean): void {\r\n\t\tthis.disabled = isDisabled;\r\n\t}\r\n}\r\n","@if (solution != null) {\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\t{{ \"INLINE_RESOLVE__SOLUTION\" | transloco }}\r\n\t\t\t

    \r\n\t\t\t\t@if (solution.description !== \"\") {\r\n\t\t\t\t\t{{ solution.description }}\r\n\t\t\t\t} @else {\r\n\t\t\t\t\t{{ \"INLINE_RESOLVE__NO_DESCRIPTION\" | transloco }}\r\n\t\t\t\t}\r\n\t\t\t

    \r\n\t\t
    \r\n\t\t\r\n\t
    \r\n} @else {\r\n\t
    \r\n\t\t\r\n\t\t\t{{ \"INLINE_RESOLVE__ADD_SOLUTION\" | transloco }}\r\n\t\t\r\n\t
    \r\n}\r\n","import { Component, forwardRef, Input } from \"@angular/core\";\r\nimport { AssignmentDefinition, AssignmentSolutionData } from \"../../assignment.interface\";\r\nimport { AssignmentSolutionDetailsModalService } from \"../../modals/solution-details/solution-details.modal.service\";\r\nimport { SolutionDetailsModalComponent } from \"../../modals/solution-details/solution-details.modal.component\";\r\nimport { AlertController } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\r\n\r\n@Component({\r\n\tselector: \"app-assignment-solution\",\r\n\ttemplateUrl: \"./assignment-solution.component.html\",\r\n\tstyleUrls: [\"./assignment-solution.component.scss\"],\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => AssignmentSolutionComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class AssignmentSolutionComponent implements ControlValueAccessor {\r\n\tconstructor(\r\n\t\tprivate assignmentSolutionDetailsModalService: AssignmentSolutionDetailsModalService,\r\n\t\tprivate alertController: AlertController,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t) {}\r\n\r\n\t@Input() defintion: AssignmentDefinition;\r\n\tpublic solution: AssignmentSolutionData;\r\n\r\n\tremove = async () => {\r\n\t\tconst alert = await this.alertController.create({\r\n\t\t\theader: this.translocoService.translate(\"INLINE_RESOLVE__CONFIRM_REMOVE_TITLE\"),\r\n\t\t\tmessage: this.translocoService.translate(\"INLINE_RESOLVE__CONFIRM_REMOVE_BODY\"),\r\n\t\t\tcssClass: \"resoluton-warning-modal\",\r\n\t\t\tbuttons: [\r\n\t\t\t\t{\r\n\t\t\t\t\ttext: this.translocoService.translate(\"BASE__CANCEL\"),\r\n\t\t\t\t\trole: \"cancel\",\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\ttext: this.translocoService.translate(\"INLINE_RESOLVE__CONFIRM_REMOVE_OK\"),\r\n\t\t\t\t\trole: \"ok\",\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t});\r\n\r\n\t\tawait alert.present();\r\n\t\tconst result = await alert.onDidDismiss();\r\n\r\n\t\tif (result.role === \"ok\") {\r\n\t\t\tthis.solution = null;\r\n\t\t\tthis.onTouched();\r\n\t\t\tthis.onFormChange(this.solution);\r\n\t\t}\r\n\t};\r\n\r\n\tsolve = async () => {\r\n\t\tconst modal = await this.assignmentSolutionDetailsModalService.create(this.solution, this.defintion);\r\n\t\tmodal.present();\r\n\r\n\t\tconst result = await modal.onDidDismiss();\r\n\r\n\t\tif (result.role == SolutionDetailsModalComponent.save) {\r\n\t\t\tthis.solution = result.data;\r\n\t\t\tthis.onTouched();\r\n\t\t\tthis.onFormChange(this.solution);\r\n\t\t}\r\n\t};\r\n\r\n\tonFormChange = (_solution: AssignmentSolutionData) => {};\r\n\tonTouched = () => {};\r\n\t//Form Setup\r\n\tdisabled = false;\r\n\r\n\twriteValue(solution: AssignmentSolutionData): void {\r\n\t\tthis.solution = solution;\r\n\t}\r\n\tregisterOnChange(fn: (solution: AssignmentSolutionData) => void): void {\r\n\t\tthis.onFormChange = fn;\r\n\t}\r\n\tregisterOnTouched(fn: () => void): void {\r\n\t\tthis.onTouched = fn;\r\n\t}\r\n\tsetDisabledState?(isDisabled: boolean): void {\r\n\t\tthis.disabled = isDisabled;\r\n\t}\r\n}\r\n","\r\n\t\r\n\t\t{{ \"ASSIGNMENT_MODAL__TITLE\" | transloco }}\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n\r\n\t\r\n\t\t@if (trigger != null) {\r\n\t\t\t\r\n\t\t\t\t@if (trigger.description === \"\") {\r\n\t\t\t\t\t{{ \"ASSIGNMENT_MODAL__DESCRIPTION\" | transloco }}\r\n\t\t\t\t} @else {\r\n\t\t\t\t\t{{ trigger.description }}\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t
    \r\n\t\t\t\t{{ \"ASSIGNMENT__DESCRIPTION\" | transloco }}\r\n\t\t\t\t\r\n\t\t\t
    \r\n\t\t
    \r\n\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t{{ state.name }}\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t{{ assignmentForm.controls.solution.value.definitionState.name }}\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t@if (viewConfig.showPriority) {\r\n\t\t\t@if (definition?.priorities.length > 0) {\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{{ priority.name }}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t} @else {\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t
    {{ \"ASSIGNMENT__PRIORITY\" | transloco }}
    \r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{{ \"ASSIGNMENT__PRIORITY_NO\" | transloco }}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{{ \"ASSIGNMENT__PRIORITY_YES\" | transloco }}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t
    \r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t@if (assets.nodes.length > 0) {\r\n\t\t\t\r\n\t\t}\r\n\r\n\t\t@if (viewConfig.showAssignee) {\r\n\t\t\t\r\n\t\t}\r\n\r\n\t\t 0\">\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t{{ category }}\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t@if (definition && definition.categories.length > 0 && viewConfig.showDefinitionCategories) {\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t{{ category.name }}\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\r\n\t\t@if (viewConfig.showDateTime) {\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t{{ \"ASSIGNMENT__TIME_START\" | transloco }}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t@if (assignmentForm.controls.start.value == undefined) {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t{{ \"ASSIGNMENT__DEADLINE\" | transloco }}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t@if (assignmentForm.controls.end.value == undefined) {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t
    \r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n
    \r\n\r\n\t\r\n\t\t
    \r\n\t\t\t\r\n\t\t\t\t{{ \"ASSIGNMENT__BUTTON_SAVE\" | transloco }}\r\n\t\t\t\r\n\t\t
    \r\n\t
    \r\n
    \r\n","import { Component, Input, OnInit, ViewChild } from \"@angular/core\";\r\nimport { IonInput, ModalController } from \"@ionic/angular\";\r\nimport { ApiService, AssetHierarchyResponse } from \"source/app/configuration/services/api.service\";\r\nimport {\r\n\tAssignmentDefinition,\r\n\tAssignmentDefinitionState,\r\n\tAssignmentSolutionData,\r\n\tManifestAssignment,\r\n\tMobaroAsset,\r\n} from \"source/app/features/assignments/assignment.interface\";\r\n\r\nimport { FormControl, FormGroup } from \"@angular/forms\";\r\nimport { AssignmentTrigger, ImageAttachment } from \"../../checklists/checklist.interface\";\r\nimport { AssignmentFormService } from \"../services/assignment.form.service\";\r\n\r\n@Component({\r\n\tselector: \"app-assignment\",\r\n\ttemplateUrl: \"./assignment-modal.component.html\",\r\n\tstyleUrls: [\"assignment-modal.component.scss\"],\r\n})\r\nexport class AssignmentModalComponent implements OnInit {\r\n\tstatic modalId = \"assignment-modal-component\";\r\n\tconstructor(\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate apiService: ApiService,\r\n\t\tprivate assignmentFormService: AssignmentFormService,\r\n\t) {}\r\n\t@ViewChild(\"title\") title!: IonInput;\r\n\r\n\t@Input() assignment: ManifestAssignment;\r\n\t@Input() definition: AssignmentDefinition;\r\n\t@Input() solution: AssignmentSolutionData;\r\n\t@Input() trigger: AssignmentTrigger;\r\n\r\n\tassignmentForm: FormGroup;\r\n\tready = false;\r\n\tcategories: string[] = [];\r\n\tassets: AssetHierarchyResponse;\r\n\tstates: AssignmentDefinitionState[] = [];\r\n\tviewConfig: AssignmentViewConfig;\r\n\r\n\tmodules = {\r\n\t\ttoolbar: [\r\n\t\t\t[\"bold\", \"italic\", \"underline\", \"strike\"],\r\n\t\t\t[{ list: \"ordered\" }, { list: \"bullet\" }],\r\n\t\t],\r\n\t};\r\n\r\n\tclose = () => {\r\n\t\tthis.modalController.dismiss();\r\n\t};\r\n\r\n\tsave = () => {\r\n\t\tif (this.assignmentForm.invalid) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst assignmentWithData = this.assignmentFormService.AssignmentFromForm(\r\n\t\t\tthis.assignment,\r\n\t\t\tthis.assignmentForm,\r\n\t\t\tthis.trigger,\r\n\t\t);\r\n\t\tthis.modalController.dismiss(assignmentWithData, \"save\", AssignmentModalComponent.modalId);\r\n\t};\r\n\r\n\tcreateAssignmentViewConfig = (trigger: AssignmentTrigger): AssignmentViewConfig => {\r\n\t\tif (trigger === null) {\r\n\t\t\treturn {\r\n\t\t\t\tshowPriority: true,\r\n\t\t\t\tshowDateTime: true,\r\n\t\t\t\tshowAssignee: true,\r\n\t\t\t\tshowCategories: true,\r\n\t\t\t\tshowDefinitionCategories: true,\r\n\t\t\t};\r\n\t\t}\r\n\t\treturn {\r\n\t\t\tshowPriority: trigger.priority === false,\r\n\t\t\tshowDateTime: trigger.deadline === false,\r\n\t\t\tshowAssignee: trigger.assignees.length === 0,\r\n\t\t\tshowCategories: trigger.categories.length === 0,\r\n\t\t\tshowDefinitionCategories: trigger.definitionCategories == null || trigger.definitionCategories.length === 0,\r\n\t\t};\r\n\t};\r\n\r\n\tcompareWith = (o1: { id: string }, o2: { id: string }) => {\r\n\t\treturn o1 && o2 ? o1.id === o2.id : o1 === o2;\r\n\t};\r\n\r\n\tionViewDidEnter = () => {\r\n\t\t// setting focus on title if undefined or null\r\n\t\tif (this.title.value == null) {\r\n\t\t\tthis.title.setFocus();\r\n\t\t}\r\n\t};\r\n\r\n\tasync ngOnInit(): Promise {\r\n\t\tif (this.definition != null) {\r\n\t\t\tthis.states = this.definition.states.filter((x) => x.type !== \"Final\");\r\n\t\t}\r\n\r\n\t\t[this.assets, this.categories] = await Promise.all([\r\n\t\t\tthis.apiService.assets(),\r\n\t\t\tthis.apiService.assignmentCategories(),\r\n\t\t]);\r\n\r\n\t\tthis.viewConfig = this.createAssignmentViewConfig(this.trigger);\r\n\t\tthis.assignmentForm = this.assignmentFormService.createAssignmentForm(this.assignment, this.solution);\r\n\t\tthis.categories = await this.apiService.assignmentCategories();\r\n\t\tthis.ready = true;\r\n\t}\r\n}\r\n\r\nexport interface AssignmentForm {\r\n\ttitle: FormControl;\r\n\tattachments: FormControl;\r\n\tdescription: FormControl;\r\n\tdefinitionState: FormControl;\r\n\tdefinitionPriority: FormControl;\r\n\tpriority: FormControl;\r\n\tasset: FormControl;\r\n\tassignees: FormControl;\r\n\tcategories: FormControl;\r\n\tdefinitionCategories: FormControl;\r\n\tstart: FormControl;\r\n\tend: FormControl;\r\n\tsolution: FormControl;\r\n}\r\n\r\nexport interface AssignmentViewConfig {\r\n\tshowPriority: boolean;\r\n\tshowDateTime: boolean;\r\n\tshowAssignee: boolean;\r\n\tshowCategories: boolean;\r\n\tshowDefinitionCategories: boolean;\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { AssignmentTrigger, AssignmentWithData } from \"../../checklists/checklist.interface\";\r\nimport { AssignmentDefinition, AssignmentSolutionData, ManifestAssignment } from \"../assignment.interface\";\r\nimport { OverlayEventDetail } from \"@ionic/core\";\r\nimport { AssignmentModalComponent } from \"./assignment-modal.component\";\r\n\r\n@Injectable()\r\nexport class AssignmentModalService {\r\n\tconstructor(private modalController: ModalController) {}\r\n\r\n\topen = async (\r\n\t\tassignment: ManifestAssignment,\r\n\t\tdefinition: AssignmentDefinition,\r\n\t\ttrigger: AssignmentTrigger = null,\r\n\t\tsolution: AssignmentSolutionData = null,\r\n\t): Promise => {\r\n\t\tconst assignmentModal = await this.modalController.create({\r\n\t\t\tcomponent: AssignmentModalComponent,\r\n\t\t\tcomponentProps: {\r\n\t\t\t\tassignment: assignment,\r\n\t\t\t\tdefinition: definition,\r\n\t\t\t\ttrigger: trigger,\r\n\t\t\t\tsolution: solution,\r\n\t\t\t},\r\n\t\t\tid: AssignmentModalComponent.modalId,\r\n\t\t\tcssClass: \"assignment-modal\",\r\n\t\t});\r\n\r\n\t\tawait assignmentModal.present();\r\n\t\tconst result: OverlayEventDetail = await assignmentModal.onDidDismiss();\r\n\t\treturn result.data;\r\n\t};\r\n}\r\n","\r\n\t\r\n\t\t{{ \"ASSIGNMENT_RESOLVE__TITLE\" | transloco }}\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n\r\n\t\r\n\t\t

    \r\n\t\t\t{{ \"ASSIGNMENT_RESOLVE__SUBTITLE\" | transloco }}\r\n\t\t

    \r\n\t
    \r\n\t\r\n\t\t 1\">\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t{{ state.name }}\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t
    \r\n\t\t\t\t\r\n\t\t\t
    \r\n\t\t
    \r\n\t
    \r\n
    \r\n\r\n\r\n\t
    \r\n\t\t\r\n\t\t\t{{ \"BASE__CANCEL\" | transloco }}\r\n\t\t\r\n\t\t\r\n\t\t\t{{ \"ASSIGNMENT_RESOLVE__RESOLVE\" | transloco }}\r\n\t\t\r\n\t
    \r\n
    \r\n","import { Component, Input, OnInit } from \"@angular/core\";\r\nimport { AlertController, ModalController, SelectCustomEvent } from \"@ionic/angular\";\r\nimport { AssignmentDefinition, AssignmentDefinitionState, AssignmentSolutionData } from \"../../assignment.interface\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { FormControl, FormGroup, Validators } from \"@angular/forms\";\r\nimport { ImageAttachment } from \"source/app/features/checklists/checklist.interface\";\r\n\r\n@Component({\r\n\tselector: \"app-solution-details-modal\",\r\n\ttemplateUrl: \"./solution-details.modal.component.html\",\r\n\tstyleUrls: [\"./solution-details.modal.component.scss\"],\r\n})\r\nexport class SolutionDetailsModalComponent implements OnInit {\r\n\tstatic modalId = \"solution-details-modal-component\";\r\n\tstatic save = \"save\";\r\n\tstatic cancel = \"cancel\";\r\n\r\n\tconstructor(\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate alertController: AlertController,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t) {}\r\n\r\n\t@Input() solution: AssignmentSolutionData;\r\n\t@Input() definition: AssignmentDefinition;\r\n\r\n\tloaded = false;\r\n\tstates: AssignmentDefinitionState[] = [];\r\n\tformGroup: FormGroup;\r\n\r\n\tclose = () =>\r\n\t\tthis.modalController.dismiss(\r\n\t\t\tundefined,\r\n\t\t\tSolutionDetailsModalComponent.cancel,\r\n\t\t\tSolutionDetailsModalComponent.modalId,\r\n\t\t);\r\n\tsave = async () => {\r\n\t\tif (this.formGroup.valid === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst description = this.formGroup.controls.description.value;\r\n\t\tconst attachments = this.formGroup.controls.attachments.value;\r\n\t\tconst definitionState = this.formGroup.controls.definitionState.value;\r\n\r\n\t\tconst descriptionIsEmpty = description.trim() === \"\";\r\n\r\n\t\tif (descriptionIsEmpty) {\r\n\t\t\tconst alert = await this.alertController.create({\r\n\t\t\t\theader: this.translocoService.translate(\"ASSIGNMENT_RESOLVE__CONFIRM_NO_DESCRIPTION_TITLE\"),\r\n\t\t\t\tmessage: this.translocoService.translate(\"ASSIGNMENT_RESOLVE__CONFIRM_NO_DESCRIPTION_BODY\"),\r\n\t\t\t\tbuttons: [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttext: this.translocoService.translate(\"BASE__CANCEL\"),\r\n\t\t\t\t\t\trole: \"cancel\",\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttext: this.translocoService.translate(\"ASSIGNMENT_RESOLVE__CONFIRM_NO_DESCRIPTION_OK\"),\r\n\t\t\t\t\t\trole: \"ok\",\r\n\t\t\t\t\t},\r\n\t\t\t\t],\r\n\t\t\t\tbackdropDismiss: false,\r\n\t\t\t});\r\n\r\n\t\t\tawait alert.present();\r\n\t\t\tconst result = await alert.onDidDismiss();\r\n\t\t\tif (result.role === \"cancel\") {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tconst solution: AssignmentSolutionData = {\r\n\t\t\tid: \"\",\r\n\t\t\tdescription: description,\r\n\t\t\tdefinitionState: definitionState,\r\n\t\t\tattachments: attachments,\r\n\t\t};\r\n\r\n\t\tthis.modalController.dismiss(\r\n\t\t\tsolution,\r\n\t\t\tSolutionDetailsModalComponent.save,\r\n\t\t\tSolutionDetailsModalComponent.modalId,\r\n\t\t);\r\n\t};\r\n\r\n\tchangeState = (event: SelectCustomEvent) => {\r\n\t\tconst definitionState = event.detail.value;\r\n\r\n\t\tif (definitionState.requireDocumentation) {\r\n\t\t\tthis.formGroup.controls.description.setValidators([Validators.required]);\r\n\t\t} else {\r\n\t\t\tthis.formGroup.controls.description.setValidators([]);\r\n\t\t}\r\n\t\tthis.formGroup.controls.description.updateValueAndValidity();\r\n\t};\r\n\r\n\tcompareWith = (o1: { id: string }, o2: { id: string }) => {\r\n\t\treturn o1 && o2 ? o1.id === o2.id : o1 === o2;\r\n\t};\r\n\r\n\tngOnInit(): void {\r\n\t\tif (this.definition != null) {\r\n\t\t\tthis.states = this.definition.states.filter((x) => x.type === \"Final\");\r\n\t\t}\r\n\r\n\t\tconst description = this.solution?.description == null ? \"\" : this.solution.description;\r\n\t\tconst attachments = this.solution?.attachments == null ? [] : this.solution.attachments;\r\n\r\n\t\tlet definitionState: AssignmentDefinitionState | null = null;\r\n\r\n\t\tif (this.solution?.definitionState != null) {\r\n\t\t\tdefinitionState = this.solution.definitionState;\r\n\t\t} else if (this.states.length === 1) {\r\n\t\t\tdefinitionState = this.states[0];\r\n\t\t}\r\n\r\n\t\tconst definitionStateValidtor = this.states.length > 0 ? [Validators.required] : [];\r\n\r\n\t\tthis.formGroup = new FormGroup({\r\n\t\t\tdescription: new FormControl({ value: description, disabled: false }),\r\n\t\t\tattachments: new FormControl({ value: attachments, disabled: false }),\r\n\t\t\tdefinitionState: new FormControl(\r\n\t\t\t\t{ value: definitionState, disabled: false },\r\n\t\t\t\tdefinitionStateValidtor,\r\n\t\t\t),\r\n\t\t});\r\n\r\n\t\tthis.loaded = true;\r\n\t}\r\n}\r\n\r\nexport interface SolutionForm {\r\n\tdescription: FormControl;\r\n\tattachments: FormControl;\r\n\tdefinitionState: FormControl;\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { SolutionDetailsModalComponent } from \"./solution-details.modal.component\";\r\nimport { AssignmentDefinition, AssignmentSolutionData } from \"../../assignment.interface\";\r\n\r\n@Injectable()\r\nexport class AssignmentSolutionDetailsModalService {\r\n\tconstructor(private modalController: ModalController) {}\r\n\r\n\tcreate = async (solution: AssignmentSolutionData, definition: AssignmentDefinition) =>\r\n\t\tthis.modalController.create({\r\n\t\t\tid: SolutionDetailsModalComponent.modalId,\r\n\t\t\tcomponent: SolutionDetailsModalComponent,\r\n\t\t\tcssClass: \"assignment-solution-details-modal\",\r\n\t\t\tcomponentProps: {\r\n\t\t\t\tsolution: solution,\r\n\t\t\t\tdefinition: definition,\r\n\t\t\t},\r\n\t\t});\r\n}\r\n","import { toDate } from \"./toDate.mjs\";\n\n/**\n * @name endOfDay\n * @category Day Helpers\n * @summary Return the end of a day for the given date.\n *\n * @description\n * Return the end of a day for the given date.\n * The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The original date\n *\n * @returns The end of a day\n *\n * @example\n * // The end of a day for 2 September 2014 11:55:00:\n * const result = endOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 23:59:59.999\n */\nexport function endOfDay(date) {\n const _date = toDate(date);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default endOfDay;\n","import { toDate } from \"./toDate.mjs\";\nimport { constructFrom } from \"./constructFrom.mjs\";\n\n/**\n * @name addDays\n * @category Day Helpers\n * @summary Add the specified number of days to the given date.\n *\n * @description\n * Add the specified number of days to the given date.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The date to be changed\n * @param amount - The amount of days to be added.\n *\n * @returns The new date with the days added\n *\n * @example\n * // Add 10 days to 1 September 2014:\n * const result = addDays(new Date(2014, 8, 1), 10)\n * //=> Thu Sep 11 2014 00:00:00\n */\nexport function addDays(date, amount) {\n const _date = toDate(date);\n if (isNaN(amount)) return constructFrom(date, NaN);\n if (!amount) {\n // If 0 days, no-op to avoid changing times in the hour before end of DST\n return _date;\n }\n _date.setDate(_date.getDate() + amount);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default addDays;\n","import { Injectable } from \"@angular/core\";\r\nimport { AssignmentDefinition, ManifestAssignment, ManifestOrigin } from \"../assignment.interface\";\r\nimport { ApiService } from \"source/app/configuration/services/api.service\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { ActionSheetController, ModalController } from \"@ionic/angular\";\r\nimport { AssignmentModalComponent } from \"../modals/assignment-modal.component\";\r\nimport { AssignmentTrigger, AssignmentWithData } from \"../../checklists/checklist.interface\";\r\nimport { LocationStateQuery } from \"source/app/configuration/state/location-state.query\";\r\nimport { ChecklistProgressStateQuery } from \"../../checklists/state/checklist-progress-state.query\";\r\nimport { addDays, addHours, endOfDay } from \"date-fns\";\r\nimport { AssignmentModalService } from \"../modals/assignment-modal.service\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class AssignmentService {\r\n\tconstructor(\r\n\t\tprivate apiService: ApiService,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t\tprivate actionSheetController: ActionSheetController,\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate checklistProgressQuery: ChecklistProgressStateQuery,\r\n\t\tprivate assignmentModalService: AssignmentModalService,\r\n\t) {}\r\n\r\n\tcreateAssignment = async (questionId: string, definition: AssignmentDefinition) => {\r\n\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\t\tconst checklist = await this.checklistProgressQuery.checklist$.firstAsync();\r\n\r\n\t\tconst initialState = definition?.states.find((x) => x.type === \"Initial\");\r\n\t\tconst initialPriority = definition?.priorities.find((x) => x.default);\r\n\r\n\t\tconst origin: ManifestOrigin = {\r\n\t\t\tchecklist: checklist.id,\r\n\t\t\tquestion: questionId,\r\n\t\t\tschedule: location.id,\r\n\t\t\toption: null,\r\n\t\t\ttriggerCondition: null,\r\n\t\t};\r\n\r\n\t\tconst assignment: ManifestAssignment = {\r\n\t\t\torganization: {\r\n\t\t\t\tid: checklist.organization,\r\n\t\t\t\tname: \"\",\r\n\t\t\t},\r\n\t\t\ttarget: {\r\n\t\t\t\tid: location.id,\r\n\t\t\t\tname: location.name,\r\n\t\t\t},\r\n\t\t\tasset: null,\r\n\t\t\tassignees: [],\r\n\t\t\tattachments: [],\r\n\t\t\torigin: origin,\r\n\t\t\tdescription: \"\",\r\n\t\t\tdefinition: definition,\r\n\t\t\tdefinitionState: initialState,\r\n\t\t\tdefinitionPriority: initialPriority,\r\n\t\t\tstart: new Date().toISOString(),\r\n\t\t\tend: endOfDay(addDays(new Date(), 7)).toISOString(),\r\n\t\t};\r\n\r\n\t\treturn this.assignmentModalService.open(assignment, definition);\r\n\t};\r\n\r\n\tcreateAssignmentFromTrigger = async (trigger: AssignmentTrigger, questionId: string) => {\r\n\t\tconst checklist = await this.checklistProgressQuery.checklist$.firstAsync();\r\n\t\tconst definition: AssignmentDefinition = checklist.references[trigger.definition];\r\n\t\tconst initialState = definition?.states.find((x) => x.type === \"Initial\");\r\n\t\tconst definitionPriority = definition?.priorities?.find((x) => x.id === trigger.definitionPriority);\r\n\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\t\tconst user = await this.locationStateQuery.operator$.firstAsync();\r\n\r\n\t\tconst origin: ManifestOrigin = {\r\n\t\t\tchecklist: checklist.id,\r\n\t\t\tquestion: questionId,\r\n\t\t\tschedule: location.id,\r\n\t\t\toption: trigger.condition.right,\r\n\t\t\ttriggerCondition: trigger.condition,\r\n\t\t};\r\n\r\n\t\tconst start = new Date().toISOString();\r\n\t\tlet end = endOfDay(addDays(new Date(), 7)).toISOString();\r\n\r\n\t\tif (trigger.deadline) {\r\n\t\t\tend =\r\n\t\t\t\ttrigger.deadlineUnit === \"Days\"\r\n\t\t\t\t\t? addDays(start, trigger.deadlineAmount).toISOString()\r\n\t\t\t\t\t: addHours(start, trigger.deadlineAmount).toISOString();\r\n\t\t}\r\n\r\n\t\tconst assignment: ManifestAssignment = {\r\n\t\t\torganization: {\r\n\t\t\t\tid: checklist.organization,\r\n\t\t\t\tname: \"\",\r\n\t\t\t},\r\n\t\t\ttarget: {\r\n\t\t\t\tid: location.id,\r\n\t\t\t\tname: location.name,\r\n\t\t\t},\r\n\t\t\tasset: null,\r\n\t\t\tassignees: trigger.assignToPerformingUser\r\n\t\t\t\t? [{ id: user.id, name: user.name }]\r\n\t\t\t\t: trigger.assignees.map((assignee) => checklist.references[assignee]),\r\n\t\t\tcategories: trigger.categories,\r\n\t\t\tattachments: [],\r\n\t\t\torigin: origin,\r\n\t\t\tfromTrigger: true,\r\n\t\t\tdescription: \"\",\r\n\t\t\tdefinition: definition,\r\n\t\t\tdefinitionState: initialState,\r\n\t\t\tpriority: trigger.priority,\r\n\t\t\tdefinitionPriority: definitionPriority,\r\n\t\t\tsubscribers: trigger.subscribers,\r\n\t\t\tstart: start,\r\n\t\t\tname: trigger.name,\r\n\t\t\tend: end,\r\n\t\t};\r\n\r\n\t\tif (trigger.requireNoIntervention) {\r\n\t\t\tconst assignmentWithData: AssignmentWithData = {\r\n\t\t\t\tassignment: assignment,\r\n\t\t\t\tsolution: null,\r\n\t\t\t\ttriggeredBy: trigger,\r\n\t\t\t};\r\n\r\n\t\t\treturn assignmentWithData;\r\n\t\t}\r\n\r\n\t\treturn await this.assignmentModalService.open(assignment, definition, trigger);\r\n\t};\r\n\r\n\topenAssignment = async (assignment: AssignmentWithData): Promise => {\r\n\t\tconst definitions = await this.getDefinitions();\r\n\t\tconst definition = definitions.find((x) => x.id === assignment.assignment.definition?.id);\r\n\r\n\t\tconst assignmentModal = await this.modalController.create({\r\n\t\t\tcomponent: AssignmentModalComponent,\r\n\t\t\tcomponentProps: {\r\n\t\t\t\tassignment: assignment.assignment,\r\n\t\t\t\tdefinition: definition,\r\n\t\t\t\ttrigger: assignment.triggeredBy,\r\n\t\t\t\tsolution: assignment.solution,\r\n\t\t\t},\r\n\t\t\tid: AssignmentModalComponent.modalId,\r\n\t\t\tcssClass: \"assignment-modal\",\r\n\t\t});\r\n\r\n\t\tawait assignmentModal.present();\r\n\t\treturn (await assignmentModal.onDidDismiss()).data;\r\n\t};\r\n\r\n\tgetDefinitions = async (): Promise => {\r\n\t\tconst assignmentDefinitionSettings = await this.apiService.assignmentDefinitionSettings();\r\n\t\treturn assignmentDefinitionSettings.definitions;\r\n\t};\r\n\r\n\tselectDefinition = async (): Promise => {\r\n\t\tconst assignmentDefinitionSettings = await this.apiService.assignmentDefinitionSettings();\r\n\r\n\t\t// No Assignment definitions exists\r\n\t\tif (assignmentDefinitionSettings.definitions.length == 0) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\t// Only one assignment definition is available\r\n\t\tif (\r\n\t\t\tassignmentDefinitionSettings.definitions.length == 1 &&\r\n\t\t\tassignmentDefinitionSettings.disableDefaultDefinition\r\n\t\t) {\r\n\t\t\treturn assignmentDefinitionSettings.definitions[0];\r\n\t\t}\r\n\r\n\t\tconst defaultDefinition = {\r\n\t\t\ttext: this.translocoService.translate(\"ASSIGNMENT_LIST__SELECT_DEFINITION_DEFAULT\"),\r\n\t\t\tdata: {\r\n\t\t\t\taction: \"\",\r\n\t\t\t},\r\n\t\t};\r\n\r\n\t\tconst cancelButton = {\r\n\t\t\ttext: this.translocoService.translate(\"BASE__CANCEL\"),\r\n\t\t\trole: \"cancel\",\r\n\t\t\tdata: {\r\n\t\t\t\taction: \"cancel\",\r\n\t\t\t},\r\n\t\t};\r\n\r\n\t\tconst definitionButtons = assignmentDefinitionSettings.definitions.map((definition) => {\r\n\t\t\treturn {\r\n\t\t\t\ttext: definition.name,\r\n\t\t\t\tdata: {\r\n\t\t\t\t\taction: definition.id,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\t});\r\n\r\n\t\tconst buttons = assignmentDefinitionSettings.disableDefaultDefinition\r\n\t\t\t? [...definitionButtons, cancelButton]\r\n\t\t\t: [defaultDefinition, ...definitionButtons, cancelButton];\r\n\r\n\t\tconst actionSheet = await this.actionSheetController.create({\r\n\t\t\theader: this.translocoService.translate(\"ASSIGNMENT_LIST__SELECT_DEFINITION_TITLE\"),\r\n\t\t\tmode: \"ios\",\r\n\t\t\tbuttons: buttons,\r\n\t\t});\r\n\r\n\t\tawait actionSheet.present();\r\n\r\n\t\tconst action = await actionSheet.onWillDismiss();\r\n\r\n\t\tif (action.role === \"cancel\") {\r\n\t\t\tthrow new Error(\"definition selection cancelled\");\r\n\t\t}\r\n\r\n\t\tif (action.data.action === \"\") {\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\treturn assignmentDefinitionSettings.definitions.find((x) => x.id === action.data.action);\r\n\t};\r\n}\r\n","export enum ElementType {\r\n\tTextElement = \"TextElement\",\r\n\tImageElement = \"ImageElement\",\r\n\tSelectQuestion = \"SelectQuestion\",\r\n\tTextQuestion = \"TextQuestion\",\r\n\tImageQuestion = \"ImageQuestion\",\r\n\tDateTimeQuestion = \"DateTimeQuestion\",\r\n\tNumberQuestion = \"NumberQuestion\",\r\n\tSliderQuestion = \"SliderQuestion\",\r\n\tEmailQuestion = \"EmailQuestion\",\r\n\tScannerQuestion = \"ScannerQuestion\",\r\n\tDurationQuestion = \"DurationQuestion\",\r\n\tSignatureQuestion = \"SignatureQuestion\",\r\n\tUnknownQuestion = \"UnknownQuestion\",\r\n\tSelectQuestionGroup = \"SelectQuestionGroup\",\r\n}\r\n","/**\n * SSR Window 4.0.2\n * Better handling for window object in SSR environment\n * https://github.com/nolimits4web/ssr-window\n *\n * Copyright 2021, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: December 13, 2021\n */\n/* eslint-disable no-param-reassign */\nfunction isObject(obj) {\n return (obj !== null &&\n typeof obj === 'object' &&\n 'constructor' in obj &&\n obj.constructor === Object);\n}\nfunction extend(target = {}, src = {}) {\n Object.keys(src).forEach((key) => {\n if (typeof target[key] === 'undefined')\n target[key] = src[key];\n else if (isObject(src[key]) &&\n isObject(target[key]) &&\n Object.keys(src[key]).length > 0) {\n extend(target[key], src[key]);\n }\n });\n}\n\nconst ssrDocument = {\n body: {},\n addEventListener() { },\n removeEventListener() { },\n activeElement: {\n blur() { },\n nodeName: '',\n },\n querySelector() {\n return null;\n },\n querySelectorAll() {\n return [];\n },\n getElementById() {\n return null;\n },\n createEvent() {\n return {\n initEvent() { },\n };\n },\n createElement() {\n return {\n children: [],\n childNodes: [],\n style: {},\n setAttribute() { },\n getElementsByTagName() {\n return [];\n },\n };\n },\n createElementNS() {\n return {};\n },\n importNode() {\n return null;\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: '',\n },\n};\nfunction getDocument() {\n const doc = typeof document !== 'undefined' ? document : {};\n extend(doc, ssrDocument);\n return doc;\n}\n\nconst ssrWindow = {\n document: ssrDocument,\n navigator: {\n userAgent: '',\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: '',\n },\n history: {\n replaceState() { },\n pushState() { },\n go() { },\n back() { },\n },\n CustomEvent: function CustomEvent() {\n return this;\n },\n addEventListener() { },\n removeEventListener() { },\n getComputedStyle() {\n return {\n getPropertyValue() {\n return '';\n },\n };\n },\n Image() { },\n Date() { },\n screen: {},\n setTimeout() { },\n clearTimeout() { },\n matchMedia() {\n return {};\n },\n requestAnimationFrame(callback) {\n if (typeof setTimeout === 'undefined') {\n callback();\n return null;\n }\n return setTimeout(callback, 0);\n },\n cancelAnimationFrame(id) {\n if (typeof setTimeout === 'undefined') {\n return;\n }\n clearTimeout(id);\n },\n};\nfunction getWindow() {\n const win = typeof window !== 'undefined' ? window : {};\n extend(win, ssrWindow);\n return win;\n}\n\nexport { extend, getDocument, getWindow, ssrDocument, ssrWindow };\n","/**\n * Dom7 4.0.4\n * Minimalistic JavaScript library for DOM manipulation, with a jQuery-compatible API\n * https://framework7.io/docs/dom7.html\n *\n * Copyright 2022, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: January 11, 2022\n */\nimport { getWindow, getDocument } from 'ssr-window';\n\n/* eslint-disable no-proto */\nfunction makeReactive(obj) {\n const proto = obj.__proto__;\n Object.defineProperty(obj, '__proto__', {\n get() {\n return proto;\n },\n\n set(value) {\n proto.__proto__ = value;\n }\n\n });\n}\n\nclass Dom7 extends Array {\n constructor(items) {\n if (typeof items === 'number') {\n super(items);\n } else {\n super(...(items || []));\n makeReactive(this);\n }\n }\n\n}\n\nfunction arrayFlat(arr = []) {\n const res = [];\n arr.forEach(el => {\n if (Array.isArray(el)) {\n res.push(...arrayFlat(el));\n } else {\n res.push(el);\n }\n });\n return res;\n}\nfunction arrayFilter(arr, callback) {\n return Array.prototype.filter.call(arr, callback);\n}\nfunction arrayUnique(arr) {\n const uniqueArray = [];\n\n for (let i = 0; i < arr.length; i += 1) {\n if (uniqueArray.indexOf(arr[i]) === -1) uniqueArray.push(arr[i]);\n }\n\n return uniqueArray;\n}\nfunction toCamelCase(string) {\n return string.toLowerCase().replace(/-(.)/g, (match, group) => group.toUpperCase());\n}\n\n// eslint-disable-next-line\n\nfunction qsa(selector, context) {\n if (typeof selector !== 'string') {\n return [selector];\n }\n\n const a = [];\n const res = context.querySelectorAll(selector);\n\n for (let i = 0; i < res.length; i += 1) {\n a.push(res[i]);\n }\n\n return a;\n}\n\nfunction $(selector, context) {\n const window = getWindow();\n const document = getDocument();\n let arr = [];\n\n if (!context && selector instanceof Dom7) {\n return selector;\n }\n\n if (!selector) {\n return new Dom7(arr);\n }\n\n if (typeof selector === 'string') {\n const html = selector.trim();\n\n if (html.indexOf('<') >= 0 && html.indexOf('>') >= 0) {\n let toCreate = 'div';\n if (html.indexOf(' c.split(' ')));\n this.forEach(el => {\n el.classList.add(...classNames);\n });\n return this;\n}\n\nfunction removeClass(...classes) {\n const classNames = arrayFlat(classes.map(c => c.split(' ')));\n this.forEach(el => {\n el.classList.remove(...classNames);\n });\n return this;\n}\n\nfunction toggleClass(...classes) {\n const classNames = arrayFlat(classes.map(c => c.split(' ')));\n this.forEach(el => {\n classNames.forEach(className => {\n el.classList.toggle(className);\n });\n });\n}\n\nfunction hasClass(...classes) {\n const classNames = arrayFlat(classes.map(c => c.split(' ')));\n return arrayFilter(this, el => {\n return classNames.filter(className => el.classList.contains(className)).length > 0;\n }).length > 0;\n}\n\nfunction attr(attrs, value) {\n if (arguments.length === 1 && typeof attrs === 'string') {\n // Get attr\n if (this[0]) return this[0].getAttribute(attrs);\n return undefined;\n } // Set attrs\n\n\n for (let i = 0; i < this.length; i += 1) {\n if (arguments.length === 2) {\n // String\n this[i].setAttribute(attrs, value);\n } else {\n // Object\n for (const attrName in attrs) {\n this[i][attrName] = attrs[attrName];\n this[i].setAttribute(attrName, attrs[attrName]);\n }\n }\n }\n\n return this;\n}\n\nfunction removeAttr(attr) {\n for (let i = 0; i < this.length; i += 1) {\n this[i].removeAttribute(attr);\n }\n\n return this;\n}\n\nfunction prop(props, value) {\n if (arguments.length === 1 && typeof props === 'string') {\n // Get prop\n if (this[0]) return this[0][props];\n } else {\n // Set props\n for (let i = 0; i < this.length; i += 1) {\n if (arguments.length === 2) {\n // String\n this[i][props] = value;\n } else {\n // Object\n for (const propName in props) {\n this[i][propName] = props[propName];\n }\n }\n }\n\n return this;\n }\n\n return this;\n}\n\nfunction data(key, value) {\n let el;\n\n if (typeof value === 'undefined') {\n el = this[0];\n if (!el) return undefined; // Get value\n\n if (el.dom7ElementDataStorage && key in el.dom7ElementDataStorage) {\n return el.dom7ElementDataStorage[key];\n }\n\n const dataKey = el.getAttribute(`data-${key}`);\n\n if (dataKey) {\n return dataKey;\n }\n\n return undefined;\n } // Set value\n\n\n for (let i = 0; i < this.length; i += 1) {\n el = this[i];\n if (!el.dom7ElementDataStorage) el.dom7ElementDataStorage = {};\n el.dom7ElementDataStorage[key] = value;\n }\n\n return this;\n}\n\nfunction removeData(key) {\n for (let i = 0; i < this.length; i += 1) {\n const el = this[i];\n\n if (el.dom7ElementDataStorage && el.dom7ElementDataStorage[key]) {\n el.dom7ElementDataStorage[key] = null;\n delete el.dom7ElementDataStorage[key];\n }\n }\n}\n\nfunction dataset() {\n const el = this[0];\n if (!el) return undefined;\n const dataset = {}; // eslint-disable-line\n\n if (el.dataset) {\n for (const dataKey in el.dataset) {\n dataset[dataKey] = el.dataset[dataKey];\n }\n } else {\n for (let i = 0; i < el.attributes.length; i += 1) {\n const attr = el.attributes[i];\n\n if (attr.name.indexOf('data-') >= 0) {\n dataset[toCamelCase(attr.name.split('data-')[1])] = attr.value;\n }\n }\n }\n\n for (const key in dataset) {\n if (dataset[key] === 'false') dataset[key] = false;else if (dataset[key] === 'true') dataset[key] = true;else if (parseFloat(dataset[key]) === dataset[key] * 1) dataset[key] *= 1;\n }\n\n return dataset;\n}\n\nfunction val(value) {\n if (typeof value === 'undefined') {\n // get value\n const el = this[0];\n if (!el) return undefined;\n\n if (el.multiple && el.nodeName.toLowerCase() === 'select') {\n const values = [];\n\n for (let i = 0; i < el.selectedOptions.length; i += 1) {\n values.push(el.selectedOptions[i].value);\n }\n\n return values;\n }\n\n return el.value;\n } // set value\n\n\n for (let i = 0; i < this.length; i += 1) {\n const el = this[i];\n\n if (Array.isArray(value) && el.multiple && el.nodeName.toLowerCase() === 'select') {\n for (let j = 0; j < el.options.length; j += 1) {\n el.options[j].selected = value.indexOf(el.options[j].value) >= 0;\n }\n } else {\n el.value = value;\n }\n }\n\n return this;\n}\n\nfunction value(value) {\n return this.val(value);\n}\n\nfunction transform(transform) {\n for (let i = 0; i < this.length; i += 1) {\n this[i].style.transform = transform;\n }\n\n return this;\n}\n\nfunction transition(duration) {\n for (let i = 0; i < this.length; i += 1) {\n this[i].style.transitionDuration = typeof duration !== 'string' ? `${duration}ms` : duration;\n }\n\n return this;\n}\n\nfunction on(...args) {\n let [eventType, targetSelector, listener, capture] = args;\n\n if (typeof args[1] === 'function') {\n [eventType, listener, capture] = args;\n targetSelector = undefined;\n }\n\n if (!capture) capture = false;\n\n function handleLiveEvent(e) {\n const target = e.target;\n if (!target) return;\n const eventData = e.target.dom7EventData || [];\n\n if (eventData.indexOf(e) < 0) {\n eventData.unshift(e);\n }\n\n if ($(target).is(targetSelector)) listener.apply(target, eventData);else {\n const parents = $(target).parents(); // eslint-disable-line\n\n for (let k = 0; k < parents.length; k += 1) {\n if ($(parents[k]).is(targetSelector)) listener.apply(parents[k], eventData);\n }\n }\n }\n\n function handleEvent(e) {\n const eventData = e && e.target ? e.target.dom7EventData || [] : [];\n\n if (eventData.indexOf(e) < 0) {\n eventData.unshift(e);\n }\n\n listener.apply(this, eventData);\n }\n\n const events = eventType.split(' ');\n let j;\n\n for (let i = 0; i < this.length; i += 1) {\n const el = this[i];\n\n if (!targetSelector) {\n for (j = 0; j < events.length; j += 1) {\n const event = events[j];\n if (!el.dom7Listeners) el.dom7Listeners = {};\n if (!el.dom7Listeners[event]) el.dom7Listeners[event] = [];\n el.dom7Listeners[event].push({\n listener,\n proxyListener: handleEvent\n });\n el.addEventListener(event, handleEvent, capture);\n }\n } else {\n // Live events\n for (j = 0; j < events.length; j += 1) {\n const event = events[j];\n if (!el.dom7LiveListeners) el.dom7LiveListeners = {};\n if (!el.dom7LiveListeners[event]) el.dom7LiveListeners[event] = [];\n el.dom7LiveListeners[event].push({\n listener,\n proxyListener: handleLiveEvent\n });\n el.addEventListener(event, handleLiveEvent, capture);\n }\n }\n }\n\n return this;\n}\n\nfunction off(...args) {\n let [eventType, targetSelector, listener, capture] = args;\n\n if (typeof args[1] === 'function') {\n [eventType, listener, capture] = args;\n targetSelector = undefined;\n }\n\n if (!capture) capture = false;\n const events = eventType.split(' ');\n\n for (let i = 0; i < events.length; i += 1) {\n const event = events[i];\n\n for (let j = 0; j < this.length; j += 1) {\n const el = this[j];\n let handlers;\n\n if (!targetSelector && el.dom7Listeners) {\n handlers = el.dom7Listeners[event];\n } else if (targetSelector && el.dom7LiveListeners) {\n handlers = el.dom7LiveListeners[event];\n }\n\n if (handlers && handlers.length) {\n for (let k = handlers.length - 1; k >= 0; k -= 1) {\n const handler = handlers[k];\n\n if (listener && handler.listener === listener) {\n el.removeEventListener(event, handler.proxyListener, capture);\n handlers.splice(k, 1);\n } else if (listener && handler.listener && handler.listener.dom7proxy && handler.listener.dom7proxy === listener) {\n el.removeEventListener(event, handler.proxyListener, capture);\n handlers.splice(k, 1);\n } else if (!listener) {\n el.removeEventListener(event, handler.proxyListener, capture);\n handlers.splice(k, 1);\n }\n }\n }\n }\n }\n\n return this;\n}\n\nfunction once(...args) {\n const dom = this;\n let [eventName, targetSelector, listener, capture] = args;\n\n if (typeof args[1] === 'function') {\n [eventName, listener, capture] = args;\n targetSelector = undefined;\n }\n\n function onceHandler(...eventArgs) {\n listener.apply(this, eventArgs);\n dom.off(eventName, targetSelector, onceHandler, capture);\n\n if (onceHandler.dom7proxy) {\n delete onceHandler.dom7proxy;\n }\n }\n\n onceHandler.dom7proxy = listener;\n return dom.on(eventName, targetSelector, onceHandler, capture);\n}\n\nfunction trigger(...args) {\n const window = getWindow();\n const events = args[0].split(' ');\n const eventData = args[1];\n\n for (let i = 0; i < events.length; i += 1) {\n const event = events[i];\n\n for (let j = 0; j < this.length; j += 1) {\n const el = this[j];\n\n if (window.CustomEvent) {\n const evt = new window.CustomEvent(event, {\n detail: eventData,\n bubbles: true,\n cancelable: true\n });\n el.dom7EventData = args.filter((data, dataIndex) => dataIndex > 0);\n el.dispatchEvent(evt);\n el.dom7EventData = [];\n delete el.dom7EventData;\n }\n }\n }\n\n return this;\n}\n\nfunction transitionEnd(callback) {\n const dom = this;\n\n function fireCallBack(e) {\n if (e.target !== this) return;\n callback.call(this, e);\n dom.off('transitionend', fireCallBack);\n }\n\n if (callback) {\n dom.on('transitionend', fireCallBack);\n }\n\n return this;\n}\n\nfunction animationEnd(callback) {\n const dom = this;\n\n function fireCallBack(e) {\n if (e.target !== this) return;\n callback.call(this, e);\n dom.off('animationend', fireCallBack);\n }\n\n if (callback) {\n dom.on('animationend', fireCallBack);\n }\n\n return this;\n}\n\nfunction width() {\n const window = getWindow();\n\n if (this[0] === window) {\n return window.innerWidth;\n }\n\n if (this.length > 0) {\n return parseFloat(this.css('width'));\n }\n\n return null;\n}\n\nfunction outerWidth(includeMargins) {\n if (this.length > 0) {\n if (includeMargins) {\n const styles = this.styles();\n return this[0].offsetWidth + parseFloat(styles.getPropertyValue('margin-right')) + parseFloat(styles.getPropertyValue('margin-left'));\n }\n\n return this[0].offsetWidth;\n }\n\n return null;\n}\n\nfunction height() {\n const window = getWindow();\n\n if (this[0] === window) {\n return window.innerHeight;\n }\n\n if (this.length > 0) {\n return parseFloat(this.css('height'));\n }\n\n return null;\n}\n\nfunction outerHeight(includeMargins) {\n if (this.length > 0) {\n if (includeMargins) {\n const styles = this.styles();\n return this[0].offsetHeight + parseFloat(styles.getPropertyValue('margin-top')) + parseFloat(styles.getPropertyValue('margin-bottom'));\n }\n\n return this[0].offsetHeight;\n }\n\n return null;\n}\n\nfunction offset() {\n if (this.length > 0) {\n const window = getWindow();\n const document = getDocument();\n const el = this[0];\n const box = el.getBoundingClientRect();\n const body = document.body;\n const clientTop = el.clientTop || body.clientTop || 0;\n const clientLeft = el.clientLeft || body.clientLeft || 0;\n const scrollTop = el === window ? window.scrollY : el.scrollTop;\n const scrollLeft = el === window ? window.scrollX : el.scrollLeft;\n return {\n top: box.top + scrollTop - clientTop,\n left: box.left + scrollLeft - clientLeft\n };\n }\n\n return null;\n}\n\nfunction hide() {\n for (let i = 0; i < this.length; i += 1) {\n this[i].style.display = 'none';\n }\n\n return this;\n}\n\nfunction show() {\n const window = getWindow();\n\n for (let i = 0; i < this.length; i += 1) {\n const el = this[i];\n\n if (el.style.display === 'none') {\n el.style.display = '';\n }\n\n if (window.getComputedStyle(el, null).getPropertyValue('display') === 'none') {\n // Still not visible\n el.style.display = 'block';\n }\n }\n\n return this;\n}\n\nfunction styles() {\n const window = getWindow();\n if (this[0]) return window.getComputedStyle(this[0], null);\n return {};\n}\n\nfunction css(props, value) {\n const window = getWindow();\n let i;\n\n if (arguments.length === 1) {\n if (typeof props === 'string') {\n // .css('width')\n if (this[0]) return window.getComputedStyle(this[0], null).getPropertyValue(props);\n } else {\n // .css({ width: '100px' })\n for (i = 0; i < this.length; i += 1) {\n for (const prop in props) {\n this[i].style[prop] = props[prop];\n }\n }\n\n return this;\n }\n }\n\n if (arguments.length === 2 && typeof props === 'string') {\n // .css('width', '100px')\n for (i = 0; i < this.length; i += 1) {\n this[i].style[props] = value;\n }\n\n return this;\n }\n\n return this;\n}\n\nfunction each(callback) {\n if (!callback) return this;\n this.forEach((el, index) => {\n callback.apply(el, [el, index]);\n });\n return this;\n}\n\nfunction filter(callback) {\n const result = arrayFilter(this, callback);\n return $(result);\n}\n\nfunction html(html) {\n if (typeof html === 'undefined') {\n return this[0] ? this[0].innerHTML : null;\n }\n\n for (let i = 0; i < this.length; i += 1) {\n this[i].innerHTML = html;\n }\n\n return this;\n}\n\nfunction text(text) {\n if (typeof text === 'undefined') {\n return this[0] ? this[0].textContent.trim() : null;\n }\n\n for (let i = 0; i < this.length; i += 1) {\n this[i].textContent = text;\n }\n\n return this;\n}\n\nfunction is(selector) {\n const window = getWindow();\n const document = getDocument();\n const el = this[0];\n let compareWith;\n let i;\n if (!el || typeof selector === 'undefined') return false;\n\n if (typeof selector === 'string') {\n if (el.matches) return el.matches(selector);\n if (el.webkitMatchesSelector) return el.webkitMatchesSelector(selector);\n if (el.msMatchesSelector) return el.msMatchesSelector(selector);\n compareWith = $(selector);\n\n for (i = 0; i < compareWith.length; i += 1) {\n if (compareWith[i] === el) return true;\n }\n\n return false;\n }\n\n if (selector === document) {\n return el === document;\n }\n\n if (selector === window) {\n return el === window;\n }\n\n if (selector.nodeType || selector instanceof Dom7) {\n compareWith = selector.nodeType ? [selector] : selector;\n\n for (i = 0; i < compareWith.length; i += 1) {\n if (compareWith[i] === el) return true;\n }\n\n return false;\n }\n\n return false;\n}\n\nfunction index() {\n let child = this[0];\n let i;\n\n if (child) {\n i = 0; // eslint-disable-next-line\n\n while ((child = child.previousSibling) !== null) {\n if (child.nodeType === 1) i += 1;\n }\n\n return i;\n }\n\n return undefined;\n}\n\nfunction eq(index) {\n if (typeof index === 'undefined') return this;\n const length = this.length;\n\n if (index > length - 1) {\n return $([]);\n }\n\n if (index < 0) {\n const returnIndex = length + index;\n if (returnIndex < 0) return $([]);\n return $([this[returnIndex]]);\n }\n\n return $([this[index]]);\n}\n\nfunction append(...els) {\n let newChild;\n const document = getDocument();\n\n for (let k = 0; k < els.length; k += 1) {\n newChild = els[k];\n\n for (let i = 0; i < this.length; i += 1) {\n if (typeof newChild === 'string') {\n const tempDiv = document.createElement('div');\n tempDiv.innerHTML = newChild;\n\n while (tempDiv.firstChild) {\n this[i].appendChild(tempDiv.firstChild);\n }\n } else if (newChild instanceof Dom7) {\n for (let j = 0; j < newChild.length; j += 1) {\n this[i].appendChild(newChild[j]);\n }\n } else {\n this[i].appendChild(newChild);\n }\n }\n }\n\n return this;\n}\n\nfunction appendTo(parent) {\n $(parent).append(this);\n return this;\n}\n\nfunction prepend(newChild) {\n const document = getDocument();\n let i;\n let j;\n\n for (i = 0; i < this.length; i += 1) {\n if (typeof newChild === 'string') {\n const tempDiv = document.createElement('div');\n tempDiv.innerHTML = newChild;\n\n for (j = tempDiv.childNodes.length - 1; j >= 0; j -= 1) {\n this[i].insertBefore(tempDiv.childNodes[j], this[i].childNodes[0]);\n }\n } else if (newChild instanceof Dom7) {\n for (j = 0; j < newChild.length; j += 1) {\n this[i].insertBefore(newChild[j], this[i].childNodes[0]);\n }\n } else {\n this[i].insertBefore(newChild, this[i].childNodes[0]);\n }\n }\n\n return this;\n}\n\nfunction prependTo(parent) {\n $(parent).prepend(this);\n return this;\n}\n\nfunction insertBefore(selector) {\n const before = $(selector);\n\n for (let i = 0; i < this.length; i += 1) {\n if (before.length === 1) {\n before[0].parentNode.insertBefore(this[i], before[0]);\n } else if (before.length > 1) {\n for (let j = 0; j < before.length; j += 1) {\n before[j].parentNode.insertBefore(this[i].cloneNode(true), before[j]);\n }\n }\n }\n}\n\nfunction insertAfter(selector) {\n const after = $(selector);\n\n for (let i = 0; i < this.length; i += 1) {\n if (after.length === 1) {\n after[0].parentNode.insertBefore(this[i], after[0].nextSibling);\n } else if (after.length > 1) {\n for (let j = 0; j < after.length; j += 1) {\n after[j].parentNode.insertBefore(this[i].cloneNode(true), after[j].nextSibling);\n }\n }\n }\n}\n\nfunction next(selector) {\n if (this.length > 0) {\n if (selector) {\n if (this[0].nextElementSibling && $(this[0].nextElementSibling).is(selector)) {\n return $([this[0].nextElementSibling]);\n }\n\n return $([]);\n }\n\n if (this[0].nextElementSibling) return $([this[0].nextElementSibling]);\n return $([]);\n }\n\n return $([]);\n}\n\nfunction nextAll(selector) {\n const nextEls = [];\n let el = this[0];\n if (!el) return $([]);\n\n while (el.nextElementSibling) {\n const next = el.nextElementSibling; // eslint-disable-line\n\n if (selector) {\n if ($(next).is(selector)) nextEls.push(next);\n } else nextEls.push(next);\n\n el = next;\n }\n\n return $(nextEls);\n}\n\nfunction prev(selector) {\n if (this.length > 0) {\n const el = this[0];\n\n if (selector) {\n if (el.previousElementSibling && $(el.previousElementSibling).is(selector)) {\n return $([el.previousElementSibling]);\n }\n\n return $([]);\n }\n\n if (el.previousElementSibling) return $([el.previousElementSibling]);\n return $([]);\n }\n\n return $([]);\n}\n\nfunction prevAll(selector) {\n const prevEls = [];\n let el = this[0];\n if (!el) return $([]);\n\n while (el.previousElementSibling) {\n const prev = el.previousElementSibling; // eslint-disable-line\n\n if (selector) {\n if ($(prev).is(selector)) prevEls.push(prev);\n } else prevEls.push(prev);\n\n el = prev;\n }\n\n return $(prevEls);\n}\n\nfunction siblings(selector) {\n return this.nextAll(selector).add(this.prevAll(selector));\n}\n\nfunction parent(selector) {\n const parents = []; // eslint-disable-line\n\n for (let i = 0; i < this.length; i += 1) {\n if (this[i].parentNode !== null) {\n if (selector) {\n if ($(this[i].parentNode).is(selector)) parents.push(this[i].parentNode);\n } else {\n parents.push(this[i].parentNode);\n }\n }\n }\n\n return $(parents);\n}\n\nfunction parents(selector) {\n const parents = []; // eslint-disable-line\n\n for (let i = 0; i < this.length; i += 1) {\n let parent = this[i].parentNode; // eslint-disable-line\n\n while (parent) {\n if (selector) {\n if ($(parent).is(selector)) parents.push(parent);\n } else {\n parents.push(parent);\n }\n\n parent = parent.parentNode;\n }\n }\n\n return $(parents);\n}\n\nfunction closest(selector) {\n let closest = this; // eslint-disable-line\n\n if (typeof selector === 'undefined') {\n return $([]);\n }\n\n if (!closest.is(selector)) {\n closest = closest.parents(selector).eq(0);\n }\n\n return closest;\n}\n\nfunction find(selector) {\n const foundElements = [];\n\n for (let i = 0; i < this.length; i += 1) {\n const found = this[i].querySelectorAll(selector);\n\n for (let j = 0; j < found.length; j += 1) {\n foundElements.push(found[j]);\n }\n }\n\n return $(foundElements);\n}\n\nfunction children(selector) {\n const children = []; // eslint-disable-line\n\n for (let i = 0; i < this.length; i += 1) {\n const childNodes = this[i].children;\n\n for (let j = 0; j < childNodes.length; j += 1) {\n if (!selector || $(childNodes[j]).is(selector)) {\n children.push(childNodes[j]);\n }\n }\n }\n\n return $(children);\n}\n\nfunction remove() {\n for (let i = 0; i < this.length; i += 1) {\n if (this[i].parentNode) this[i].parentNode.removeChild(this[i]);\n }\n\n return this;\n}\n\nfunction detach() {\n return this.remove();\n}\n\nfunction add(...els) {\n const dom = this;\n let i;\n let j;\n\n for (i = 0; i < els.length; i += 1) {\n const toAdd = $(els[i]);\n\n for (j = 0; j < toAdd.length; j += 1) {\n dom.push(toAdd[j]);\n }\n }\n\n return dom;\n}\n\nfunction empty() {\n for (let i = 0; i < this.length; i += 1) {\n const el = this[i];\n\n if (el.nodeType === 1) {\n for (let j = 0; j < el.childNodes.length; j += 1) {\n if (el.childNodes[j].parentNode) {\n el.childNodes[j].parentNode.removeChild(el.childNodes[j]);\n }\n }\n\n el.textContent = '';\n }\n }\n\n return this;\n}\n\n// eslint-disable-next-line\n\nfunction scrollTo(...args) {\n const window = getWindow();\n let [left, top, duration, easing, callback] = args;\n\n if (args.length === 4 && typeof easing === 'function') {\n callback = easing;\n [left, top, duration, callback, easing] = args;\n }\n\n if (typeof easing === 'undefined') easing = 'swing';\n return this.each(function animate() {\n const el = this;\n let currentTop;\n let currentLeft;\n let maxTop;\n let maxLeft;\n let newTop;\n let newLeft;\n let scrollTop; // eslint-disable-line\n\n let scrollLeft; // eslint-disable-line\n\n let animateTop = top > 0 || top === 0;\n let animateLeft = left > 0 || left === 0;\n\n if (typeof easing === 'undefined') {\n easing = 'swing';\n }\n\n if (animateTop) {\n currentTop = el.scrollTop;\n\n if (!duration) {\n el.scrollTop = top;\n }\n }\n\n if (animateLeft) {\n currentLeft = el.scrollLeft;\n\n if (!duration) {\n el.scrollLeft = left;\n }\n }\n\n if (!duration) return;\n\n if (animateTop) {\n maxTop = el.scrollHeight - el.offsetHeight;\n newTop = Math.max(Math.min(top, maxTop), 0);\n }\n\n if (animateLeft) {\n maxLeft = el.scrollWidth - el.offsetWidth;\n newLeft = Math.max(Math.min(left, maxLeft), 0);\n }\n\n let startTime = null;\n if (animateTop && newTop === currentTop) animateTop = false;\n if (animateLeft && newLeft === currentLeft) animateLeft = false;\n\n function render(time = new Date().getTime()) {\n if (startTime === null) {\n startTime = time;\n }\n\n const progress = Math.max(Math.min((time - startTime) / duration, 1), 0);\n const easeProgress = easing === 'linear' ? progress : 0.5 - Math.cos(progress * Math.PI) / 2;\n let done;\n if (animateTop) scrollTop = currentTop + easeProgress * (newTop - currentTop);\n if (animateLeft) scrollLeft = currentLeft + easeProgress * (newLeft - currentLeft);\n\n if (animateTop && newTop > currentTop && scrollTop >= newTop) {\n el.scrollTop = newTop;\n done = true;\n }\n\n if (animateTop && newTop < currentTop && scrollTop <= newTop) {\n el.scrollTop = newTop;\n done = true;\n }\n\n if (animateLeft && newLeft > currentLeft && scrollLeft >= newLeft) {\n el.scrollLeft = newLeft;\n done = true;\n }\n\n if (animateLeft && newLeft < currentLeft && scrollLeft <= newLeft) {\n el.scrollLeft = newLeft;\n done = true;\n }\n\n if (done) {\n if (callback) callback();\n return;\n }\n\n if (animateTop) el.scrollTop = scrollTop;\n if (animateLeft) el.scrollLeft = scrollLeft;\n window.requestAnimationFrame(render);\n }\n\n window.requestAnimationFrame(render);\n });\n} // scrollTop(top, duration, easing, callback) {\n\n\nfunction scrollTop(...args) {\n let [top, duration, easing, callback] = args;\n\n if (args.length === 3 && typeof easing === 'function') {\n [top, duration, callback, easing] = args;\n }\n\n const dom = this;\n\n if (typeof top === 'undefined') {\n if (dom.length > 0) return dom[0].scrollTop;\n return null;\n }\n\n return dom.scrollTo(undefined, top, duration, easing, callback);\n}\n\nfunction scrollLeft(...args) {\n let [left, duration, easing, callback] = args;\n\n if (args.length === 3 && typeof easing === 'function') {\n [left, duration, callback, easing] = args;\n }\n\n const dom = this;\n\n if (typeof left === 'undefined') {\n if (dom.length > 0) return dom[0].scrollLeft;\n return null;\n }\n\n return dom.scrollTo(left, undefined, duration, easing, callback);\n}\n\n// eslint-disable-next-line\n\nfunction animate(initialProps, initialParams) {\n const window = getWindow();\n const els = this;\n const a = {\n props: Object.assign({}, initialProps),\n params: Object.assign({\n duration: 300,\n easing: 'swing' // or 'linear'\n\n /* Callbacks\n begin(elements)\n complete(elements)\n progress(elements, complete, remaining, start, tweenValue)\n */\n\n }, initialParams),\n elements: els,\n animating: false,\n que: [],\n\n easingProgress(easing, progress) {\n if (easing === 'swing') {\n return 0.5 - Math.cos(progress * Math.PI) / 2;\n }\n\n if (typeof easing === 'function') {\n return easing(progress);\n }\n\n return progress;\n },\n\n stop() {\n if (a.frameId) {\n window.cancelAnimationFrame(a.frameId);\n }\n\n a.animating = false;\n a.elements.each(el => {\n const element = el;\n delete element.dom7AnimateInstance;\n });\n a.que = [];\n },\n\n done(complete) {\n a.animating = false;\n a.elements.each(el => {\n const element = el;\n delete element.dom7AnimateInstance;\n });\n if (complete) complete(els);\n\n if (a.que.length > 0) {\n const que = a.que.shift();\n a.animate(que[0], que[1]);\n }\n },\n\n animate(props, params) {\n if (a.animating) {\n a.que.push([props, params]);\n return a;\n }\n\n const elements = []; // Define & Cache Initials & Units\n\n a.elements.each((el, index) => {\n let initialFullValue;\n let initialValue;\n let unit;\n let finalValue;\n let finalFullValue;\n if (!el.dom7AnimateInstance) a.elements[index].dom7AnimateInstance = a;\n elements[index] = {\n container: el\n };\n Object.keys(props).forEach(prop => {\n initialFullValue = window.getComputedStyle(el, null).getPropertyValue(prop).replace(',', '.');\n initialValue = parseFloat(initialFullValue);\n unit = initialFullValue.replace(initialValue, '');\n finalValue = parseFloat(props[prop]);\n finalFullValue = props[prop] + unit;\n elements[index][prop] = {\n initialFullValue,\n initialValue,\n unit,\n finalValue,\n finalFullValue,\n currentValue: initialValue\n };\n });\n });\n let startTime = null;\n let time;\n let elementsDone = 0;\n let propsDone = 0;\n let done;\n let began = false;\n a.animating = true;\n\n function render() {\n time = new Date().getTime();\n let progress;\n let easeProgress; // let el;\n\n if (!began) {\n began = true;\n if (params.begin) params.begin(els);\n }\n\n if (startTime === null) {\n startTime = time;\n }\n\n if (params.progress) {\n // eslint-disable-next-line\n params.progress(els, Math.max(Math.min((time - startTime) / params.duration, 1), 0), startTime + params.duration - time < 0 ? 0 : startTime + params.duration - time, startTime);\n }\n\n elements.forEach(element => {\n const el = element;\n if (done || el.done) return;\n Object.keys(props).forEach(prop => {\n if (done || el.done) return;\n progress = Math.max(Math.min((time - startTime) / params.duration, 1), 0);\n easeProgress = a.easingProgress(params.easing, progress);\n const {\n initialValue,\n finalValue,\n unit\n } = el[prop];\n el[prop].currentValue = initialValue + easeProgress * (finalValue - initialValue);\n const currentValue = el[prop].currentValue;\n\n if (finalValue > initialValue && currentValue >= finalValue || finalValue < initialValue && currentValue <= finalValue) {\n el.container.style[prop] = finalValue + unit;\n propsDone += 1;\n\n if (propsDone === Object.keys(props).length) {\n el.done = true;\n elementsDone += 1;\n }\n\n if (elementsDone === elements.length) {\n done = true;\n }\n }\n\n if (done) {\n a.done(params.complete);\n return;\n }\n\n el.container.style[prop] = currentValue + unit;\n });\n });\n if (done) return; // Then call\n\n a.frameId = window.requestAnimationFrame(render);\n }\n\n a.frameId = window.requestAnimationFrame(render);\n return a;\n }\n\n };\n\n if (a.elements.length === 0) {\n return els;\n }\n\n let animateInstance;\n\n for (let i = 0; i < a.elements.length; i += 1) {\n if (a.elements[i].dom7AnimateInstance) {\n animateInstance = a.elements[i].dom7AnimateInstance;\n } else a.elements[i].dom7AnimateInstance = a;\n }\n\n if (!animateInstance) {\n animateInstance = a;\n }\n\n if (initialProps === 'stop') {\n animateInstance.stop();\n } else {\n animateInstance.animate(a.props, a.params);\n }\n\n return els;\n}\n\nfunction stop() {\n const els = this;\n\n for (let i = 0; i < els.length; i += 1) {\n if (els[i].dom7AnimateInstance) {\n els[i].dom7AnimateInstance.stop();\n }\n }\n}\n\nconst noTrigger = 'resize scroll'.split(' ');\n\nfunction shortcut(name) {\n function eventHandler(...args) {\n if (typeof args[0] === 'undefined') {\n for (let i = 0; i < this.length; i += 1) {\n if (noTrigger.indexOf(name) < 0) {\n if (name in this[i]) this[i][name]();else {\n $(this[i]).trigger(name);\n }\n }\n }\n\n return this;\n }\n\n return this.on(name, ...args);\n }\n\n return eventHandler;\n}\n\nconst click = shortcut('click');\nconst blur = shortcut('blur');\nconst focus = shortcut('focus');\nconst focusin = shortcut('focusin');\nconst focusout = shortcut('focusout');\nconst keyup = shortcut('keyup');\nconst keydown = shortcut('keydown');\nconst keypress = shortcut('keypress');\nconst submit = shortcut('submit');\nconst change = shortcut('change');\nconst mousedown = shortcut('mousedown');\nconst mousemove = shortcut('mousemove');\nconst mouseup = shortcut('mouseup');\nconst mouseenter = shortcut('mouseenter');\nconst mouseleave = shortcut('mouseleave');\nconst mouseout = shortcut('mouseout');\nconst mouseover = shortcut('mouseover');\nconst touchstart = shortcut('touchstart');\nconst touchend = shortcut('touchend');\nconst touchmove = shortcut('touchmove');\nconst resize = shortcut('resize');\nconst scroll = shortcut('scroll');\n\nexport default $;\nexport { $, add, addClass, animate, animationEnd, append, appendTo, attr, blur, change, children, click, closest, css, data, dataset, detach, each, empty, eq, filter, find, focus, focusin, focusout, hasClass, height, hide, html, index, insertAfter, insertBefore, is, keydown, keypress, keyup, mousedown, mouseenter, mouseleave, mousemove, mouseout, mouseover, mouseup, next, nextAll, off, offset, on, once, outerHeight, outerWidth, parent, parents, prepend, prependTo, prev, prevAll, prop, remove, removeAttr, removeClass, removeData, resize, scroll, scrollLeft, scrollTo, scrollTop, show, siblings, stop, styles, submit, text, toggleClass, touchend, touchmove, touchstart, transform, transition, transitionEnd, trigger, val, value, width };\n","import { $, addClass, removeClass, hasClass, toggleClass, attr, removeAttr, transform, transition, on, off, trigger, transitionEnd, outerWidth, outerHeight, styles, offset, css, each, html, text, is, index, eq, append, prepend, next, nextAll, prev, prevAll, parent, parents, closest, find, children, filter, remove } from 'dom7';\nconst Methods = {\n addClass,\n removeClass,\n hasClass,\n toggleClass,\n attr,\n removeAttr,\n transform,\n transition,\n on,\n off,\n trigger,\n transitionEnd,\n outerWidth,\n outerHeight,\n styles,\n offset,\n css,\n each,\n html,\n text,\n is,\n index,\n eq,\n append,\n prepend,\n next,\n nextAll,\n prev,\n prevAll,\n parent,\n parents,\n closest,\n find,\n children,\n filter,\n remove\n};\nObject.keys(Methods).forEach(methodName => {\n Object.defineProperty($.fn, methodName, {\n value: Methods[methodName],\n writable: true\n });\n});\nexport default $;","import { getWindow } from 'ssr-window';\n\nfunction deleteProps(obj) {\n const object = obj;\n Object.keys(object).forEach(key => {\n try {\n object[key] = null;\n } catch (e) {// no getter for object\n }\n\n try {\n delete object[key];\n } catch (e) {// something got wrong\n }\n });\n}\n\nfunction nextTick(callback, delay = 0) {\n return setTimeout(callback, delay);\n}\n\nfunction now() {\n return Date.now();\n}\n\nfunction getComputedStyle(el) {\n const window = getWindow();\n let style;\n\n if (window.getComputedStyle) {\n style = window.getComputedStyle(el, null);\n }\n\n if (!style && el.currentStyle) {\n style = el.currentStyle;\n }\n\n if (!style) {\n style = el.style;\n }\n\n return style;\n}\n\nfunction getTranslate(el, axis = 'x') {\n const window = getWindow();\n let matrix;\n let curTransform;\n let transformMatrix;\n const curStyle = getComputedStyle(el, null);\n\n if (window.WebKitCSSMatrix) {\n curTransform = curStyle.transform || curStyle.webkitTransform;\n\n if (curTransform.split(',').length > 6) {\n curTransform = curTransform.split(', ').map(a => a.replace(',', '.')).join(', ');\n } // Some old versions of Webkit choke when 'none' is passed; pass\n // empty string instead in this case\n\n\n transformMatrix = new window.WebKitCSSMatrix(curTransform === 'none' ? '' : curTransform);\n } else {\n transformMatrix = curStyle.MozTransform || curStyle.OTransform || curStyle.MsTransform || curStyle.msTransform || curStyle.transform || curStyle.getPropertyValue('transform').replace('translate(', 'matrix(1, 0, 0, 1,');\n matrix = transformMatrix.toString().split(',');\n }\n\n if (axis === 'x') {\n // Latest Chrome and webkits Fix\n if (window.WebKitCSSMatrix) curTransform = transformMatrix.m41; // Crazy IE10 Matrix\n else if (matrix.length === 16) curTransform = parseFloat(matrix[12]); // Normal Browsers\n else curTransform = parseFloat(matrix[4]);\n }\n\n if (axis === 'y') {\n // Latest Chrome and webkits Fix\n if (window.WebKitCSSMatrix) curTransform = transformMatrix.m42; // Crazy IE10 Matrix\n else if (matrix.length === 16) curTransform = parseFloat(matrix[13]); // Normal Browsers\n else curTransform = parseFloat(matrix[5]);\n }\n\n return curTransform || 0;\n}\n\nfunction isObject(o) {\n return typeof o === 'object' && o !== null && o.constructor && Object.prototype.toString.call(o).slice(8, -1) === 'Object';\n}\n\nfunction isNode(node) {\n // eslint-disable-next-line\n if (typeof window !== 'undefined' && typeof window.HTMLElement !== 'undefined') {\n return node instanceof HTMLElement;\n }\n\n return node && (node.nodeType === 1 || node.nodeType === 11);\n}\n\nfunction extend(...args) {\n const to = Object(args[0]);\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n\n for (let i = 1; i < args.length; i += 1) {\n const nextSource = args[i];\n\n if (nextSource !== undefined && nextSource !== null && !isNode(nextSource)) {\n const keysArray = Object.keys(Object(nextSource)).filter(key => noExtend.indexOf(key) < 0);\n\n for (let nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex += 1) {\n const nextKey = keysArray[nextIndex];\n const desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);\n\n if (desc !== undefined && desc.enumerable) {\n if (isObject(to[nextKey]) && isObject(nextSource[nextKey])) {\n if (nextSource[nextKey].__swiper__) {\n to[nextKey] = nextSource[nextKey];\n } else {\n extend(to[nextKey], nextSource[nextKey]);\n }\n } else if (!isObject(to[nextKey]) && isObject(nextSource[nextKey])) {\n to[nextKey] = {};\n\n if (nextSource[nextKey].__swiper__) {\n to[nextKey] = nextSource[nextKey];\n } else {\n extend(to[nextKey], nextSource[nextKey]);\n }\n } else {\n to[nextKey] = nextSource[nextKey];\n }\n }\n }\n }\n }\n\n return to;\n}\n\nfunction setCSSProperty(el, varName, varValue) {\n el.style.setProperty(varName, varValue);\n}\n\nfunction animateCSSModeScroll({\n swiper,\n targetPosition,\n side\n}) {\n const window = getWindow();\n const startPosition = -swiper.translate;\n let startTime = null;\n let time;\n const duration = swiper.params.speed;\n swiper.wrapperEl.style.scrollSnapType = 'none';\n window.cancelAnimationFrame(swiper.cssModeFrameID);\n const dir = targetPosition > startPosition ? 'next' : 'prev';\n\n const isOutOfBound = (current, target) => {\n return dir === 'next' && current >= target || dir === 'prev' && current <= target;\n };\n\n const animate = () => {\n time = new Date().getTime();\n\n if (startTime === null) {\n startTime = time;\n }\n\n const progress = Math.max(Math.min((time - startTime) / duration, 1), 0);\n const easeProgress = 0.5 - Math.cos(progress * Math.PI) / 2;\n let currentPosition = startPosition + easeProgress * (targetPosition - startPosition);\n\n if (isOutOfBound(currentPosition, targetPosition)) {\n currentPosition = targetPosition;\n }\n\n swiper.wrapperEl.scrollTo({\n [side]: currentPosition\n });\n\n if (isOutOfBound(currentPosition, targetPosition)) {\n swiper.wrapperEl.style.overflow = 'hidden';\n swiper.wrapperEl.style.scrollSnapType = '';\n setTimeout(() => {\n swiper.wrapperEl.style.overflow = '';\n swiper.wrapperEl.scrollTo({\n [side]: currentPosition\n });\n });\n window.cancelAnimationFrame(swiper.cssModeFrameID);\n return;\n }\n\n swiper.cssModeFrameID = window.requestAnimationFrame(animate);\n };\n\n animate();\n}\n\nexport { animateCSSModeScroll, deleteProps, nextTick, now, getTranslate, isObject, extend, getComputedStyle, setCSSProperty };","import { getWindow, getDocument } from 'ssr-window';\nlet support;\n\nfunction calcSupport() {\n const window = getWindow();\n const document = getDocument();\n return {\n smoothScroll: document.documentElement && 'scrollBehavior' in document.documentElement.style,\n touch: !!('ontouchstart' in window || window.DocumentTouch && document instanceof window.DocumentTouch),\n passiveListener: function checkPassiveListener() {\n let supportsPassive = false;\n\n try {\n const opts = Object.defineProperty({}, 'passive', {\n // eslint-disable-next-line\n get() {\n supportsPassive = true;\n }\n\n });\n window.addEventListener('testPassiveListener', null, opts);\n } catch (e) {// No support\n }\n\n return supportsPassive;\n }(),\n gestures: function checkGestures() {\n return 'ongesturestart' in window;\n }()\n };\n}\n\nfunction getSupport() {\n if (!support) {\n support = calcSupport();\n }\n\n return support;\n}\n\nexport { getSupport };","import { getWindow } from 'ssr-window';\nimport { getSupport } from './get-support.js';\nlet deviceCached;\n\nfunction calcDevice({\n userAgent\n} = {}) {\n const support = getSupport();\n const window = getWindow();\n const platform = window.navigator.platform;\n const ua = userAgent || window.navigator.userAgent;\n const device = {\n ios: false,\n android: false\n };\n const screenWidth = window.screen.width;\n const screenHeight = window.screen.height;\n const android = ua.match(/(Android);?[\\s\\/]+([\\d.]+)?/); // eslint-disable-line\n\n let ipad = ua.match(/(iPad).*OS\\s([\\d_]+)/);\n const ipod = ua.match(/(iPod)(.*OS\\s([\\d_]+))?/);\n const iphone = !ipad && ua.match(/(iPhone\\sOS|iOS)\\s([\\d_]+)/);\n const windows = platform === 'Win32';\n let macos = platform === 'MacIntel'; // iPadOs 13 fix\n\n const iPadScreens = ['1024x1366', '1366x1024', '834x1194', '1194x834', '834x1112', '1112x834', '768x1024', '1024x768', '820x1180', '1180x820', '810x1080', '1080x810'];\n\n if (!ipad && macos && support.touch && iPadScreens.indexOf(`${screenWidth}x${screenHeight}`) >= 0) {\n ipad = ua.match(/(Version)\\/([\\d.]+)/);\n if (!ipad) ipad = [0, 1, '13_0_0'];\n macos = false;\n } // Android\n\n\n if (android && !windows) {\n device.os = 'android';\n device.android = true;\n }\n\n if (ipad || iphone || ipod) {\n device.os = 'ios';\n device.ios = true;\n } // Export object\n\n\n return device;\n}\n\nfunction getDevice(overrides = {}) {\n if (!deviceCached) {\n deviceCached = calcDevice(overrides);\n }\n\n return deviceCached;\n}\n\nexport { getDevice };","import { getWindow } from 'ssr-window';\nlet browser;\n\nfunction calcBrowser() {\n const window = getWindow();\n\n function isSafari() {\n const ua = window.navigator.userAgent.toLowerCase();\n return ua.indexOf('safari') >= 0 && ua.indexOf('chrome') < 0 && ua.indexOf('android') < 0;\n }\n\n return {\n isSafari: isSafari(),\n isWebView: /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(window.navigator.userAgent)\n };\n}\n\nfunction getBrowser() {\n if (!browser) {\n browser = calcBrowser();\n }\n\n return browser;\n}\n\nexport { getBrowser };","export default function transitionEmit({\n swiper,\n runCallbacks,\n direction,\n step\n}) {\n const {\n activeIndex,\n previousIndex\n } = swiper;\n let dir = direction;\n\n if (!dir) {\n if (activeIndex > previousIndex) dir = 'next';else if (activeIndex < previousIndex) dir = 'prev';else dir = 'reset';\n }\n\n swiper.emit(`transition${step}`);\n\n if (runCallbacks && activeIndex !== previousIndex) {\n if (dir === 'reset') {\n swiper.emit(`slideResetTransition${step}`);\n return;\n }\n\n swiper.emit(`slideChangeTransition${step}`);\n\n if (dir === 'next') {\n swiper.emit(`slideNextTransition${step}`);\n } else {\n swiper.emit(`slidePrevTransition${step}`);\n }\n }\n}","import { getWindow, getDocument } from 'ssr-window';\nimport $ from '../../shared/dom.js';\nimport { now } from '../../shared/utils.js'; // Modified from https://stackoverflow.com/questions/54520554/custom-element-getrootnode-closest-function-crossing-multiple-parent-shadowd\n\nfunction closestElement(selector, base = this) {\n function __closestFrom(el) {\n if (!el || el === getDocument() || el === getWindow()) return null;\n if (el.assignedSlot) el = el.assignedSlot;\n const found = el.closest(selector);\n\n if (!found && !el.getRootNode) {\n return null;\n }\n\n return found || __closestFrom(el.getRootNode().host);\n }\n\n return __closestFrom(base);\n}\n\nexport default function onTouchStart(event) {\n const swiper = this;\n const document = getDocument();\n const window = getWindow();\n const data = swiper.touchEventsData;\n const {\n params,\n touches,\n enabled\n } = swiper;\n if (!enabled) return;\n\n if (swiper.animating && params.preventInteractionOnTransition) {\n return;\n }\n\n if (!swiper.animating && params.cssMode && params.loop) {\n swiper.loopFix();\n }\n\n let e = event;\n if (e.originalEvent) e = e.originalEvent;\n let $targetEl = $(e.target);\n\n if (params.touchEventsTarget === 'wrapper') {\n if (!$targetEl.closest(swiper.wrapperEl).length) return;\n }\n\n data.isTouchEvent = e.type === 'touchstart';\n if (!data.isTouchEvent && 'which' in e && e.which === 3) return;\n if (!data.isTouchEvent && 'button' in e && e.button > 0) return;\n if (data.isTouched && data.isMoved) return; // change target el for shadow root component\n\n const swipingClassHasValue = !!params.noSwipingClass && params.noSwipingClass !== ''; // eslint-disable-next-line\n\n const eventPath = event.composedPath ? event.composedPath() : event.path;\n\n if (swipingClassHasValue && e.target && e.target.shadowRoot && eventPath) {\n $targetEl = $(eventPath[0]);\n }\n\n const noSwipingSelector = params.noSwipingSelector ? params.noSwipingSelector : `.${params.noSwipingClass}`;\n const isTargetShadow = !!(e.target && e.target.shadowRoot); // use closestElement for shadow root element to get the actual closest for nested shadow root element\n\n if (params.noSwiping && (isTargetShadow ? closestElement(noSwipingSelector, $targetEl[0]) : $targetEl.closest(noSwipingSelector)[0])) {\n swiper.allowClick = true;\n return;\n }\n\n if (params.swipeHandler) {\n if (!$targetEl.closest(params.swipeHandler)[0]) return;\n }\n\n touches.currentX = e.type === 'touchstart' ? e.targetTouches[0].pageX : e.pageX;\n touches.currentY = e.type === 'touchstart' ? e.targetTouches[0].pageY : e.pageY;\n const startX = touches.currentX;\n const startY = touches.currentY; // Do NOT start if iOS edge swipe is detected. Otherwise iOS app cannot swipe-to-go-back anymore\n\n const edgeSwipeDetection = params.edgeSwipeDetection || params.iOSEdgeSwipeDetection;\n const edgeSwipeThreshold = params.edgeSwipeThreshold || params.iOSEdgeSwipeThreshold;\n\n if (edgeSwipeDetection && (startX <= edgeSwipeThreshold || startX >= window.innerWidth - edgeSwipeThreshold)) {\n if (edgeSwipeDetection === 'prevent') {\n event.preventDefault();\n } else {\n return;\n }\n }\n\n Object.assign(data, {\n isTouched: true,\n isMoved: false,\n allowTouchCallbacks: true,\n isScrolling: undefined,\n startMoving: undefined\n });\n touches.startX = startX;\n touches.startY = startY;\n data.touchStartTime = now();\n swiper.allowClick = true;\n swiper.updateSize();\n swiper.swipeDirection = undefined;\n if (params.threshold > 0) data.allowThresholdMove = false;\n\n if (e.type !== 'touchstart') {\n let preventDefault = true;\n\n if ($targetEl.is(data.focusableElements)) {\n preventDefault = false;\n\n if ($targetEl[0].nodeName === 'SELECT') {\n data.isTouched = false;\n }\n }\n\n if (document.activeElement && $(document.activeElement).is(data.focusableElements) && document.activeElement !== $targetEl[0]) {\n document.activeElement.blur();\n }\n\n const shouldPreventDefault = preventDefault && swiper.allowTouchMove && params.touchStartPreventDefault;\n\n if ((params.touchStartForcePreventDefault || shouldPreventDefault) && !$targetEl[0].isContentEditable) {\n e.preventDefault();\n }\n }\n\n if (swiper.params.freeMode && swiper.params.freeMode.enabled && swiper.freeMode && swiper.animating && !params.cssMode) {\n swiper.freeMode.onTouchStart();\n }\n\n swiper.emit('touchStart', e);\n}","import { getDocument } from 'ssr-window';\nimport $ from '../../shared/dom.js';\nimport { now } from '../../shared/utils.js';\nexport default function onTouchMove(event) {\n const document = getDocument();\n const swiper = this;\n const data = swiper.touchEventsData;\n const {\n params,\n touches,\n rtlTranslate: rtl,\n enabled\n } = swiper;\n if (!enabled) return;\n let e = event;\n if (e.originalEvent) e = e.originalEvent;\n\n if (!data.isTouched) {\n if (data.startMoving && data.isScrolling) {\n swiper.emit('touchMoveOpposite', e);\n }\n\n return;\n }\n\n if (data.isTouchEvent && e.type !== 'touchmove') return;\n const targetTouch = e.type === 'touchmove' && e.targetTouches && (e.targetTouches[0] || e.changedTouches[0]);\n const pageX = e.type === 'touchmove' ? targetTouch.pageX : e.pageX;\n const pageY = e.type === 'touchmove' ? targetTouch.pageY : e.pageY;\n\n if (e.preventedByNestedSwiper) {\n touches.startX = pageX;\n touches.startY = pageY;\n return;\n }\n\n if (!swiper.allowTouchMove) {\n if (!$(e.target).is(data.focusableElements)) {\n swiper.allowClick = false;\n }\n\n if (data.isTouched) {\n Object.assign(touches, {\n startX: pageX,\n startY: pageY,\n currentX: pageX,\n currentY: pageY\n });\n data.touchStartTime = now();\n }\n\n return;\n }\n\n if (data.isTouchEvent && params.touchReleaseOnEdges && !params.loop) {\n if (swiper.isVertical()) {\n // Vertical\n if (pageY < touches.startY && swiper.translate <= swiper.maxTranslate() || pageY > touches.startY && swiper.translate >= swiper.minTranslate()) {\n data.isTouched = false;\n data.isMoved = false;\n return;\n }\n } else if (pageX < touches.startX && swiper.translate <= swiper.maxTranslate() || pageX > touches.startX && swiper.translate >= swiper.minTranslate()) {\n return;\n }\n }\n\n if (data.isTouchEvent && document.activeElement) {\n if (e.target === document.activeElement && $(e.target).is(data.focusableElements)) {\n data.isMoved = true;\n swiper.allowClick = false;\n return;\n }\n }\n\n if (data.allowTouchCallbacks) {\n swiper.emit('touchMove', e);\n }\n\n if (e.targetTouches && e.targetTouches.length > 1) return;\n touches.currentX = pageX;\n touches.currentY = pageY;\n const diffX = touches.currentX - touches.startX;\n const diffY = touches.currentY - touches.startY;\n if (swiper.params.threshold && Math.sqrt(diffX ** 2 + diffY ** 2) < swiper.params.threshold) return;\n\n if (typeof data.isScrolling === 'undefined') {\n let touchAngle;\n\n if (swiper.isHorizontal() && touches.currentY === touches.startY || swiper.isVertical() && touches.currentX === touches.startX) {\n data.isScrolling = false;\n } else {\n // eslint-disable-next-line\n if (diffX * diffX + diffY * diffY >= 25) {\n touchAngle = Math.atan2(Math.abs(diffY), Math.abs(diffX)) * 180 / Math.PI;\n data.isScrolling = swiper.isHorizontal() ? touchAngle > params.touchAngle : 90 - touchAngle > params.touchAngle;\n }\n }\n }\n\n if (data.isScrolling) {\n swiper.emit('touchMoveOpposite', e);\n }\n\n if (typeof data.startMoving === 'undefined') {\n if (touches.currentX !== touches.startX || touches.currentY !== touches.startY) {\n data.startMoving = true;\n }\n }\n\n if (data.isScrolling) {\n data.isTouched = false;\n return;\n }\n\n if (!data.startMoving) {\n return;\n }\n\n swiper.allowClick = false;\n\n if (!params.cssMode && e.cancelable) {\n e.preventDefault();\n }\n\n if (params.touchMoveStopPropagation && !params.nested) {\n e.stopPropagation();\n }\n\n if (!data.isMoved) {\n if (params.loop && !params.cssMode) {\n swiper.loopFix();\n }\n\n data.startTranslate = swiper.getTranslate();\n swiper.setTransition(0);\n\n if (swiper.animating) {\n swiper.$wrapperEl.trigger('webkitTransitionEnd transitionend');\n }\n\n data.allowMomentumBounce = false; // Grab Cursor\n\n if (params.grabCursor && (swiper.allowSlideNext === true || swiper.allowSlidePrev === true)) {\n swiper.setGrabCursor(true);\n }\n\n swiper.emit('sliderFirstMove', e);\n }\n\n swiper.emit('sliderMove', e);\n data.isMoved = true;\n let diff = swiper.isHorizontal() ? diffX : diffY;\n touches.diff = diff;\n diff *= params.touchRatio;\n if (rtl) diff = -diff;\n swiper.swipeDirection = diff > 0 ? 'prev' : 'next';\n data.currentTranslate = diff + data.startTranslate;\n let disableParentSwiper = true;\n let resistanceRatio = params.resistanceRatio;\n\n if (params.touchReleaseOnEdges) {\n resistanceRatio = 0;\n }\n\n if (diff > 0 && data.currentTranslate > swiper.minTranslate()) {\n disableParentSwiper = false;\n if (params.resistance) data.currentTranslate = swiper.minTranslate() - 1 + (-swiper.minTranslate() + data.startTranslate + diff) ** resistanceRatio;\n } else if (diff < 0 && data.currentTranslate < swiper.maxTranslate()) {\n disableParentSwiper = false;\n if (params.resistance) data.currentTranslate = swiper.maxTranslate() + 1 - (swiper.maxTranslate() - data.startTranslate - diff) ** resistanceRatio;\n }\n\n if (disableParentSwiper) {\n e.preventedByNestedSwiper = true;\n } // Directions locks\n\n\n if (!swiper.allowSlideNext && swiper.swipeDirection === 'next' && data.currentTranslate < data.startTranslate) {\n data.currentTranslate = data.startTranslate;\n }\n\n if (!swiper.allowSlidePrev && swiper.swipeDirection === 'prev' && data.currentTranslate > data.startTranslate) {\n data.currentTranslate = data.startTranslate;\n }\n\n if (!swiper.allowSlidePrev && !swiper.allowSlideNext) {\n data.currentTranslate = data.startTranslate;\n } // Threshold\n\n\n if (params.threshold > 0) {\n if (Math.abs(diff) > params.threshold || data.allowThresholdMove) {\n if (!data.allowThresholdMove) {\n data.allowThresholdMove = true;\n touches.startX = touches.currentX;\n touches.startY = touches.currentY;\n data.currentTranslate = data.startTranslate;\n touches.diff = swiper.isHorizontal() ? touches.currentX - touches.startX : touches.currentY - touches.startY;\n return;\n }\n } else {\n data.currentTranslate = data.startTranslate;\n return;\n }\n }\n\n if (!params.followFinger || params.cssMode) return; // Update active index in free mode\n\n if (params.freeMode && params.freeMode.enabled && swiper.freeMode || params.watchSlidesProgress) {\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n }\n\n if (swiper.params.freeMode && params.freeMode.enabled && swiper.freeMode) {\n swiper.freeMode.onTouchMove();\n } // Update progress\n\n\n swiper.updateProgress(data.currentTranslate); // Update translate\n\n swiper.setTranslate(data.currentTranslate);\n}","import { now, nextTick } from '../../shared/utils.js';\nexport default function onTouchEnd(event) {\n const swiper = this;\n const data = swiper.touchEventsData;\n const {\n params,\n touches,\n rtlTranslate: rtl,\n slidesGrid,\n enabled\n } = swiper;\n if (!enabled) return;\n let e = event;\n if (e.originalEvent) e = e.originalEvent;\n\n if (data.allowTouchCallbacks) {\n swiper.emit('touchEnd', e);\n }\n\n data.allowTouchCallbacks = false;\n\n if (!data.isTouched) {\n if (data.isMoved && params.grabCursor) {\n swiper.setGrabCursor(false);\n }\n\n data.isMoved = false;\n data.startMoving = false;\n return;\n } // Return Grab Cursor\n\n\n if (params.grabCursor && data.isMoved && data.isTouched && (swiper.allowSlideNext === true || swiper.allowSlidePrev === true)) {\n swiper.setGrabCursor(false);\n } // Time diff\n\n\n const touchEndTime = now();\n const timeDiff = touchEndTime - data.touchStartTime; // Tap, doubleTap, Click\n\n if (swiper.allowClick) {\n const pathTree = e.path || e.composedPath && e.composedPath();\n swiper.updateClickedSlide(pathTree && pathTree[0] || e.target);\n swiper.emit('tap click', e);\n\n if (timeDiff < 300 && touchEndTime - data.lastClickTime < 300) {\n swiper.emit('doubleTap doubleClick', e);\n }\n }\n\n data.lastClickTime = now();\n nextTick(() => {\n if (!swiper.destroyed) swiper.allowClick = true;\n });\n\n if (!data.isTouched || !data.isMoved || !swiper.swipeDirection || touches.diff === 0 || data.currentTranslate === data.startTranslate) {\n data.isTouched = false;\n data.isMoved = false;\n data.startMoving = false;\n return;\n }\n\n data.isTouched = false;\n data.isMoved = false;\n data.startMoving = false;\n let currentPos;\n\n if (params.followFinger) {\n currentPos = rtl ? swiper.translate : -swiper.translate;\n } else {\n currentPos = -data.currentTranslate;\n }\n\n if (params.cssMode) {\n return;\n }\n\n if (swiper.params.freeMode && params.freeMode.enabled) {\n swiper.freeMode.onTouchEnd({\n currentPos\n });\n return;\n } // Find current slide\n\n\n let stopIndex = 0;\n let groupSize = swiper.slidesSizesGrid[0];\n\n for (let i = 0; i < slidesGrid.length; i += i < params.slidesPerGroupSkip ? 1 : params.slidesPerGroup) {\n const increment = i < params.slidesPerGroupSkip - 1 ? 1 : params.slidesPerGroup;\n\n if (typeof slidesGrid[i + increment] !== 'undefined') {\n if (currentPos >= slidesGrid[i] && currentPos < slidesGrid[i + increment]) {\n stopIndex = i;\n groupSize = slidesGrid[i + increment] - slidesGrid[i];\n }\n } else if (currentPos >= slidesGrid[i]) {\n stopIndex = i;\n groupSize = slidesGrid[slidesGrid.length - 1] - slidesGrid[slidesGrid.length - 2];\n }\n }\n\n let rewindFirstIndex = null;\n let rewindLastIndex = null;\n\n if (params.rewind) {\n if (swiper.isBeginning) {\n rewindLastIndex = swiper.params.virtual && swiper.params.virtual.enabled && swiper.virtual ? swiper.virtual.slides.length - 1 : swiper.slides.length - 1;\n } else if (swiper.isEnd) {\n rewindFirstIndex = 0;\n }\n } // Find current slide size\n\n\n const ratio = (currentPos - slidesGrid[stopIndex]) / groupSize;\n const increment = stopIndex < params.slidesPerGroupSkip - 1 ? 1 : params.slidesPerGroup;\n\n if (timeDiff > params.longSwipesMs) {\n // Long touches\n if (!params.longSwipes) {\n swiper.slideTo(swiper.activeIndex);\n return;\n }\n\n if (swiper.swipeDirection === 'next') {\n if (ratio >= params.longSwipesRatio) swiper.slideTo(params.rewind && swiper.isEnd ? rewindFirstIndex : stopIndex + increment);else swiper.slideTo(stopIndex);\n }\n\n if (swiper.swipeDirection === 'prev') {\n if (ratio > 1 - params.longSwipesRatio) {\n swiper.slideTo(stopIndex + increment);\n } else if (rewindLastIndex !== null && ratio < 0 && Math.abs(ratio) > params.longSwipesRatio) {\n swiper.slideTo(rewindLastIndex);\n } else {\n swiper.slideTo(stopIndex);\n }\n }\n } else {\n // Short swipes\n if (!params.shortSwipes) {\n swiper.slideTo(swiper.activeIndex);\n return;\n }\n\n const isNavButtonTarget = swiper.navigation && (e.target === swiper.navigation.nextEl || e.target === swiper.navigation.prevEl);\n\n if (!isNavButtonTarget) {\n if (swiper.swipeDirection === 'next') {\n swiper.slideTo(rewindFirstIndex !== null ? rewindFirstIndex : stopIndex + increment);\n }\n\n if (swiper.swipeDirection === 'prev') {\n swiper.slideTo(rewindLastIndex !== null ? rewindLastIndex : stopIndex);\n }\n } else if (e.target === swiper.navigation.nextEl) {\n swiper.slideTo(stopIndex + increment);\n } else {\n swiper.slideTo(stopIndex);\n }\n }\n}","export default function onResize() {\n const swiper = this;\n const {\n params,\n el\n } = swiper;\n if (el && el.offsetWidth === 0) return; // Breakpoints\n\n if (params.breakpoints) {\n swiper.setBreakpoint();\n } // Save locks\n\n\n const {\n allowSlideNext,\n allowSlidePrev,\n snapGrid\n } = swiper; // Disable locks on resize\n\n swiper.allowSlideNext = true;\n swiper.allowSlidePrev = true;\n swiper.updateSize();\n swiper.updateSlides();\n swiper.updateSlidesClasses();\n\n if ((params.slidesPerView === 'auto' || params.slidesPerView > 1) && swiper.isEnd && !swiper.isBeginning && !swiper.params.centeredSlides) {\n swiper.slideTo(swiper.slides.length - 1, 0, false, true);\n } else {\n swiper.slideTo(swiper.activeIndex, 0, false, true);\n }\n\n if (swiper.autoplay && swiper.autoplay.running && swiper.autoplay.paused) {\n swiper.autoplay.run();\n } // Return locks after resize\n\n\n swiper.allowSlidePrev = allowSlidePrev;\n swiper.allowSlideNext = allowSlideNext;\n\n if (swiper.params.watchOverflow && snapGrid !== swiper.snapGrid) {\n swiper.checkOverflow();\n }\n}","export default function onClick(e) {\n const swiper = this;\n if (!swiper.enabled) return;\n\n if (!swiper.allowClick) {\n if (swiper.params.preventClicks) e.preventDefault();\n\n if (swiper.params.preventClicksPropagation && swiper.animating) {\n e.stopPropagation();\n e.stopImmediatePropagation();\n }\n }\n}","export default function onScroll() {\n const swiper = this;\n const {\n wrapperEl,\n rtlTranslate,\n enabled\n } = swiper;\n if (!enabled) return;\n swiper.previousTranslate = swiper.translate;\n\n if (swiper.isHorizontal()) {\n swiper.translate = -wrapperEl.scrollLeft;\n } else {\n swiper.translate = -wrapperEl.scrollTop;\n } // eslint-disable-next-line\n\n\n if (swiper.translate === 0) swiper.translate = 0;\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n let newProgress;\n const translatesDiff = swiper.maxTranslate() - swiper.minTranslate();\n\n if (translatesDiff === 0) {\n newProgress = 0;\n } else {\n newProgress = (swiper.translate - swiper.minTranslate()) / translatesDiff;\n }\n\n if (newProgress !== swiper.progress) {\n swiper.updateProgress(rtlTranslate ? -swiper.translate : swiper.translate);\n }\n\n swiper.emit('setTranslate', swiper.translate, false);\n}","import { getDocument } from 'ssr-window';\nimport onTouchStart from './onTouchStart.js';\nimport onTouchMove from './onTouchMove.js';\nimport onTouchEnd from './onTouchEnd.js';\nimport onResize from './onResize.js';\nimport onClick from './onClick.js';\nimport onScroll from './onScroll.js';\nlet dummyEventAttached = false;\n\nfunction dummyEventListener() {}\n\nconst events = (swiper, method) => {\n const document = getDocument();\n const {\n params,\n touchEvents,\n el,\n wrapperEl,\n device,\n support\n } = swiper;\n const capture = !!params.nested;\n const domMethod = method === 'on' ? 'addEventListener' : 'removeEventListener';\n const swiperMethod = method; // Touch Events\n\n if (!support.touch) {\n el[domMethod](touchEvents.start, swiper.onTouchStart, false);\n document[domMethod](touchEvents.move, swiper.onTouchMove, capture);\n document[domMethod](touchEvents.end, swiper.onTouchEnd, false);\n } else {\n const passiveListener = touchEvents.start === 'touchstart' && support.passiveListener && params.passiveListeners ? {\n passive: true,\n capture: false\n } : false;\n el[domMethod](touchEvents.start, swiper.onTouchStart, passiveListener);\n el[domMethod](touchEvents.move, swiper.onTouchMove, support.passiveListener ? {\n passive: false,\n capture\n } : capture);\n el[domMethod](touchEvents.end, swiper.onTouchEnd, passiveListener);\n\n if (touchEvents.cancel) {\n el[domMethod](touchEvents.cancel, swiper.onTouchEnd, passiveListener);\n }\n } // Prevent Links Clicks\n\n\n if (params.preventClicks || params.preventClicksPropagation) {\n el[domMethod]('click', swiper.onClick, true);\n }\n\n if (params.cssMode) {\n wrapperEl[domMethod]('scroll', swiper.onScroll);\n } // Resize handler\n\n\n if (params.updateOnWindowResize) {\n swiper[swiperMethod](device.ios || device.android ? 'resize orientationchange observerUpdate' : 'resize observerUpdate', onResize, true);\n } else {\n swiper[swiperMethod]('observerUpdate', onResize, true);\n }\n};\n\nfunction attachEvents() {\n const swiper = this;\n const document = getDocument();\n const {\n params,\n support\n } = swiper;\n swiper.onTouchStart = onTouchStart.bind(swiper);\n swiper.onTouchMove = onTouchMove.bind(swiper);\n swiper.onTouchEnd = onTouchEnd.bind(swiper);\n\n if (params.cssMode) {\n swiper.onScroll = onScroll.bind(swiper);\n }\n\n swiper.onClick = onClick.bind(swiper);\n\n if (support.touch && !dummyEventAttached) {\n document.addEventListener('touchstart', dummyEventListener);\n dummyEventAttached = true;\n }\n\n events(swiper, 'on');\n}\n\nfunction detachEvents() {\n const swiper = this;\n events(swiper, 'off');\n}\n\nexport default {\n attachEvents,\n detachEvents\n};","import { extend } from '../../shared/utils.js';\n\nconst isGridEnabled = (swiper, params) => {\n return swiper.grid && params.grid && params.grid.rows > 1;\n};\n\nexport default function setBreakpoint() {\n const swiper = this;\n const {\n activeIndex,\n initialized,\n loopedSlides = 0,\n params,\n $el\n } = swiper;\n const breakpoints = params.breakpoints;\n if (!breakpoints || breakpoints && Object.keys(breakpoints).length === 0) return; // Get breakpoint for window width and update parameters\n\n const breakpoint = swiper.getBreakpoint(breakpoints, swiper.params.breakpointsBase, swiper.el);\n if (!breakpoint || swiper.currentBreakpoint === breakpoint) return;\n const breakpointOnlyParams = breakpoint in breakpoints ? breakpoints[breakpoint] : undefined;\n const breakpointParams = breakpointOnlyParams || swiper.originalParams;\n const wasMultiRow = isGridEnabled(swiper, params);\n const isMultiRow = isGridEnabled(swiper, breakpointParams);\n const wasEnabled = params.enabled;\n\n if (wasMultiRow && !isMultiRow) {\n $el.removeClass(`${params.containerModifierClass}grid ${params.containerModifierClass}grid-column`);\n swiper.emitContainerClasses();\n } else if (!wasMultiRow && isMultiRow) {\n $el.addClass(`${params.containerModifierClass}grid`);\n\n if (breakpointParams.grid.fill && breakpointParams.grid.fill === 'column' || !breakpointParams.grid.fill && params.grid.fill === 'column') {\n $el.addClass(`${params.containerModifierClass}grid-column`);\n }\n\n swiper.emitContainerClasses();\n } // Toggle navigation, pagination, scrollbar\n\n\n ['navigation', 'pagination', 'scrollbar'].forEach(prop => {\n const wasModuleEnabled = params[prop] && params[prop].enabled;\n const isModuleEnabled = breakpointParams[prop] && breakpointParams[prop].enabled;\n\n if (wasModuleEnabled && !isModuleEnabled) {\n swiper[prop].disable();\n }\n\n if (!wasModuleEnabled && isModuleEnabled) {\n swiper[prop].enable();\n }\n });\n const directionChanged = breakpointParams.direction && breakpointParams.direction !== params.direction;\n const needsReLoop = params.loop && (breakpointParams.slidesPerView !== params.slidesPerView || directionChanged);\n\n if (directionChanged && initialized) {\n swiper.changeDirection();\n }\n\n extend(swiper.params, breakpointParams);\n const isEnabled = swiper.params.enabled;\n Object.assign(swiper, {\n allowTouchMove: swiper.params.allowTouchMove,\n allowSlideNext: swiper.params.allowSlideNext,\n allowSlidePrev: swiper.params.allowSlidePrev\n });\n\n if (wasEnabled && !isEnabled) {\n swiper.disable();\n } else if (!wasEnabled && isEnabled) {\n swiper.enable();\n }\n\n swiper.currentBreakpoint = breakpoint;\n swiper.emit('_beforeBreakpoint', breakpointParams);\n\n if (needsReLoop && initialized) {\n swiper.loopDestroy();\n swiper.loopCreate();\n swiper.updateSlides();\n swiper.slideTo(activeIndex - loopedSlides + swiper.loopedSlides, 0, false);\n }\n\n swiper.emit('breakpoint', breakpointParams);\n}","export default {\n init: true,\n direction: 'horizontal',\n touchEventsTarget: 'wrapper',\n initialSlide: 0,\n speed: 300,\n cssMode: false,\n updateOnWindowResize: true,\n resizeObserver: true,\n nested: false,\n createElements: false,\n enabled: true,\n focusableElements: 'input, select, option, textarea, button, video, label',\n // Overrides\n width: null,\n height: null,\n //\n preventInteractionOnTransition: false,\n // ssr\n userAgent: null,\n url: null,\n // To support iOS's swipe-to-go-back gesture (when being used in-app).\n edgeSwipeDetection: false,\n edgeSwipeThreshold: 20,\n // Autoheight\n autoHeight: false,\n // Set wrapper width\n setWrapperSize: false,\n // Virtual Translate\n virtualTranslate: false,\n // Effects\n effect: 'slide',\n // 'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'\n // Breakpoints\n breakpoints: undefined,\n breakpointsBase: 'window',\n // Slides grid\n spaceBetween: 0,\n slidesPerView: 1,\n slidesPerGroup: 1,\n slidesPerGroupSkip: 0,\n slidesPerGroupAuto: false,\n centeredSlides: false,\n centeredSlidesBounds: false,\n slidesOffsetBefore: 0,\n // in px\n slidesOffsetAfter: 0,\n // in px\n normalizeSlideIndex: true,\n centerInsufficientSlides: false,\n // Disable swiper and hide navigation when container not overflow\n watchOverflow: true,\n // Round length\n roundLengths: false,\n // Touches\n touchRatio: 1,\n touchAngle: 45,\n simulateTouch: true,\n shortSwipes: true,\n longSwipes: true,\n longSwipesRatio: 0.5,\n longSwipesMs: 300,\n followFinger: true,\n allowTouchMove: true,\n threshold: 0,\n touchMoveStopPropagation: false,\n touchStartPreventDefault: true,\n touchStartForcePreventDefault: false,\n touchReleaseOnEdges: false,\n // Unique Navigation Elements\n uniqueNavElements: true,\n // Resistance\n resistance: true,\n resistanceRatio: 0.85,\n // Progress\n watchSlidesProgress: false,\n // Cursor\n grabCursor: false,\n // Clicks\n preventClicks: true,\n preventClicksPropagation: true,\n slideToClickedSlide: false,\n // Images\n preloadImages: true,\n updateOnImagesReady: true,\n // loop\n loop: false,\n loopAdditionalSlides: 0,\n loopedSlides: null,\n loopedSlidesLimit: true,\n loopFillGroupWithBlank: false,\n loopPreventsSlide: true,\n // rewind\n rewind: false,\n // Swiping/no swiping\n allowSlidePrev: true,\n allowSlideNext: true,\n swipeHandler: null,\n // '.swipe-handler',\n noSwiping: true,\n noSwipingClass: 'swiper-no-swiping',\n noSwipingSelector: null,\n // Passive Listeners\n passiveListeners: true,\n maxBackfaceHiddenSlides: 10,\n // NS\n containerModifierClass: 'swiper-',\n // NEW\n slideClass: 'swiper-slide',\n slideBlankClass: 'swiper-slide-invisible-blank',\n slideActiveClass: 'swiper-slide-active',\n slideDuplicateActiveClass: 'swiper-slide-duplicate-active',\n slideVisibleClass: 'swiper-slide-visible',\n slideDuplicateClass: 'swiper-slide-duplicate',\n slideNextClass: 'swiper-slide-next',\n slideDuplicateNextClass: 'swiper-slide-duplicate-next',\n slidePrevClass: 'swiper-slide-prev',\n slideDuplicatePrevClass: 'swiper-slide-duplicate-prev',\n wrapperClass: 'swiper-wrapper',\n // Callbacks\n runCallbacksOnInit: true,\n // Internals\n _emitClasses: false\n};","import { extend } from '../shared/utils.js';\nexport default function moduleExtendParams(params, allModulesParams) {\n return function extendParams(obj = {}) {\n const moduleParamName = Object.keys(obj)[0];\n const moduleParams = obj[moduleParamName];\n\n if (typeof moduleParams !== 'object' || moduleParams === null) {\n extend(allModulesParams, obj);\n return;\n }\n\n if (['navigation', 'pagination', 'scrollbar'].indexOf(moduleParamName) >= 0 && params[moduleParamName] === true) {\n params[moduleParamName] = {\n auto: true\n };\n }\n\n if (!(moduleParamName in params && 'enabled' in moduleParams)) {\n extend(allModulesParams, obj);\n return;\n }\n\n if (params[moduleParamName] === true) {\n params[moduleParamName] = {\n enabled: true\n };\n }\n\n if (typeof params[moduleParamName] === 'object' && !('enabled' in params[moduleParamName])) {\n params[moduleParamName].enabled = true;\n }\n\n if (!params[moduleParamName]) params[moduleParamName] = {\n enabled: false\n };\n extend(allModulesParams, obj);\n };\n}","/* eslint no-param-reassign: \"off\" */\nimport { getDocument } from 'ssr-window';\nimport $ from '../shared/dom.js';\nimport { extend, now, deleteProps } from '../shared/utils.js';\nimport { getSupport } from '../shared/get-support.js';\nimport { getDevice } from '../shared/get-device.js';\nimport { getBrowser } from '../shared/get-browser.js';\nimport Resize from './modules/resize/resize.js';\nimport Observer from './modules/observer/observer.js';\nimport eventsEmitter from './events-emitter.js';\nimport update from './update/index.js';\nimport translate from './translate/index.js';\nimport transition from './transition/index.js';\nimport slide from './slide/index.js';\nimport loop from './loop/index.js';\nimport grabCursor from './grab-cursor/index.js';\nimport events from './events/index.js';\nimport breakpoints from './breakpoints/index.js';\nimport classes from './classes/index.js';\nimport images from './images/index.js';\nimport checkOverflow from './check-overflow/index.js';\nimport defaults from './defaults.js';\nimport moduleExtendParams from './moduleExtendParams.js';\nconst prototypes = {\n eventsEmitter,\n update,\n translate,\n transition,\n slide,\n loop,\n grabCursor,\n events,\n breakpoints,\n checkOverflow,\n classes,\n images\n};\nconst extendedDefaults = {};\n\nclass Swiper {\n constructor(...args) {\n let el;\n let params;\n\n if (args.length === 1 && args[0].constructor && Object.prototype.toString.call(args[0]).slice(8, -1) === 'Object') {\n params = args[0];\n } else {\n [el, params] = args;\n }\n\n if (!params) params = {};\n params = extend({}, params);\n if (el && !params.el) params.el = el;\n\n if (params.el && $(params.el).length > 1) {\n const swipers = [];\n $(params.el).each(containerEl => {\n const newParams = extend({}, params, {\n el: containerEl\n });\n swipers.push(new Swiper(newParams));\n }); // eslint-disable-next-line no-constructor-return\n\n return swipers;\n } // Swiper Instance\n\n\n const swiper = this;\n swiper.__swiper__ = true;\n swiper.support = getSupport();\n swiper.device = getDevice({\n userAgent: params.userAgent\n });\n swiper.browser = getBrowser();\n swiper.eventsListeners = {};\n swiper.eventsAnyListeners = [];\n swiper.modules = [...swiper.__modules__];\n\n if (params.modules && Array.isArray(params.modules)) {\n swiper.modules.push(...params.modules);\n }\n\n const allModulesParams = {};\n swiper.modules.forEach(mod => {\n mod({\n swiper,\n extendParams: moduleExtendParams(params, allModulesParams),\n on: swiper.on.bind(swiper),\n once: swiper.once.bind(swiper),\n off: swiper.off.bind(swiper),\n emit: swiper.emit.bind(swiper)\n });\n }); // Extend defaults with modules params\n\n const swiperParams = extend({}, defaults, allModulesParams); // Extend defaults with passed params\n\n swiper.params = extend({}, swiperParams, extendedDefaults, params);\n swiper.originalParams = extend({}, swiper.params);\n swiper.passedParams = extend({}, params); // add event listeners\n\n if (swiper.params && swiper.params.on) {\n Object.keys(swiper.params.on).forEach(eventName => {\n swiper.on(eventName, swiper.params.on[eventName]);\n });\n }\n\n if (swiper.params && swiper.params.onAny) {\n swiper.onAny(swiper.params.onAny);\n } // Save Dom lib\n\n\n swiper.$ = $; // Extend Swiper\n\n Object.assign(swiper, {\n enabled: swiper.params.enabled,\n el,\n // Classes\n classNames: [],\n // Slides\n slides: $(),\n slidesGrid: [],\n snapGrid: [],\n slidesSizesGrid: [],\n\n // isDirection\n isHorizontal() {\n return swiper.params.direction === 'horizontal';\n },\n\n isVertical() {\n return swiper.params.direction === 'vertical';\n },\n\n // Indexes\n activeIndex: 0,\n realIndex: 0,\n //\n isBeginning: true,\n isEnd: false,\n // Props\n translate: 0,\n previousTranslate: 0,\n progress: 0,\n velocity: 0,\n animating: false,\n // Locks\n allowSlideNext: swiper.params.allowSlideNext,\n allowSlidePrev: swiper.params.allowSlidePrev,\n // Touch Events\n touchEvents: function touchEvents() {\n const touch = ['touchstart', 'touchmove', 'touchend', 'touchcancel'];\n const desktop = ['pointerdown', 'pointermove', 'pointerup'];\n swiper.touchEventsTouch = {\n start: touch[0],\n move: touch[1],\n end: touch[2],\n cancel: touch[3]\n };\n swiper.touchEventsDesktop = {\n start: desktop[0],\n move: desktop[1],\n end: desktop[2]\n };\n return swiper.support.touch || !swiper.params.simulateTouch ? swiper.touchEventsTouch : swiper.touchEventsDesktop;\n }(),\n touchEventsData: {\n isTouched: undefined,\n isMoved: undefined,\n allowTouchCallbacks: undefined,\n touchStartTime: undefined,\n isScrolling: undefined,\n currentTranslate: undefined,\n startTranslate: undefined,\n allowThresholdMove: undefined,\n // Form elements to match\n focusableElements: swiper.params.focusableElements,\n // Last click time\n lastClickTime: now(),\n clickTimeout: undefined,\n // Velocities\n velocities: [],\n allowMomentumBounce: undefined,\n isTouchEvent: undefined,\n startMoving: undefined\n },\n // Clicks\n allowClick: true,\n // Touches\n allowTouchMove: swiper.params.allowTouchMove,\n touches: {\n startX: 0,\n startY: 0,\n currentX: 0,\n currentY: 0,\n diff: 0\n },\n // Images\n imagesToLoad: [],\n imagesLoaded: 0\n });\n swiper.emit('_swiper'); // Init\n\n if (swiper.params.init) {\n swiper.init();\n } // Return app instance\n // eslint-disable-next-line no-constructor-return\n\n\n return swiper;\n }\n\n enable() {\n const swiper = this;\n if (swiper.enabled) return;\n swiper.enabled = true;\n\n if (swiper.params.grabCursor) {\n swiper.setGrabCursor();\n }\n\n swiper.emit('enable');\n }\n\n disable() {\n const swiper = this;\n if (!swiper.enabled) return;\n swiper.enabled = false;\n\n if (swiper.params.grabCursor) {\n swiper.unsetGrabCursor();\n }\n\n swiper.emit('disable');\n }\n\n setProgress(progress, speed) {\n const swiper = this;\n progress = Math.min(Math.max(progress, 0), 1);\n const min = swiper.minTranslate();\n const max = swiper.maxTranslate();\n const current = (max - min) * progress + min;\n swiper.translateTo(current, typeof speed === 'undefined' ? 0 : speed);\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n }\n\n emitContainerClasses() {\n const swiper = this;\n if (!swiper.params._emitClasses || !swiper.el) return;\n const cls = swiper.el.className.split(' ').filter(className => {\n return className.indexOf('swiper') === 0 || className.indexOf(swiper.params.containerModifierClass) === 0;\n });\n swiper.emit('_containerClasses', cls.join(' '));\n }\n\n getSlideClasses(slideEl) {\n const swiper = this;\n if (swiper.destroyed) return '';\n return slideEl.className.split(' ').filter(className => {\n return className.indexOf('swiper-slide') === 0 || className.indexOf(swiper.params.slideClass) === 0;\n }).join(' ');\n }\n\n emitSlidesClasses() {\n const swiper = this;\n if (!swiper.params._emitClasses || !swiper.el) return;\n const updates = [];\n swiper.slides.each(slideEl => {\n const classNames = swiper.getSlideClasses(slideEl);\n updates.push({\n slideEl,\n classNames\n });\n swiper.emit('_slideClass', slideEl, classNames);\n });\n swiper.emit('_slideClasses', updates);\n }\n\n slidesPerViewDynamic(view = 'current', exact = false) {\n const swiper = this;\n const {\n params,\n slides,\n slidesGrid,\n slidesSizesGrid,\n size: swiperSize,\n activeIndex\n } = swiper;\n let spv = 1;\n\n if (params.centeredSlides) {\n let slideSize = slides[activeIndex].swiperSlideSize;\n let breakLoop;\n\n for (let i = activeIndex + 1; i < slides.length; i += 1) {\n if (slides[i] && !breakLoop) {\n slideSize += slides[i].swiperSlideSize;\n spv += 1;\n if (slideSize > swiperSize) breakLoop = true;\n }\n }\n\n for (let i = activeIndex - 1; i >= 0; i -= 1) {\n if (slides[i] && !breakLoop) {\n slideSize += slides[i].swiperSlideSize;\n spv += 1;\n if (slideSize > swiperSize) breakLoop = true;\n }\n }\n } else {\n // eslint-disable-next-line\n if (view === 'current') {\n for (let i = activeIndex + 1; i < slides.length; i += 1) {\n const slideInView = exact ? slidesGrid[i] + slidesSizesGrid[i] - slidesGrid[activeIndex] < swiperSize : slidesGrid[i] - slidesGrid[activeIndex] < swiperSize;\n\n if (slideInView) {\n spv += 1;\n }\n }\n } else {\n // previous\n for (let i = activeIndex - 1; i >= 0; i -= 1) {\n const slideInView = slidesGrid[activeIndex] - slidesGrid[i] < swiperSize;\n\n if (slideInView) {\n spv += 1;\n }\n }\n }\n }\n\n return spv;\n }\n\n update() {\n const swiper = this;\n if (!swiper || swiper.destroyed) return;\n const {\n snapGrid,\n params\n } = swiper; // Breakpoints\n\n if (params.breakpoints) {\n swiper.setBreakpoint();\n }\n\n swiper.updateSize();\n swiper.updateSlides();\n swiper.updateProgress();\n swiper.updateSlidesClasses();\n\n function setTranslate() {\n const translateValue = swiper.rtlTranslate ? swiper.translate * -1 : swiper.translate;\n const newTranslate = Math.min(Math.max(translateValue, swiper.maxTranslate()), swiper.minTranslate());\n swiper.setTranslate(newTranslate);\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n }\n\n let translated;\n\n if (swiper.params.freeMode && swiper.params.freeMode.enabled) {\n setTranslate();\n\n if (swiper.params.autoHeight) {\n swiper.updateAutoHeight();\n }\n } else {\n if ((swiper.params.slidesPerView === 'auto' || swiper.params.slidesPerView > 1) && swiper.isEnd && !swiper.params.centeredSlides) {\n translated = swiper.slideTo(swiper.slides.length - 1, 0, false, true);\n } else {\n translated = swiper.slideTo(swiper.activeIndex, 0, false, true);\n }\n\n if (!translated) {\n setTranslate();\n }\n }\n\n if (params.watchOverflow && snapGrid !== swiper.snapGrid) {\n swiper.checkOverflow();\n }\n\n swiper.emit('update');\n }\n\n changeDirection(newDirection, needUpdate = true) {\n const swiper = this;\n const currentDirection = swiper.params.direction;\n\n if (!newDirection) {\n // eslint-disable-next-line\n newDirection = currentDirection === 'horizontal' ? 'vertical' : 'horizontal';\n }\n\n if (newDirection === currentDirection || newDirection !== 'horizontal' && newDirection !== 'vertical') {\n return swiper;\n }\n\n swiper.$el.removeClass(`${swiper.params.containerModifierClass}${currentDirection}`).addClass(`${swiper.params.containerModifierClass}${newDirection}`);\n swiper.emitContainerClasses();\n swiper.params.direction = newDirection;\n swiper.slides.each(slideEl => {\n if (newDirection === 'vertical') {\n slideEl.style.width = '';\n } else {\n slideEl.style.height = '';\n }\n });\n swiper.emit('changeDirection');\n if (needUpdate) swiper.update();\n return swiper;\n }\n\n changeLanguageDirection(direction) {\n const swiper = this;\n if (swiper.rtl && direction === 'rtl' || !swiper.rtl && direction === 'ltr') return;\n swiper.rtl = direction === 'rtl';\n swiper.rtlTranslate = swiper.params.direction === 'horizontal' && swiper.rtl;\n\n if (swiper.rtl) {\n swiper.$el.addClass(`${swiper.params.containerModifierClass}rtl`);\n swiper.el.dir = 'rtl';\n } else {\n swiper.$el.removeClass(`${swiper.params.containerModifierClass}rtl`);\n swiper.el.dir = 'ltr';\n }\n\n swiper.update();\n }\n\n mount(el) {\n const swiper = this;\n if (swiper.mounted) return true; // Find el\n\n const $el = $(el || swiper.params.el);\n el = $el[0];\n\n if (!el) {\n return false;\n }\n\n el.swiper = swiper;\n\n const getWrapperSelector = () => {\n return `.${(swiper.params.wrapperClass || '').trim().split(' ').join('.')}`;\n };\n\n const getWrapper = () => {\n if (el && el.shadowRoot && el.shadowRoot.querySelector) {\n const res = $(el.shadowRoot.querySelector(getWrapperSelector())); // Children needs to return slot items\n\n res.children = options => $el.children(options);\n\n return res;\n }\n\n if (!$el.children) {\n return $($el).children(getWrapperSelector());\n }\n\n return $el.children(getWrapperSelector());\n }; // Find Wrapper\n\n\n let $wrapperEl = getWrapper();\n\n if ($wrapperEl.length === 0 && swiper.params.createElements) {\n const document = getDocument();\n const wrapper = document.createElement('div');\n $wrapperEl = $(wrapper);\n wrapper.className = swiper.params.wrapperClass;\n $el.append(wrapper);\n $el.children(`.${swiper.params.slideClass}`).each(slideEl => {\n $wrapperEl.append(slideEl);\n });\n }\n\n Object.assign(swiper, {\n $el,\n el,\n $wrapperEl,\n wrapperEl: $wrapperEl[0],\n mounted: true,\n // RTL\n rtl: el.dir.toLowerCase() === 'rtl' || $el.css('direction') === 'rtl',\n rtlTranslate: swiper.params.direction === 'horizontal' && (el.dir.toLowerCase() === 'rtl' || $el.css('direction') === 'rtl'),\n wrongRTL: $wrapperEl.css('display') === '-webkit-box'\n });\n return true;\n }\n\n init(el) {\n const swiper = this;\n if (swiper.initialized) return swiper;\n const mounted = swiper.mount(el);\n if (mounted === false) return swiper;\n swiper.emit('beforeInit'); // Set breakpoint\n\n if (swiper.params.breakpoints) {\n swiper.setBreakpoint();\n } // Add Classes\n\n\n swiper.addClasses(); // Create loop\n\n if (swiper.params.loop) {\n swiper.loopCreate();\n } // Update size\n\n\n swiper.updateSize(); // Update slides\n\n swiper.updateSlides();\n\n if (swiper.params.watchOverflow) {\n swiper.checkOverflow();\n } // Set Grab Cursor\n\n\n if (swiper.params.grabCursor && swiper.enabled) {\n swiper.setGrabCursor();\n }\n\n if (swiper.params.preloadImages) {\n swiper.preloadImages();\n } // Slide To Initial Slide\n\n\n if (swiper.params.loop) {\n swiper.slideTo(swiper.params.initialSlide + swiper.loopedSlides, 0, swiper.params.runCallbacksOnInit, false, true);\n } else {\n swiper.slideTo(swiper.params.initialSlide, 0, swiper.params.runCallbacksOnInit, false, true);\n } // Attach events\n\n\n swiper.attachEvents(); // Init Flag\n\n swiper.initialized = true; // Emit\n\n swiper.emit('init');\n swiper.emit('afterInit');\n return swiper;\n }\n\n destroy(deleteInstance = true, cleanStyles = true) {\n const swiper = this;\n const {\n params,\n $el,\n $wrapperEl,\n slides\n } = swiper;\n\n if (typeof swiper.params === 'undefined' || swiper.destroyed) {\n return null;\n }\n\n swiper.emit('beforeDestroy'); // Init Flag\n\n swiper.initialized = false; // Detach events\n\n swiper.detachEvents(); // Destroy loop\n\n if (params.loop) {\n swiper.loopDestroy();\n } // Cleanup styles\n\n\n if (cleanStyles) {\n swiper.removeClasses();\n $el.removeAttr('style');\n $wrapperEl.removeAttr('style');\n\n if (slides && slides.length) {\n slides.removeClass([params.slideVisibleClass, params.slideActiveClass, params.slideNextClass, params.slidePrevClass].join(' ')).removeAttr('style').removeAttr('data-swiper-slide-index');\n }\n }\n\n swiper.emit('destroy'); // Detach emitter events\n\n Object.keys(swiper.eventsListeners).forEach(eventName => {\n swiper.off(eventName);\n });\n\n if (deleteInstance !== false) {\n swiper.$el[0].swiper = null;\n deleteProps(swiper);\n }\n\n swiper.destroyed = true;\n return null;\n }\n\n static extendDefaults(newDefaults) {\n extend(extendedDefaults, newDefaults);\n }\n\n static get extendedDefaults() {\n return extendedDefaults;\n }\n\n static get defaults() {\n return defaults;\n }\n\n static installModule(mod) {\n if (!Swiper.prototype.__modules__) Swiper.prototype.__modules__ = [];\n const modules = Swiper.prototype.__modules__;\n\n if (typeof mod === 'function' && modules.indexOf(mod) < 0) {\n modules.push(mod);\n }\n }\n\n static use(module) {\n if (Array.isArray(module)) {\n module.forEach(m => Swiper.installModule(m));\n return Swiper;\n }\n\n Swiper.installModule(module);\n return Swiper;\n }\n\n}\n\nObject.keys(prototypes).forEach(prototypeGroup => {\n Object.keys(prototypes[prototypeGroup]).forEach(protoMethod => {\n Swiper.prototype[protoMethod] = prototypes[prototypeGroup][protoMethod];\n });\n});\nSwiper.use([Resize, Observer]);\nexport default Swiper;","/* eslint-disable no-underscore-dangle */\nexport default {\n on(events, handler, priority) {\n const self = this;\n if (!self.eventsListeners || self.destroyed) return self;\n if (typeof handler !== 'function') return self;\n const method = priority ? 'unshift' : 'push';\n events.split(' ').forEach(event => {\n if (!self.eventsListeners[event]) self.eventsListeners[event] = [];\n self.eventsListeners[event][method](handler);\n });\n return self;\n },\n\n once(events, handler, priority) {\n const self = this;\n if (!self.eventsListeners || self.destroyed) return self;\n if (typeof handler !== 'function') return self;\n\n function onceHandler(...args) {\n self.off(events, onceHandler);\n\n if (onceHandler.__emitterProxy) {\n delete onceHandler.__emitterProxy;\n }\n\n handler.apply(self, args);\n }\n\n onceHandler.__emitterProxy = handler;\n return self.on(events, onceHandler, priority);\n },\n\n onAny(handler, priority) {\n const self = this;\n if (!self.eventsListeners || self.destroyed) return self;\n if (typeof handler !== 'function') return self;\n const method = priority ? 'unshift' : 'push';\n\n if (self.eventsAnyListeners.indexOf(handler) < 0) {\n self.eventsAnyListeners[method](handler);\n }\n\n return self;\n },\n\n offAny(handler) {\n const self = this;\n if (!self.eventsListeners || self.destroyed) return self;\n if (!self.eventsAnyListeners) return self;\n const index = self.eventsAnyListeners.indexOf(handler);\n\n if (index >= 0) {\n self.eventsAnyListeners.splice(index, 1);\n }\n\n return self;\n },\n\n off(events, handler) {\n const self = this;\n if (!self.eventsListeners || self.destroyed) return self;\n if (!self.eventsListeners) return self;\n events.split(' ').forEach(event => {\n if (typeof handler === 'undefined') {\n self.eventsListeners[event] = [];\n } else if (self.eventsListeners[event]) {\n self.eventsListeners[event].forEach((eventHandler, index) => {\n if (eventHandler === handler || eventHandler.__emitterProxy && eventHandler.__emitterProxy === handler) {\n self.eventsListeners[event].splice(index, 1);\n }\n });\n }\n });\n return self;\n },\n\n emit(...args) {\n const self = this;\n if (!self.eventsListeners || self.destroyed) return self;\n if (!self.eventsListeners) return self;\n let events;\n let data;\n let context;\n\n if (typeof args[0] === 'string' || Array.isArray(args[0])) {\n events = args[0];\n data = args.slice(1, args.length);\n context = self;\n } else {\n events = args[0].events;\n data = args[0].data;\n context = args[0].context || self;\n }\n\n data.unshift(context);\n const eventsArray = Array.isArray(events) ? events : events.split(' ');\n eventsArray.forEach(event => {\n if (self.eventsAnyListeners && self.eventsAnyListeners.length) {\n self.eventsAnyListeners.forEach(eventHandler => {\n eventHandler.apply(context, [event, ...data]);\n });\n }\n\n if (self.eventsListeners && self.eventsListeners[event]) {\n self.eventsListeners[event].forEach(eventHandler => {\n eventHandler.apply(context, data);\n });\n }\n });\n return self;\n }\n\n};","import updateSize from './updateSize.js';\nimport updateSlides from './updateSlides.js';\nimport updateAutoHeight from './updateAutoHeight.js';\nimport updateSlidesOffset from './updateSlidesOffset.js';\nimport updateSlidesProgress from './updateSlidesProgress.js';\nimport updateProgress from './updateProgress.js';\nimport updateSlidesClasses from './updateSlidesClasses.js';\nimport updateActiveIndex from './updateActiveIndex.js';\nimport updateClickedSlide from './updateClickedSlide.js';\nexport default {\n updateSize,\n updateSlides,\n updateAutoHeight,\n updateSlidesOffset,\n updateSlidesProgress,\n updateProgress,\n updateSlidesClasses,\n updateActiveIndex,\n updateClickedSlide\n};","export default function updateSize() {\n const swiper = this;\n let width;\n let height;\n const $el = swiper.$el;\n\n if (typeof swiper.params.width !== 'undefined' && swiper.params.width !== null) {\n width = swiper.params.width;\n } else {\n width = $el[0].clientWidth;\n }\n\n if (typeof swiper.params.height !== 'undefined' && swiper.params.height !== null) {\n height = swiper.params.height;\n } else {\n height = $el[0].clientHeight;\n }\n\n if (width === 0 && swiper.isHorizontal() || height === 0 && swiper.isVertical()) {\n return;\n } // Subtract paddings\n\n\n width = width - parseInt($el.css('padding-left') || 0, 10) - parseInt($el.css('padding-right') || 0, 10);\n height = height - parseInt($el.css('padding-top') || 0, 10) - parseInt($el.css('padding-bottom') || 0, 10);\n if (Number.isNaN(width)) width = 0;\n if (Number.isNaN(height)) height = 0;\n Object.assign(swiper, {\n width,\n height,\n size: swiper.isHorizontal() ? width : height\n });\n}","import { setCSSProperty } from '../../shared/utils.js';\nexport default function updateSlides() {\n const swiper = this;\n\n function getDirectionLabel(property) {\n if (swiper.isHorizontal()) {\n return property;\n } // prettier-ignore\n\n\n return {\n 'width': 'height',\n 'margin-top': 'margin-left',\n 'margin-bottom ': 'margin-right',\n 'margin-left': 'margin-top',\n 'margin-right': 'margin-bottom',\n 'padding-left': 'padding-top',\n 'padding-right': 'padding-bottom',\n 'marginRight': 'marginBottom'\n }[property];\n }\n\n function getDirectionPropertyValue(node, label) {\n return parseFloat(node.getPropertyValue(getDirectionLabel(label)) || 0);\n }\n\n const params = swiper.params;\n const {\n $wrapperEl,\n size: swiperSize,\n rtlTranslate: rtl,\n wrongRTL\n } = swiper;\n const isVirtual = swiper.virtual && params.virtual.enabled;\n const previousSlidesLength = isVirtual ? swiper.virtual.slides.length : swiper.slides.length;\n const slides = $wrapperEl.children(`.${swiper.params.slideClass}`);\n const slidesLength = isVirtual ? swiper.virtual.slides.length : slides.length;\n let snapGrid = [];\n const slidesGrid = [];\n const slidesSizesGrid = [];\n let offsetBefore = params.slidesOffsetBefore;\n\n if (typeof offsetBefore === 'function') {\n offsetBefore = params.slidesOffsetBefore.call(swiper);\n }\n\n let offsetAfter = params.slidesOffsetAfter;\n\n if (typeof offsetAfter === 'function') {\n offsetAfter = params.slidesOffsetAfter.call(swiper);\n }\n\n const previousSnapGridLength = swiper.snapGrid.length;\n const previousSlidesGridLength = swiper.slidesGrid.length;\n let spaceBetween = params.spaceBetween;\n let slidePosition = -offsetBefore;\n let prevSlideSize = 0;\n let index = 0;\n\n if (typeof swiperSize === 'undefined') {\n return;\n }\n\n if (typeof spaceBetween === 'string' && spaceBetween.indexOf('%') >= 0) {\n spaceBetween = parseFloat(spaceBetween.replace('%', '')) / 100 * swiperSize;\n }\n\n swiper.virtualSize = -spaceBetween; // reset margins\n\n if (rtl) slides.css({\n marginLeft: '',\n marginBottom: '',\n marginTop: ''\n });else slides.css({\n marginRight: '',\n marginBottom: '',\n marginTop: ''\n }); // reset cssMode offsets\n\n if (params.centeredSlides && params.cssMode) {\n setCSSProperty(swiper.wrapperEl, '--swiper-centered-offset-before', '');\n setCSSProperty(swiper.wrapperEl, '--swiper-centered-offset-after', '');\n }\n\n const gridEnabled = params.grid && params.grid.rows > 1 && swiper.grid;\n\n if (gridEnabled) {\n swiper.grid.initSlides(slidesLength);\n } // Calc slides\n\n\n let slideSize;\n const shouldResetSlideSize = params.slidesPerView === 'auto' && params.breakpoints && Object.keys(params.breakpoints).filter(key => {\n return typeof params.breakpoints[key].slidesPerView !== 'undefined';\n }).length > 0;\n\n for (let i = 0; i < slidesLength; i += 1) {\n slideSize = 0;\n const slide = slides.eq(i);\n\n if (gridEnabled) {\n swiper.grid.updateSlide(i, slide, slidesLength, getDirectionLabel);\n }\n\n if (slide.css('display') === 'none') continue; // eslint-disable-line\n\n if (params.slidesPerView === 'auto') {\n if (shouldResetSlideSize) {\n slides[i].style[getDirectionLabel('width')] = ``;\n }\n\n const slideStyles = getComputedStyle(slide[0]);\n const currentTransform = slide[0].style.transform;\n const currentWebKitTransform = slide[0].style.webkitTransform;\n\n if (currentTransform) {\n slide[0].style.transform = 'none';\n }\n\n if (currentWebKitTransform) {\n slide[0].style.webkitTransform = 'none';\n }\n\n if (params.roundLengths) {\n slideSize = swiper.isHorizontal() ? slide.outerWidth(true) : slide.outerHeight(true);\n } else {\n // eslint-disable-next-line\n const width = getDirectionPropertyValue(slideStyles, 'width');\n const paddingLeft = getDirectionPropertyValue(slideStyles, 'padding-left');\n const paddingRight = getDirectionPropertyValue(slideStyles, 'padding-right');\n const marginLeft = getDirectionPropertyValue(slideStyles, 'margin-left');\n const marginRight = getDirectionPropertyValue(slideStyles, 'margin-right');\n const boxSizing = slideStyles.getPropertyValue('box-sizing');\n\n if (boxSizing && boxSizing === 'border-box') {\n slideSize = width + marginLeft + marginRight;\n } else {\n const {\n clientWidth,\n offsetWidth\n } = slide[0];\n slideSize = width + paddingLeft + paddingRight + marginLeft + marginRight + (offsetWidth - clientWidth);\n }\n }\n\n if (currentTransform) {\n slide[0].style.transform = currentTransform;\n }\n\n if (currentWebKitTransform) {\n slide[0].style.webkitTransform = currentWebKitTransform;\n }\n\n if (params.roundLengths) slideSize = Math.floor(slideSize);\n } else {\n slideSize = (swiperSize - (params.slidesPerView - 1) * spaceBetween) / params.slidesPerView;\n if (params.roundLengths) slideSize = Math.floor(slideSize);\n\n if (slides[i]) {\n slides[i].style[getDirectionLabel('width')] = `${slideSize}px`;\n }\n }\n\n if (slides[i]) {\n slides[i].swiperSlideSize = slideSize;\n }\n\n slidesSizesGrid.push(slideSize);\n\n if (params.centeredSlides) {\n slidePosition = slidePosition + slideSize / 2 + prevSlideSize / 2 + spaceBetween;\n if (prevSlideSize === 0 && i !== 0) slidePosition = slidePosition - swiperSize / 2 - spaceBetween;\n if (i === 0) slidePosition = slidePosition - swiperSize / 2 - spaceBetween;\n if (Math.abs(slidePosition) < 1 / 1000) slidePosition = 0;\n if (params.roundLengths) slidePosition = Math.floor(slidePosition);\n if (index % params.slidesPerGroup === 0) snapGrid.push(slidePosition);\n slidesGrid.push(slidePosition);\n } else {\n if (params.roundLengths) slidePosition = Math.floor(slidePosition);\n if ((index - Math.min(swiper.params.slidesPerGroupSkip, index)) % swiper.params.slidesPerGroup === 0) snapGrid.push(slidePosition);\n slidesGrid.push(slidePosition);\n slidePosition = slidePosition + slideSize + spaceBetween;\n }\n\n swiper.virtualSize += slideSize + spaceBetween;\n prevSlideSize = slideSize;\n index += 1;\n }\n\n swiper.virtualSize = Math.max(swiper.virtualSize, swiperSize) + offsetAfter;\n\n if (rtl && wrongRTL && (params.effect === 'slide' || params.effect === 'coverflow')) {\n $wrapperEl.css({\n width: `${swiper.virtualSize + params.spaceBetween}px`\n });\n }\n\n if (params.setWrapperSize) {\n $wrapperEl.css({\n [getDirectionLabel('width')]: `${swiper.virtualSize + params.spaceBetween}px`\n });\n }\n\n if (gridEnabled) {\n swiper.grid.updateWrapperSize(slideSize, snapGrid, getDirectionLabel);\n } // Remove last grid elements depending on width\n\n\n if (!params.centeredSlides) {\n const newSlidesGrid = [];\n\n for (let i = 0; i < snapGrid.length; i += 1) {\n let slidesGridItem = snapGrid[i];\n if (params.roundLengths) slidesGridItem = Math.floor(slidesGridItem);\n\n if (snapGrid[i] <= swiper.virtualSize - swiperSize) {\n newSlidesGrid.push(slidesGridItem);\n }\n }\n\n snapGrid = newSlidesGrid;\n\n if (Math.floor(swiper.virtualSize - swiperSize) - Math.floor(snapGrid[snapGrid.length - 1]) > 1) {\n snapGrid.push(swiper.virtualSize - swiperSize);\n }\n }\n\n if (snapGrid.length === 0) snapGrid = [0];\n\n if (params.spaceBetween !== 0) {\n const key = swiper.isHorizontal() && rtl ? 'marginLeft' : getDirectionLabel('marginRight');\n slides.filter((_, slideIndex) => {\n if (!params.cssMode) return true;\n\n if (slideIndex === slides.length - 1) {\n return false;\n }\n\n return true;\n }).css({\n [key]: `${spaceBetween}px`\n });\n }\n\n if (params.centeredSlides && params.centeredSlidesBounds) {\n let allSlidesSize = 0;\n slidesSizesGrid.forEach(slideSizeValue => {\n allSlidesSize += slideSizeValue + (params.spaceBetween ? params.spaceBetween : 0);\n });\n allSlidesSize -= params.spaceBetween;\n const maxSnap = allSlidesSize - swiperSize;\n snapGrid = snapGrid.map(snap => {\n if (snap < 0) return -offsetBefore;\n if (snap > maxSnap) return maxSnap + offsetAfter;\n return snap;\n });\n }\n\n if (params.centerInsufficientSlides) {\n let allSlidesSize = 0;\n slidesSizesGrid.forEach(slideSizeValue => {\n allSlidesSize += slideSizeValue + (params.spaceBetween ? params.spaceBetween : 0);\n });\n allSlidesSize -= params.spaceBetween;\n\n if (allSlidesSize < swiperSize) {\n const allSlidesOffset = (swiperSize - allSlidesSize) / 2;\n snapGrid.forEach((snap, snapIndex) => {\n snapGrid[snapIndex] = snap - allSlidesOffset;\n });\n slidesGrid.forEach((snap, snapIndex) => {\n slidesGrid[snapIndex] = snap + allSlidesOffset;\n });\n }\n }\n\n Object.assign(swiper, {\n slides,\n snapGrid,\n slidesGrid,\n slidesSizesGrid\n });\n\n if (params.centeredSlides && params.cssMode && !params.centeredSlidesBounds) {\n setCSSProperty(swiper.wrapperEl, '--swiper-centered-offset-before', `${-snapGrid[0]}px`);\n setCSSProperty(swiper.wrapperEl, '--swiper-centered-offset-after', `${swiper.size / 2 - slidesSizesGrid[slidesSizesGrid.length - 1] / 2}px`);\n const addToSnapGrid = -swiper.snapGrid[0];\n const addToSlidesGrid = -swiper.slidesGrid[0];\n swiper.snapGrid = swiper.snapGrid.map(v => v + addToSnapGrid);\n swiper.slidesGrid = swiper.slidesGrid.map(v => v + addToSlidesGrid);\n }\n\n if (slidesLength !== previousSlidesLength) {\n swiper.emit('slidesLengthChange');\n }\n\n if (snapGrid.length !== previousSnapGridLength) {\n if (swiper.params.watchOverflow) swiper.checkOverflow();\n swiper.emit('snapGridLengthChange');\n }\n\n if (slidesGrid.length !== previousSlidesGridLength) {\n swiper.emit('slidesGridLengthChange');\n }\n\n if (params.watchSlidesProgress) {\n swiper.updateSlidesOffset();\n }\n\n if (!isVirtual && !params.cssMode && (params.effect === 'slide' || params.effect === 'fade')) {\n const backFaceHiddenClass = `${params.containerModifierClass}backface-hidden`;\n const hasClassBackfaceClassAdded = swiper.$el.hasClass(backFaceHiddenClass);\n\n if (slidesLength <= params.maxBackfaceHiddenSlides) {\n if (!hasClassBackfaceClassAdded) swiper.$el.addClass(backFaceHiddenClass);\n } else if (hasClassBackfaceClassAdded) {\n swiper.$el.removeClass(backFaceHiddenClass);\n }\n }\n}","import $ from '../../shared/dom.js';\nexport default function updateAutoHeight(speed) {\n const swiper = this;\n const activeSlides = [];\n const isVirtual = swiper.virtual && swiper.params.virtual.enabled;\n let newHeight = 0;\n let i;\n\n if (typeof speed === 'number') {\n swiper.setTransition(speed);\n } else if (speed === true) {\n swiper.setTransition(swiper.params.speed);\n }\n\n const getSlideByIndex = index => {\n if (isVirtual) {\n return swiper.slides.filter(el => parseInt(el.getAttribute('data-swiper-slide-index'), 10) === index)[0];\n }\n\n return swiper.slides.eq(index)[0];\n }; // Find slides currently in view\n\n\n if (swiper.params.slidesPerView !== 'auto' && swiper.params.slidesPerView > 1) {\n if (swiper.params.centeredSlides) {\n (swiper.visibleSlides || $([])).each(slide => {\n activeSlides.push(slide);\n });\n } else {\n for (i = 0; i < Math.ceil(swiper.params.slidesPerView); i += 1) {\n const index = swiper.activeIndex + i;\n if (index > swiper.slides.length && !isVirtual) break;\n activeSlides.push(getSlideByIndex(index));\n }\n }\n } else {\n activeSlides.push(getSlideByIndex(swiper.activeIndex));\n } // Find new height from highest slide in view\n\n\n for (i = 0; i < activeSlides.length; i += 1) {\n if (typeof activeSlides[i] !== 'undefined') {\n const height = activeSlides[i].offsetHeight;\n newHeight = height > newHeight ? height : newHeight;\n }\n } // Update Height\n\n\n if (newHeight || newHeight === 0) swiper.$wrapperEl.css('height', `${newHeight}px`);\n}","export default function updateSlidesOffset() {\n const swiper = this;\n const slides = swiper.slides;\n\n for (let i = 0; i < slides.length; i += 1) {\n slides[i].swiperSlideOffset = swiper.isHorizontal() ? slides[i].offsetLeft : slides[i].offsetTop;\n }\n}","import $ from '../../shared/dom.js';\nexport default function updateSlidesProgress(translate = this && this.translate || 0) {\n const swiper = this;\n const params = swiper.params;\n const {\n slides,\n rtlTranslate: rtl,\n snapGrid\n } = swiper;\n if (slides.length === 0) return;\n if (typeof slides[0].swiperSlideOffset === 'undefined') swiper.updateSlidesOffset();\n let offsetCenter = -translate;\n if (rtl) offsetCenter = translate; // Visible Slides\n\n slides.removeClass(params.slideVisibleClass);\n swiper.visibleSlidesIndexes = [];\n swiper.visibleSlides = [];\n\n for (let i = 0; i < slides.length; i += 1) {\n const slide = slides[i];\n let slideOffset = slide.swiperSlideOffset;\n\n if (params.cssMode && params.centeredSlides) {\n slideOffset -= slides[0].swiperSlideOffset;\n }\n\n const slideProgress = (offsetCenter + (params.centeredSlides ? swiper.minTranslate() : 0) - slideOffset) / (slide.swiperSlideSize + params.spaceBetween);\n const originalSlideProgress = (offsetCenter - snapGrid[0] + (params.centeredSlides ? swiper.minTranslate() : 0) - slideOffset) / (slide.swiperSlideSize + params.spaceBetween);\n const slideBefore = -(offsetCenter - slideOffset);\n const slideAfter = slideBefore + swiper.slidesSizesGrid[i];\n const isVisible = slideBefore >= 0 && slideBefore < swiper.size - 1 || slideAfter > 1 && slideAfter <= swiper.size || slideBefore <= 0 && slideAfter >= swiper.size;\n\n if (isVisible) {\n swiper.visibleSlides.push(slide);\n swiper.visibleSlidesIndexes.push(i);\n slides.eq(i).addClass(params.slideVisibleClass);\n }\n\n slide.progress = rtl ? -slideProgress : slideProgress;\n slide.originalProgress = rtl ? -originalSlideProgress : originalSlideProgress;\n }\n\n swiper.visibleSlides = $(swiper.visibleSlides);\n}","export default function updateProgress(translate) {\n const swiper = this;\n\n if (typeof translate === 'undefined') {\n const multiplier = swiper.rtlTranslate ? -1 : 1; // eslint-disable-next-line\n\n translate = swiper && swiper.translate && swiper.translate * multiplier || 0;\n }\n\n const params = swiper.params;\n const translatesDiff = swiper.maxTranslate() - swiper.minTranslate();\n let {\n progress,\n isBeginning,\n isEnd\n } = swiper;\n const wasBeginning = isBeginning;\n const wasEnd = isEnd;\n\n if (translatesDiff === 0) {\n progress = 0;\n isBeginning = true;\n isEnd = true;\n } else {\n progress = (translate - swiper.minTranslate()) / translatesDiff;\n isBeginning = progress <= 0;\n isEnd = progress >= 1;\n }\n\n Object.assign(swiper, {\n progress,\n isBeginning,\n isEnd\n });\n if (params.watchSlidesProgress || params.centeredSlides && params.autoHeight) swiper.updateSlidesProgress(translate);\n\n if (isBeginning && !wasBeginning) {\n swiper.emit('reachBeginning toEdge');\n }\n\n if (isEnd && !wasEnd) {\n swiper.emit('reachEnd toEdge');\n }\n\n if (wasBeginning && !isBeginning || wasEnd && !isEnd) {\n swiper.emit('fromEdge');\n }\n\n swiper.emit('progress', progress);\n}","export default function updateSlidesClasses() {\n const swiper = this;\n const {\n slides,\n params,\n $wrapperEl,\n activeIndex,\n realIndex\n } = swiper;\n const isVirtual = swiper.virtual && params.virtual.enabled;\n slides.removeClass(`${params.slideActiveClass} ${params.slideNextClass} ${params.slidePrevClass} ${params.slideDuplicateActiveClass} ${params.slideDuplicateNextClass} ${params.slideDuplicatePrevClass}`);\n let activeSlide;\n\n if (isVirtual) {\n activeSlide = swiper.$wrapperEl.find(`.${params.slideClass}[data-swiper-slide-index=\"${activeIndex}\"]`);\n } else {\n activeSlide = slides.eq(activeIndex);\n } // Active classes\n\n\n activeSlide.addClass(params.slideActiveClass);\n\n if (params.loop) {\n // Duplicate to all looped slides\n if (activeSlide.hasClass(params.slideDuplicateClass)) {\n $wrapperEl.children(`.${params.slideClass}:not(.${params.slideDuplicateClass})[data-swiper-slide-index=\"${realIndex}\"]`).addClass(params.slideDuplicateActiveClass);\n } else {\n $wrapperEl.children(`.${params.slideClass}.${params.slideDuplicateClass}[data-swiper-slide-index=\"${realIndex}\"]`).addClass(params.slideDuplicateActiveClass);\n }\n } // Next Slide\n\n\n let nextSlide = activeSlide.nextAll(`.${params.slideClass}`).eq(0).addClass(params.slideNextClass);\n\n if (params.loop && nextSlide.length === 0) {\n nextSlide = slides.eq(0);\n nextSlide.addClass(params.slideNextClass);\n } // Prev Slide\n\n\n let prevSlide = activeSlide.prevAll(`.${params.slideClass}`).eq(0).addClass(params.slidePrevClass);\n\n if (params.loop && prevSlide.length === 0) {\n prevSlide = slides.eq(-1);\n prevSlide.addClass(params.slidePrevClass);\n }\n\n if (params.loop) {\n // Duplicate to all looped slides\n if (nextSlide.hasClass(params.slideDuplicateClass)) {\n $wrapperEl.children(`.${params.slideClass}:not(.${params.slideDuplicateClass})[data-swiper-slide-index=\"${nextSlide.attr('data-swiper-slide-index')}\"]`).addClass(params.slideDuplicateNextClass);\n } else {\n $wrapperEl.children(`.${params.slideClass}.${params.slideDuplicateClass}[data-swiper-slide-index=\"${nextSlide.attr('data-swiper-slide-index')}\"]`).addClass(params.slideDuplicateNextClass);\n }\n\n if (prevSlide.hasClass(params.slideDuplicateClass)) {\n $wrapperEl.children(`.${params.slideClass}:not(.${params.slideDuplicateClass})[data-swiper-slide-index=\"${prevSlide.attr('data-swiper-slide-index')}\"]`).addClass(params.slideDuplicatePrevClass);\n } else {\n $wrapperEl.children(`.${params.slideClass}.${params.slideDuplicateClass}[data-swiper-slide-index=\"${prevSlide.attr('data-swiper-slide-index')}\"]`).addClass(params.slideDuplicatePrevClass);\n }\n }\n\n swiper.emitSlidesClasses();\n}","export default function updateActiveIndex(newActiveIndex) {\n const swiper = this;\n const translate = swiper.rtlTranslate ? swiper.translate : -swiper.translate;\n const {\n slidesGrid,\n snapGrid,\n params,\n activeIndex: previousIndex,\n realIndex: previousRealIndex,\n snapIndex: previousSnapIndex\n } = swiper;\n let activeIndex = newActiveIndex;\n let snapIndex;\n\n if (typeof activeIndex === 'undefined') {\n for (let i = 0; i < slidesGrid.length; i += 1) {\n if (typeof slidesGrid[i + 1] !== 'undefined') {\n if (translate >= slidesGrid[i] && translate < slidesGrid[i + 1] - (slidesGrid[i + 1] - slidesGrid[i]) / 2) {\n activeIndex = i;\n } else if (translate >= slidesGrid[i] && translate < slidesGrid[i + 1]) {\n activeIndex = i + 1;\n }\n } else if (translate >= slidesGrid[i]) {\n activeIndex = i;\n }\n } // Normalize slideIndex\n\n\n if (params.normalizeSlideIndex) {\n if (activeIndex < 0 || typeof activeIndex === 'undefined') activeIndex = 0;\n }\n }\n\n if (snapGrid.indexOf(translate) >= 0) {\n snapIndex = snapGrid.indexOf(translate);\n } else {\n const skip = Math.min(params.slidesPerGroupSkip, activeIndex);\n snapIndex = skip + Math.floor((activeIndex - skip) / params.slidesPerGroup);\n }\n\n if (snapIndex >= snapGrid.length) snapIndex = snapGrid.length - 1;\n\n if (activeIndex === previousIndex) {\n if (snapIndex !== previousSnapIndex) {\n swiper.snapIndex = snapIndex;\n swiper.emit('snapIndexChange');\n }\n\n return;\n } // Get real index\n\n\n const realIndex = parseInt(swiper.slides.eq(activeIndex).attr('data-swiper-slide-index') || activeIndex, 10);\n Object.assign(swiper, {\n snapIndex,\n realIndex,\n previousIndex,\n activeIndex\n });\n swiper.emit('activeIndexChange');\n swiper.emit('snapIndexChange');\n\n if (previousRealIndex !== realIndex) {\n swiper.emit('realIndexChange');\n }\n\n if (swiper.initialized || swiper.params.runCallbacksOnInit) {\n swiper.emit('slideChange');\n }\n}","import $ from '../../shared/dom.js';\nexport default function updateClickedSlide(e) {\n const swiper = this;\n const params = swiper.params;\n const slide = $(e).closest(`.${params.slideClass}`)[0];\n let slideFound = false;\n let slideIndex;\n\n if (slide) {\n for (let i = 0; i < swiper.slides.length; i += 1) {\n if (swiper.slides[i] === slide) {\n slideFound = true;\n slideIndex = i;\n break;\n }\n }\n }\n\n if (slide && slideFound) {\n swiper.clickedSlide = slide;\n\n if (swiper.virtual && swiper.params.virtual.enabled) {\n swiper.clickedIndex = parseInt($(slide).attr('data-swiper-slide-index'), 10);\n } else {\n swiper.clickedIndex = slideIndex;\n }\n } else {\n swiper.clickedSlide = undefined;\n swiper.clickedIndex = undefined;\n return;\n }\n\n if (params.slideToClickedSlide && swiper.clickedIndex !== undefined && swiper.clickedIndex !== swiper.activeIndex) {\n swiper.slideToClickedSlide();\n }\n}","import getTranslate from './getTranslate.js';\nimport setTranslate from './setTranslate.js';\nimport minTranslate from './minTranslate.js';\nimport maxTranslate from './maxTranslate.js';\nimport translateTo from './translateTo.js';\nexport default {\n getTranslate,\n setTranslate,\n minTranslate,\n maxTranslate,\n translateTo\n};","import { getTranslate } from '../../shared/utils.js';\nexport default function getSwiperTranslate(axis = this.isHorizontal() ? 'x' : 'y') {\n const swiper = this;\n const {\n params,\n rtlTranslate: rtl,\n translate,\n $wrapperEl\n } = swiper;\n\n if (params.virtualTranslate) {\n return rtl ? -translate : translate;\n }\n\n if (params.cssMode) {\n return translate;\n }\n\n let currentTranslate = getTranslate($wrapperEl[0], axis);\n if (rtl) currentTranslate = -currentTranslate;\n return currentTranslate || 0;\n}","export default function setTranslate(translate, byController) {\n const swiper = this;\n const {\n rtlTranslate: rtl,\n params,\n $wrapperEl,\n wrapperEl,\n progress\n } = swiper;\n let x = 0;\n let y = 0;\n const z = 0;\n\n if (swiper.isHorizontal()) {\n x = rtl ? -translate : translate;\n } else {\n y = translate;\n }\n\n if (params.roundLengths) {\n x = Math.floor(x);\n y = Math.floor(y);\n }\n\n if (params.cssMode) {\n wrapperEl[swiper.isHorizontal() ? 'scrollLeft' : 'scrollTop'] = swiper.isHorizontal() ? -x : -y;\n } else if (!params.virtualTranslate) {\n $wrapperEl.transform(`translate3d(${x}px, ${y}px, ${z}px)`);\n }\n\n swiper.previousTranslate = swiper.translate;\n swiper.translate = swiper.isHorizontal() ? x : y; // Check if we need to update progress\n\n let newProgress;\n const translatesDiff = swiper.maxTranslate() - swiper.minTranslate();\n\n if (translatesDiff === 0) {\n newProgress = 0;\n } else {\n newProgress = (translate - swiper.minTranslate()) / translatesDiff;\n }\n\n if (newProgress !== progress) {\n swiper.updateProgress(translate);\n }\n\n swiper.emit('setTranslate', swiper.translate, byController);\n}","export default function minTranslate() {\n return -this.snapGrid[0];\n}","export default function maxTranslate() {\n return -this.snapGrid[this.snapGrid.length - 1];\n}","import { animateCSSModeScroll } from '../../shared/utils.js';\nexport default function translateTo(translate = 0, speed = this.params.speed, runCallbacks = true, translateBounds = true, internal) {\n const swiper = this;\n const {\n params,\n wrapperEl\n } = swiper;\n\n if (swiper.animating && params.preventInteractionOnTransition) {\n return false;\n }\n\n const minTranslate = swiper.minTranslate();\n const maxTranslate = swiper.maxTranslate();\n let newTranslate;\n if (translateBounds && translate > minTranslate) newTranslate = minTranslate;else if (translateBounds && translate < maxTranslate) newTranslate = maxTranslate;else newTranslate = translate; // Update progress\n\n swiper.updateProgress(newTranslate);\n\n if (params.cssMode) {\n const isH = swiper.isHorizontal();\n\n if (speed === 0) {\n wrapperEl[isH ? 'scrollLeft' : 'scrollTop'] = -newTranslate;\n } else {\n if (!swiper.support.smoothScroll) {\n animateCSSModeScroll({\n swiper,\n targetPosition: -newTranslate,\n side: isH ? 'left' : 'top'\n });\n return true;\n }\n\n wrapperEl.scrollTo({\n [isH ? 'left' : 'top']: -newTranslate,\n behavior: 'smooth'\n });\n }\n\n return true;\n }\n\n if (speed === 0) {\n swiper.setTransition(0);\n swiper.setTranslate(newTranslate);\n\n if (runCallbacks) {\n swiper.emit('beforeTransitionStart', speed, internal);\n swiper.emit('transitionEnd');\n }\n } else {\n swiper.setTransition(speed);\n swiper.setTranslate(newTranslate);\n\n if (runCallbacks) {\n swiper.emit('beforeTransitionStart', speed, internal);\n swiper.emit('transitionStart');\n }\n\n if (!swiper.animating) {\n swiper.animating = true;\n\n if (!swiper.onTranslateToWrapperTransitionEnd) {\n swiper.onTranslateToWrapperTransitionEnd = function transitionEnd(e) {\n if (!swiper || swiper.destroyed) return;\n if (e.target !== this) return;\n swiper.$wrapperEl[0].removeEventListener('transitionend', swiper.onTranslateToWrapperTransitionEnd);\n swiper.$wrapperEl[0].removeEventListener('webkitTransitionEnd', swiper.onTranslateToWrapperTransitionEnd);\n swiper.onTranslateToWrapperTransitionEnd = null;\n delete swiper.onTranslateToWrapperTransitionEnd;\n\n if (runCallbacks) {\n swiper.emit('transitionEnd');\n }\n };\n }\n\n swiper.$wrapperEl[0].addEventListener('transitionend', swiper.onTranslateToWrapperTransitionEnd);\n swiper.$wrapperEl[0].addEventListener('webkitTransitionEnd', swiper.onTranslateToWrapperTransitionEnd);\n }\n }\n\n return true;\n}","import setTransition from './setTransition.js';\nimport transitionStart from './transitionStart.js';\nimport transitionEnd from './transitionEnd.js';\nexport default {\n setTransition,\n transitionStart,\n transitionEnd\n};","export default function setTransition(duration, byController) {\n const swiper = this;\n\n if (!swiper.params.cssMode) {\n swiper.$wrapperEl.transition(duration);\n }\n\n swiper.emit('setTransition', duration, byController);\n}","import transitionEmit from './transitionEmit.js';\nexport default function transitionStart(runCallbacks = true, direction) {\n const swiper = this;\n const {\n params\n } = swiper;\n if (params.cssMode) return;\n\n if (params.autoHeight) {\n swiper.updateAutoHeight();\n }\n\n transitionEmit({\n swiper,\n runCallbacks,\n direction,\n step: 'Start'\n });\n}","import transitionEmit from './transitionEmit.js';\nexport default function transitionEnd(runCallbacks = true, direction) {\n const swiper = this;\n const {\n params\n } = swiper;\n swiper.animating = false;\n if (params.cssMode) return;\n swiper.setTransition(0);\n transitionEmit({\n swiper,\n runCallbacks,\n direction,\n step: 'End'\n });\n}","import slideTo from './slideTo.js';\nimport slideToLoop from './slideToLoop.js';\nimport slideNext from './slideNext.js';\nimport slidePrev from './slidePrev.js';\nimport slideReset from './slideReset.js';\nimport slideToClosest from './slideToClosest.js';\nimport slideToClickedSlide from './slideToClickedSlide.js';\nexport default {\n slideTo,\n slideToLoop,\n slideNext,\n slidePrev,\n slideReset,\n slideToClosest,\n slideToClickedSlide\n};","import { animateCSSModeScroll } from '../../shared/utils.js';\nexport default function slideTo(index = 0, speed = this.params.speed, runCallbacks = true, internal, initial) {\n if (typeof index !== 'number' && typeof index !== 'string') {\n throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof index}] given.`);\n }\n\n if (typeof index === 'string') {\n /**\n * The `index` argument converted from `string` to `number`.\n * @type {number}\n */\n const indexAsNumber = parseInt(index, 10);\n /**\n * Determines whether the `index` argument is a valid `number`\n * after being converted from the `string` type.\n * @type {boolean}\n */\n\n const isValidNumber = isFinite(indexAsNumber);\n\n if (!isValidNumber) {\n throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${index}] given.`);\n } // Knowing that the converted `index` is a valid number,\n // we can update the original argument's value.\n\n\n index = indexAsNumber;\n }\n\n const swiper = this;\n let slideIndex = index;\n if (slideIndex < 0) slideIndex = 0;\n const {\n params,\n snapGrid,\n slidesGrid,\n previousIndex,\n activeIndex,\n rtlTranslate: rtl,\n wrapperEl,\n enabled\n } = swiper;\n\n if (swiper.animating && params.preventInteractionOnTransition || !enabled && !internal && !initial) {\n return false;\n }\n\n const skip = Math.min(swiper.params.slidesPerGroupSkip, slideIndex);\n let snapIndex = skip + Math.floor((slideIndex - skip) / swiper.params.slidesPerGroup);\n if (snapIndex >= snapGrid.length) snapIndex = snapGrid.length - 1;\n const translate = -snapGrid[snapIndex]; // Normalize slideIndex\n\n if (params.normalizeSlideIndex) {\n for (let i = 0; i < slidesGrid.length; i += 1) {\n const normalizedTranslate = -Math.floor(translate * 100);\n const normalizedGrid = Math.floor(slidesGrid[i] * 100);\n const normalizedGridNext = Math.floor(slidesGrid[i + 1] * 100);\n\n if (typeof slidesGrid[i + 1] !== 'undefined') {\n if (normalizedTranslate >= normalizedGrid && normalizedTranslate < normalizedGridNext - (normalizedGridNext - normalizedGrid) / 2) {\n slideIndex = i;\n } else if (normalizedTranslate >= normalizedGrid && normalizedTranslate < normalizedGridNext) {\n slideIndex = i + 1;\n }\n } else if (normalizedTranslate >= normalizedGrid) {\n slideIndex = i;\n }\n }\n } // Directions locks\n\n\n if (swiper.initialized && slideIndex !== activeIndex) {\n if (!swiper.allowSlideNext && translate < swiper.translate && translate < swiper.minTranslate()) {\n return false;\n }\n\n if (!swiper.allowSlidePrev && translate > swiper.translate && translate > swiper.maxTranslate()) {\n if ((activeIndex || 0) !== slideIndex) return false;\n }\n }\n\n if (slideIndex !== (previousIndex || 0) && runCallbacks) {\n swiper.emit('beforeSlideChangeStart');\n } // Update progress\n\n\n swiper.updateProgress(translate);\n let direction;\n if (slideIndex > activeIndex) direction = 'next';else if (slideIndex < activeIndex) direction = 'prev';else direction = 'reset'; // Update Index\n\n if (rtl && -translate === swiper.translate || !rtl && translate === swiper.translate) {\n swiper.updateActiveIndex(slideIndex); // Update Height\n\n if (params.autoHeight) {\n swiper.updateAutoHeight();\n }\n\n swiper.updateSlidesClasses();\n\n if (params.effect !== 'slide') {\n swiper.setTranslate(translate);\n }\n\n if (direction !== 'reset') {\n swiper.transitionStart(runCallbacks, direction);\n swiper.transitionEnd(runCallbacks, direction);\n }\n\n return false;\n }\n\n if (params.cssMode) {\n const isH = swiper.isHorizontal();\n const t = rtl ? translate : -translate;\n\n if (speed === 0) {\n const isVirtual = swiper.virtual && swiper.params.virtual.enabled;\n\n if (isVirtual) {\n swiper.wrapperEl.style.scrollSnapType = 'none';\n swiper._immediateVirtual = true;\n }\n\n wrapperEl[isH ? 'scrollLeft' : 'scrollTop'] = t;\n\n if (isVirtual) {\n requestAnimationFrame(() => {\n swiper.wrapperEl.style.scrollSnapType = '';\n swiper._swiperImmediateVirtual = false;\n });\n }\n } else {\n if (!swiper.support.smoothScroll) {\n animateCSSModeScroll({\n swiper,\n targetPosition: t,\n side: isH ? 'left' : 'top'\n });\n return true;\n }\n\n wrapperEl.scrollTo({\n [isH ? 'left' : 'top']: t,\n behavior: 'smooth'\n });\n }\n\n return true;\n }\n\n swiper.setTransition(speed);\n swiper.setTranslate(translate);\n swiper.updateActiveIndex(slideIndex);\n swiper.updateSlidesClasses();\n swiper.emit('beforeTransitionStart', speed, internal);\n swiper.transitionStart(runCallbacks, direction);\n\n if (speed === 0) {\n swiper.transitionEnd(runCallbacks, direction);\n } else if (!swiper.animating) {\n swiper.animating = true;\n\n if (!swiper.onSlideToWrapperTransitionEnd) {\n swiper.onSlideToWrapperTransitionEnd = function transitionEnd(e) {\n if (!swiper || swiper.destroyed) return;\n if (e.target !== this) return;\n swiper.$wrapperEl[0].removeEventListener('transitionend', swiper.onSlideToWrapperTransitionEnd);\n swiper.$wrapperEl[0].removeEventListener('webkitTransitionEnd', swiper.onSlideToWrapperTransitionEnd);\n swiper.onSlideToWrapperTransitionEnd = null;\n delete swiper.onSlideToWrapperTransitionEnd;\n swiper.transitionEnd(runCallbacks, direction);\n };\n }\n\n swiper.$wrapperEl[0].addEventListener('transitionend', swiper.onSlideToWrapperTransitionEnd);\n swiper.$wrapperEl[0].addEventListener('webkitTransitionEnd', swiper.onSlideToWrapperTransitionEnd);\n }\n\n return true;\n}","export default function slideToLoop(index = 0, speed = this.params.speed, runCallbacks = true, internal) {\n if (typeof index === 'string') {\n /**\n * The `index` argument converted from `string` to `number`.\n * @type {number}\n */\n const indexAsNumber = parseInt(index, 10);\n /**\n * Determines whether the `index` argument is a valid `number`\n * after being converted from the `string` type.\n * @type {boolean}\n */\n\n const isValidNumber = isFinite(indexAsNumber);\n\n if (!isValidNumber) {\n throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${index}] given.`);\n } // Knowing that the converted `index` is a valid number,\n // we can update the original argument's value.\n\n\n index = indexAsNumber;\n }\n\n const swiper = this;\n let newIndex = index;\n\n if (swiper.params.loop) {\n newIndex += swiper.loopedSlides;\n }\n\n return swiper.slideTo(newIndex, speed, runCallbacks, internal);\n}","/* eslint no-unused-vars: \"off\" */\nexport default function slideNext(speed = this.params.speed, runCallbacks = true, internal) {\n const swiper = this;\n const {\n animating,\n enabled,\n params\n } = swiper;\n if (!enabled) return swiper;\n let perGroup = params.slidesPerGroup;\n\n if (params.slidesPerView === 'auto' && params.slidesPerGroup === 1 && params.slidesPerGroupAuto) {\n perGroup = Math.max(swiper.slidesPerViewDynamic('current', true), 1);\n }\n\n const increment = swiper.activeIndex < params.slidesPerGroupSkip ? 1 : perGroup;\n\n if (params.loop) {\n if (animating && params.loopPreventsSlide) return false;\n swiper.loopFix(); // eslint-disable-next-line\n\n swiper._clientLeft = swiper.$wrapperEl[0].clientLeft;\n }\n\n if (params.rewind && swiper.isEnd) {\n return swiper.slideTo(0, speed, runCallbacks, internal);\n }\n\n return swiper.slideTo(swiper.activeIndex + increment, speed, runCallbacks, internal);\n}","/* eslint no-unused-vars: \"off\" */\nexport default function slidePrev(speed = this.params.speed, runCallbacks = true, internal) {\n const swiper = this;\n const {\n params,\n animating,\n snapGrid,\n slidesGrid,\n rtlTranslate,\n enabled\n } = swiper;\n if (!enabled) return swiper;\n\n if (params.loop) {\n if (animating && params.loopPreventsSlide) return false;\n swiper.loopFix(); // eslint-disable-next-line\n\n swiper._clientLeft = swiper.$wrapperEl[0].clientLeft;\n }\n\n const translate = rtlTranslate ? swiper.translate : -swiper.translate;\n\n function normalize(val) {\n if (val < 0) return -Math.floor(Math.abs(val));\n return Math.floor(val);\n }\n\n const normalizedTranslate = normalize(translate);\n const normalizedSnapGrid = snapGrid.map(val => normalize(val));\n let prevSnap = snapGrid[normalizedSnapGrid.indexOf(normalizedTranslate) - 1];\n\n if (typeof prevSnap === 'undefined' && params.cssMode) {\n let prevSnapIndex;\n snapGrid.forEach((snap, snapIndex) => {\n if (normalizedTranslate >= snap) {\n // prevSnap = snap;\n prevSnapIndex = snapIndex;\n }\n });\n\n if (typeof prevSnapIndex !== 'undefined') {\n prevSnap = snapGrid[prevSnapIndex > 0 ? prevSnapIndex - 1 : prevSnapIndex];\n }\n }\n\n let prevIndex = 0;\n\n if (typeof prevSnap !== 'undefined') {\n prevIndex = slidesGrid.indexOf(prevSnap);\n if (prevIndex < 0) prevIndex = swiper.activeIndex - 1;\n\n if (params.slidesPerView === 'auto' && params.slidesPerGroup === 1 && params.slidesPerGroupAuto) {\n prevIndex = prevIndex - swiper.slidesPerViewDynamic('previous', true) + 1;\n prevIndex = Math.max(prevIndex, 0);\n }\n }\n\n if (params.rewind && swiper.isBeginning) {\n const lastIndex = swiper.params.virtual && swiper.params.virtual.enabled && swiper.virtual ? swiper.virtual.slides.length - 1 : swiper.slides.length - 1;\n return swiper.slideTo(lastIndex, speed, runCallbacks, internal);\n }\n\n return swiper.slideTo(prevIndex, speed, runCallbacks, internal);\n}","/* eslint no-unused-vars: \"off\" */\nexport default function slideReset(speed = this.params.speed, runCallbacks = true, internal) {\n const swiper = this;\n return swiper.slideTo(swiper.activeIndex, speed, runCallbacks, internal);\n}","/* eslint no-unused-vars: \"off\" */\nexport default function slideToClosest(speed = this.params.speed, runCallbacks = true, internal, threshold = 0.5) {\n const swiper = this;\n let index = swiper.activeIndex;\n const skip = Math.min(swiper.params.slidesPerGroupSkip, index);\n const snapIndex = skip + Math.floor((index - skip) / swiper.params.slidesPerGroup);\n const translate = swiper.rtlTranslate ? swiper.translate : -swiper.translate;\n\n if (translate >= swiper.snapGrid[snapIndex]) {\n // The current translate is on or after the current snap index, so the choice\n // is between the current index and the one after it.\n const currentSnap = swiper.snapGrid[snapIndex];\n const nextSnap = swiper.snapGrid[snapIndex + 1];\n\n if (translate - currentSnap > (nextSnap - currentSnap) * threshold) {\n index += swiper.params.slidesPerGroup;\n }\n } else {\n // The current translate is before the current snap index, so the choice\n // is between the current index and the one before it.\n const prevSnap = swiper.snapGrid[snapIndex - 1];\n const currentSnap = swiper.snapGrid[snapIndex];\n\n if (translate - prevSnap <= (currentSnap - prevSnap) * threshold) {\n index -= swiper.params.slidesPerGroup;\n }\n }\n\n index = Math.max(index, 0);\n index = Math.min(index, swiper.slidesGrid.length - 1);\n return swiper.slideTo(index, speed, runCallbacks, internal);\n}","import $ from '../../shared/dom.js';\nimport { nextTick } from '../../shared/utils.js';\nexport default function slideToClickedSlide() {\n const swiper = this;\n const {\n params,\n $wrapperEl\n } = swiper;\n const slidesPerView = params.slidesPerView === 'auto' ? swiper.slidesPerViewDynamic() : params.slidesPerView;\n let slideToIndex = swiper.clickedIndex;\n let realIndex;\n\n if (params.loop) {\n if (swiper.animating) return;\n realIndex = parseInt($(swiper.clickedSlide).attr('data-swiper-slide-index'), 10);\n\n if (params.centeredSlides) {\n if (slideToIndex < swiper.loopedSlides - slidesPerView / 2 || slideToIndex > swiper.slides.length - swiper.loopedSlides + slidesPerView / 2) {\n swiper.loopFix();\n slideToIndex = $wrapperEl.children(`.${params.slideClass}[data-swiper-slide-index=\"${realIndex}\"]:not(.${params.slideDuplicateClass})`).eq(0).index();\n nextTick(() => {\n swiper.slideTo(slideToIndex);\n });\n } else {\n swiper.slideTo(slideToIndex);\n }\n } else if (slideToIndex > swiper.slides.length - slidesPerView) {\n swiper.loopFix();\n slideToIndex = $wrapperEl.children(`.${params.slideClass}[data-swiper-slide-index=\"${realIndex}\"]:not(.${params.slideDuplicateClass})`).eq(0).index();\n nextTick(() => {\n swiper.slideTo(slideToIndex);\n });\n } else {\n swiper.slideTo(slideToIndex);\n }\n } else {\n swiper.slideTo(slideToIndex);\n }\n}","import loopCreate from './loopCreate.js';\nimport loopFix from './loopFix.js';\nimport loopDestroy from './loopDestroy.js';\nexport default {\n loopCreate,\n loopFix,\n loopDestroy\n};","import { getDocument } from 'ssr-window';\nimport $ from '../../shared/dom.js';\nexport default function loopCreate() {\n const swiper = this;\n const document = getDocument();\n const {\n params,\n $wrapperEl\n } = swiper; // Remove duplicated slides\n\n const $selector = $wrapperEl.children().length > 0 ? $($wrapperEl.children()[0].parentNode) : $wrapperEl;\n $selector.children(`.${params.slideClass}.${params.slideDuplicateClass}`).remove();\n let slides = $selector.children(`.${params.slideClass}`);\n\n if (params.loopFillGroupWithBlank) {\n const blankSlidesNum = params.slidesPerGroup - slides.length % params.slidesPerGroup;\n\n if (blankSlidesNum !== params.slidesPerGroup) {\n for (let i = 0; i < blankSlidesNum; i += 1) {\n const blankNode = $(document.createElement('div')).addClass(`${params.slideClass} ${params.slideBlankClass}`);\n $selector.append(blankNode);\n }\n\n slides = $selector.children(`.${params.slideClass}`);\n }\n }\n\n if (params.slidesPerView === 'auto' && !params.loopedSlides) params.loopedSlides = slides.length;\n swiper.loopedSlides = Math.ceil(parseFloat(params.loopedSlides || params.slidesPerView, 10));\n swiper.loopedSlides += params.loopAdditionalSlides;\n\n if (swiper.loopedSlides > slides.length && swiper.params.loopedSlidesLimit) {\n swiper.loopedSlides = slides.length;\n }\n\n const prependSlides = [];\n const appendSlides = [];\n slides.each((el, index) => {\n const slide = $(el);\n slide.attr('data-swiper-slide-index', index);\n });\n\n for (let i = 0; i < swiper.loopedSlides; i += 1) {\n const index = i - Math.floor(i / slides.length) * slides.length;\n appendSlides.push(slides.eq(index)[0]);\n prependSlides.unshift(slides.eq(slides.length - index - 1)[0]);\n }\n\n for (let i = 0; i < appendSlides.length; i += 1) {\n $selector.append($(appendSlides[i].cloneNode(true)).addClass(params.slideDuplicateClass));\n }\n\n for (let i = prependSlides.length - 1; i >= 0; i -= 1) {\n $selector.prepend($(prependSlides[i].cloneNode(true)).addClass(params.slideDuplicateClass));\n }\n}","export default function loopFix() {\n const swiper = this;\n swiper.emit('beforeLoopFix');\n const {\n activeIndex,\n slides,\n loopedSlides,\n allowSlidePrev,\n allowSlideNext,\n snapGrid,\n rtlTranslate: rtl\n } = swiper;\n let newIndex;\n swiper.allowSlidePrev = true;\n swiper.allowSlideNext = true;\n const snapTranslate = -snapGrid[activeIndex];\n const diff = snapTranslate - swiper.getTranslate(); // Fix For Negative Oversliding\n\n if (activeIndex < loopedSlides) {\n newIndex = slides.length - loopedSlides * 3 + activeIndex;\n newIndex += loopedSlides;\n const slideChanged = swiper.slideTo(newIndex, 0, false, true);\n\n if (slideChanged && diff !== 0) {\n swiper.setTranslate((rtl ? -swiper.translate : swiper.translate) - diff);\n }\n } else if (activeIndex >= slides.length - loopedSlides) {\n // Fix For Positive Oversliding\n newIndex = -slides.length + activeIndex + loopedSlides;\n newIndex += loopedSlides;\n const slideChanged = swiper.slideTo(newIndex, 0, false, true);\n\n if (slideChanged && diff !== 0) {\n swiper.setTranslate((rtl ? -swiper.translate : swiper.translate) - diff);\n }\n }\n\n swiper.allowSlidePrev = allowSlidePrev;\n swiper.allowSlideNext = allowSlideNext;\n swiper.emit('loopFix');\n}","export default function loopDestroy() {\n const swiper = this;\n const {\n $wrapperEl,\n params,\n slides\n } = swiper;\n $wrapperEl.children(`.${params.slideClass}.${params.slideDuplicateClass},.${params.slideClass}.${params.slideBlankClass}`).remove();\n slides.removeAttr('data-swiper-slide-index');\n}","import setGrabCursor from './setGrabCursor.js';\nimport unsetGrabCursor from './unsetGrabCursor.js';\nexport default {\n setGrabCursor,\n unsetGrabCursor\n};","export default function setGrabCursor(moving) {\n const swiper = this;\n if (swiper.support.touch || !swiper.params.simulateTouch || swiper.params.watchOverflow && swiper.isLocked || swiper.params.cssMode) return;\n const el = swiper.params.touchEventsTarget === 'container' ? swiper.el : swiper.wrapperEl;\n el.style.cursor = 'move';\n el.style.cursor = moving ? 'grabbing' : 'grab';\n}","export default function unsetGrabCursor() {\n const swiper = this;\n\n if (swiper.support.touch || swiper.params.watchOverflow && swiper.isLocked || swiper.params.cssMode) {\n return;\n }\n\n swiper[swiper.params.touchEventsTarget === 'container' ? 'el' : 'wrapperEl'].style.cursor = '';\n}","import setBreakpoint from './setBreakpoint.js';\nimport getBreakpoint from './getBreakpoint.js';\nexport default {\n setBreakpoint,\n getBreakpoint\n};","import { getWindow } from 'ssr-window';\nexport default function getBreakpoint(breakpoints, base = 'window', containerEl) {\n if (!breakpoints || base === 'container' && !containerEl) return undefined;\n let breakpoint = false;\n const window = getWindow();\n const currentHeight = base === 'window' ? window.innerHeight : containerEl.clientHeight;\n const points = Object.keys(breakpoints).map(point => {\n if (typeof point === 'string' && point.indexOf('@') === 0) {\n const minRatio = parseFloat(point.substr(1));\n const value = currentHeight * minRatio;\n return {\n value,\n point\n };\n }\n\n return {\n value: point,\n point\n };\n });\n points.sort((a, b) => parseInt(a.value, 10) - parseInt(b.value, 10));\n\n for (let i = 0; i < points.length; i += 1) {\n const {\n point,\n value\n } = points[i];\n\n if (base === 'window') {\n if (window.matchMedia(`(min-width: ${value}px)`).matches) {\n breakpoint = point;\n }\n } else if (value <= containerEl.clientWidth) {\n breakpoint = point;\n }\n }\n\n return breakpoint || 'max';\n}","function checkOverflow() {\n const swiper = this;\n const {\n isLocked: wasLocked,\n params\n } = swiper;\n const {\n slidesOffsetBefore\n } = params;\n\n if (slidesOffsetBefore) {\n const lastSlideIndex = swiper.slides.length - 1;\n const lastSlideRightEdge = swiper.slidesGrid[lastSlideIndex] + swiper.slidesSizesGrid[lastSlideIndex] + slidesOffsetBefore * 2;\n swiper.isLocked = swiper.size > lastSlideRightEdge;\n } else {\n swiper.isLocked = swiper.snapGrid.length === 1;\n }\n\n if (params.allowSlideNext === true) {\n swiper.allowSlideNext = !swiper.isLocked;\n }\n\n if (params.allowSlidePrev === true) {\n swiper.allowSlidePrev = !swiper.isLocked;\n }\n\n if (wasLocked && wasLocked !== swiper.isLocked) {\n swiper.isEnd = false;\n }\n\n if (wasLocked !== swiper.isLocked) {\n swiper.emit(swiper.isLocked ? 'lock' : 'unlock');\n }\n}\n\nexport default {\n checkOverflow\n};","import addClasses from './addClasses.js';\nimport removeClasses from './removeClasses.js';\nexport default {\n addClasses,\n removeClasses\n};","function prepareClasses(entries, prefix) {\n const resultClasses = [];\n entries.forEach(item => {\n if (typeof item === 'object') {\n Object.keys(item).forEach(classNames => {\n if (item[classNames]) {\n resultClasses.push(prefix + classNames);\n }\n });\n } else if (typeof item === 'string') {\n resultClasses.push(prefix + item);\n }\n });\n return resultClasses;\n}\n\nexport default function addClasses() {\n const swiper = this;\n const {\n classNames,\n params,\n rtl,\n $el,\n device,\n support\n } = swiper; // prettier-ignore\n\n const suffixes = prepareClasses(['initialized', params.direction, {\n 'pointer-events': !support.touch\n }, {\n 'free-mode': swiper.params.freeMode && params.freeMode.enabled\n }, {\n 'autoheight': params.autoHeight\n }, {\n 'rtl': rtl\n }, {\n 'grid': params.grid && params.grid.rows > 1\n }, {\n 'grid-column': params.grid && params.grid.rows > 1 && params.grid.fill === 'column'\n }, {\n 'android': device.android\n }, {\n 'ios': device.ios\n }, {\n 'css-mode': params.cssMode\n }, {\n 'centered': params.cssMode && params.centeredSlides\n }, {\n 'watch-progress': params.watchSlidesProgress\n }], params.containerModifierClass);\n classNames.push(...suffixes);\n $el.addClass([...classNames].join(' '));\n swiper.emitContainerClasses();\n}","export default function removeClasses() {\n const swiper = this;\n const {\n $el,\n classNames\n } = swiper;\n $el.removeClass(classNames.join(' '));\n swiper.emitContainerClasses();\n}","import loadImage from './loadImage.js';\nimport preloadImages from './preloadImages.js';\nexport default {\n loadImage,\n preloadImages\n};","import { getWindow } from 'ssr-window';\nimport $ from '../../shared/dom.js';\nexport default function loadImage(imageEl, src, srcset, sizes, checkForComplete, callback) {\n const window = getWindow();\n let image;\n\n function onReady() {\n if (callback) callback();\n }\n\n const isPicture = $(imageEl).parent('picture')[0];\n\n if (!isPicture && (!imageEl.complete || !checkForComplete)) {\n if (src) {\n image = new window.Image();\n image.onload = onReady;\n image.onerror = onReady;\n\n if (sizes) {\n image.sizes = sizes;\n }\n\n if (srcset) {\n image.srcset = srcset;\n }\n\n if (src) {\n image.src = src;\n }\n } else {\n onReady();\n }\n } else {\n // image already loaded...\n onReady();\n }\n}","export default function preloadImages() {\n const swiper = this;\n swiper.imagesToLoad = swiper.$el.find('img');\n\n function onReady() {\n if (typeof swiper === 'undefined' || swiper === null || !swiper || swiper.destroyed) return;\n if (swiper.imagesLoaded !== undefined) swiper.imagesLoaded += 1;\n\n if (swiper.imagesLoaded === swiper.imagesToLoad.length) {\n if (swiper.params.updateOnImagesReady) swiper.update();\n swiper.emit('imagesReady');\n }\n }\n\n for (let i = 0; i < swiper.imagesToLoad.length; i += 1) {\n const imageEl = swiper.imagesToLoad[i];\n swiper.loadImage(imageEl, imageEl.currentSrc || imageEl.getAttribute('src'), imageEl.srcset || imageEl.getAttribute('srcset'), imageEl.sizes || imageEl.getAttribute('sizes'), true, onReady);\n }\n}","import { getWindow } from 'ssr-window';\nexport default function Resize({\n swiper,\n on,\n emit\n}) {\n const window = getWindow();\n let observer = null;\n let animationFrame = null;\n\n const resizeHandler = () => {\n if (!swiper || swiper.destroyed || !swiper.initialized) return;\n emit('beforeResize');\n emit('resize');\n };\n\n const createObserver = () => {\n if (!swiper || swiper.destroyed || !swiper.initialized) return;\n observer = new ResizeObserver(entries => {\n animationFrame = window.requestAnimationFrame(() => {\n const {\n width,\n height\n } = swiper;\n let newWidth = width;\n let newHeight = height;\n entries.forEach(({\n contentBoxSize,\n contentRect,\n target\n }) => {\n if (target && target !== swiper.el) return;\n newWidth = contentRect ? contentRect.width : (contentBoxSize[0] || contentBoxSize).inlineSize;\n newHeight = contentRect ? contentRect.height : (contentBoxSize[0] || contentBoxSize).blockSize;\n });\n\n if (newWidth !== width || newHeight !== height) {\n resizeHandler();\n }\n });\n });\n observer.observe(swiper.el);\n };\n\n const removeObserver = () => {\n if (animationFrame) {\n window.cancelAnimationFrame(animationFrame);\n }\n\n if (observer && observer.unobserve && swiper.el) {\n observer.unobserve(swiper.el);\n observer = null;\n }\n };\n\n const orientationChangeHandler = () => {\n if (!swiper || swiper.destroyed || !swiper.initialized) return;\n emit('orientationchange');\n };\n\n on('init', () => {\n if (swiper.params.resizeObserver && typeof window.ResizeObserver !== 'undefined') {\n createObserver();\n return;\n }\n\n window.addEventListener('resize', resizeHandler);\n window.addEventListener('orientationchange', orientationChangeHandler);\n });\n on('destroy', () => {\n removeObserver();\n window.removeEventListener('resize', resizeHandler);\n window.removeEventListener('orientationchange', orientationChangeHandler);\n });\n}","import { getWindow } from 'ssr-window';\nexport default function Observer({\n swiper,\n extendParams,\n on,\n emit\n}) {\n const observers = [];\n const window = getWindow();\n\n const attach = (target, options = {}) => {\n const ObserverFunc = window.MutationObserver || window.WebkitMutationObserver;\n const observer = new ObserverFunc(mutations => {\n // The observerUpdate event should only be triggered\n // once despite the number of mutations. Additional\n // triggers are redundant and are very costly\n if (mutations.length === 1) {\n emit('observerUpdate', mutations[0]);\n return;\n }\n\n const observerUpdate = function observerUpdate() {\n emit('observerUpdate', mutations[0]);\n };\n\n if (window.requestAnimationFrame) {\n window.requestAnimationFrame(observerUpdate);\n } else {\n window.setTimeout(observerUpdate, 0);\n }\n });\n observer.observe(target, {\n attributes: typeof options.attributes === 'undefined' ? true : options.attributes,\n childList: typeof options.childList === 'undefined' ? true : options.childList,\n characterData: typeof options.characterData === 'undefined' ? true : options.characterData\n });\n observers.push(observer);\n };\n\n const init = () => {\n if (!swiper.params.observer) return;\n\n if (swiper.params.observeParents) {\n const containerParents = swiper.$el.parents();\n\n for (let i = 0; i < containerParents.length; i += 1) {\n attach(containerParents[i]);\n }\n } // Observe container\n\n\n attach(swiper.$el[0], {\n childList: swiper.params.observeSlideChildren\n }); // Observe wrapper\n\n attach(swiper.$wrapperEl[0], {\n attributes: false\n });\n };\n\n const destroy = () => {\n observers.forEach(observer => {\n observer.disconnect();\n });\n observers.splice(0, observers.length);\n };\n\n extendParams({\n observer: false,\n observeParents: false,\n observeSlideChildren: false\n });\n on('init', init);\n on('destroy', destroy);\n}","import { getDocument } from 'ssr-window';\nexport default function createElementIfNotDefined(swiper, originalParams, params, checkProps) {\n const document = getDocument();\n\n if (swiper.params.createElements) {\n Object.keys(checkProps).forEach(key => {\n if (!params[key] && params.auto === true) {\n let element = swiper.$el.children(`.${checkProps[key]}`)[0];\n\n if (!element) {\n element = document.createElement('div');\n element.className = checkProps[key];\n swiper.$el.append(element);\n }\n\n params[key] = element;\n originalParams[key] = element;\n }\n });\n }\n\n return params;\n}","export default function classesToSelector(classes = '') {\n return `.${classes.trim().replace(/([\\.:!\\/])/g, '\\\\$1') // eslint-disable-line\n .replace(/ /g, '.')}`;\n}","import * as i0 from '@angular/core';\nimport { Directive, Input, EventEmitter, PLATFORM_ID, Component, ChangeDetectionStrategy, ViewEncapsulation, Inject, Output, ViewChild, ContentChildren, HostBinding, NgModule } from '@angular/core';\nimport * as i1 from '@angular/common';\nimport { isPlatformBrowser, CommonModule } from '@angular/common';\nimport Swiper from 'swiper';\nimport { Subject, of } from 'rxjs';\n\n/* underscore in name -> watch for changes */\nconst paramsList = [\n 'init',\n 'enabled',\n '_direction',\n 'touchEventsTarget',\n 'initialSlide',\n '_speed',\n 'cssMode',\n 'updateOnWindowResize',\n 'resizeObserver',\n 'nested',\n 'focusableElements',\n '_width',\n '_height',\n 'preventInteractionOnTransition',\n 'userAgent',\n 'url',\n '_edgeSwipeDetection',\n '_edgeSwipeThreshold',\n '_freeMode',\n '_autoHeight',\n 'setWrapperSize',\n 'virtualTranslate',\n '_effect',\n 'breakpoints',\n '_spaceBetween',\n '_slidesPerView',\n 'maxBackfaceHiddenSlides',\n '_grid',\n '_slidesPerGroup',\n '_slidesPerGroupSkip',\n '_slidesPerGroupAuto',\n '_centeredSlides',\n '_centeredSlidesBounds',\n '_slidesOffsetBefore',\n '_slidesOffsetAfter',\n 'normalizeSlideIndex',\n '_centerInsufficientSlides',\n '_watchOverflow',\n 'roundLengths',\n 'touchRatio',\n 'touchAngle',\n 'simulateTouch',\n '_shortSwipes',\n '_longSwipes',\n 'longSwipesRatio',\n 'longSwipesMs',\n '_followFinger',\n 'allowTouchMove',\n '_threshold',\n 'touchMoveStopPropagation',\n 'touchStartPreventDefault',\n 'touchStartForcePreventDefault',\n 'touchReleaseOnEdges',\n 'uniqueNavElements',\n '_resistance',\n '_resistanceRatio',\n '_watchSlidesProgress',\n '_grabCursor',\n 'preventClicks',\n 'preventClicksPropagation',\n '_slideToClickedSlide',\n '_preloadImages',\n 'updateOnImagesReady',\n '_loop',\n '_loopAdditionalSlides',\n '_loopedSlides',\n '_loopedSlidesLimit',\n '_loopFillGroupWithBlank',\n 'loopPreventsSlide',\n '_rewind',\n '_allowSlidePrev',\n '_allowSlideNext',\n '_swipeHandler',\n '_noSwiping',\n 'noSwipingClass',\n 'noSwipingSelector',\n 'passiveListeners',\n 'containerModifierClass',\n 'slideClass',\n 'slideBlankClass',\n 'slideActiveClass',\n 'slideDuplicateActiveClass',\n 'slideVisibleClass',\n 'slideDuplicateClass',\n 'slideNextClass',\n 'slideDuplicateNextClass',\n 'slidePrevClass',\n 'slideDuplicatePrevClass',\n 'wrapperClass',\n 'runCallbacksOnInit',\n 'observer',\n 'observeParents',\n 'observeSlideChildren',\n // modules\n 'a11y',\n 'autoplay',\n '_controller',\n 'coverflowEffect',\n 'cubeEffect',\n 'fadeEffect',\n 'flipEffect',\n 'creativeEffect',\n 'cardsEffect',\n 'hashNavigation',\n 'history',\n 'keyboard',\n 'lazy',\n 'mousewheel',\n '_navigation',\n '_pagination',\n 'parallax',\n '_scrollbar',\n '_thumbs',\n 'virtual',\n 'zoom',\n 'on',\n];\n\nfunction isObject(o) {\n return (typeof o === 'object' &&\n o !== null &&\n o.constructor &&\n Object.prototype.toString.call(o).slice(8, -1) === 'Object');\n}\nfunction isEnabled(val) {\n return typeof val !== 'undefined' && typeof val !== 'boolean' && val.enabled === true;\n}\nfunction isShowEl(val, obj, el) {\n return ((coerceBooleanProperty(val) === true && obj && !obj.el) ||\n !(typeof obj !== 'boolean' &&\n obj.el !== (el === null || el === void 0 ? void 0 : el.nativeElement) &&\n (typeof obj.el === 'string' || typeof obj.el === 'object')));\n}\nfunction extend(target, src) {\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n Object.keys(src)\n .filter((key) => noExtend.indexOf(key) < 0)\n .forEach((key) => {\n if (typeof target[key] === 'undefined') {\n target[key] = src[key];\n return;\n }\n if (target[key] && !src[key]) {\n return;\n }\n if (isObject(src[key]) && isObject(target[key]) && Object.keys(src[key]).length > 0) {\n if (src[key].__swiper__)\n target[key] = src[key];\n else\n extend(target[key], src[key]);\n }\n else {\n target[key] = src[key];\n }\n });\n}\nfunction coerceBooleanProperty(value) {\n return value != null && `${value}` !== 'false';\n}\nconst ignoreNgOnChanges = ['pagination', 'navigation', 'scrollbar', 'virtual'];\nfunction setProperty(val, obj = {}) {\n if (isObject(val)) {\n return val;\n }\n if (coerceBooleanProperty(val) === true) {\n return obj;\n }\n return false;\n}\n\n// @ts-ignore\nconst allowedParams = paramsList.map((key) => key.replace(/_/, ''));\nfunction getParams(obj = {}) {\n const params = {\n on: {},\n };\n // const events = {};\n const passedParams = {};\n extend(params, Swiper.defaults);\n extend(params, Swiper.extendedDefaults);\n params._emitClasses = true;\n params.init = false;\n const rest = {};\n const allowedParams = paramsList.map((key) => key.replace(/_/, ''));\n Object.keys(obj).forEach((key) => {\n const _key = key.replace(/^_/, '');\n if (allowedParams.indexOf(_key) >= 0) {\n if (isObject(obj[key])) {\n params[_key] = {};\n passedParams[_key] = {};\n extend(params[_key], obj[key]);\n extend(passedParams[_key], obj[key]);\n }\n else {\n params[_key] = obj[key];\n passedParams[_key] = obj[key];\n }\n }\n // else if (key.search(/on[A-Z]/) === 0 && typeof obj[key] === 'function') {\n // events[`${_key[2].toLowerCase()}${key.substr(3)}`] = obj[key];\n // }\n else {\n rest[_key] = obj[key];\n }\n });\n ['navigation', 'pagination', 'scrollbar'].forEach((key) => {\n if (params[key] === true)\n params[key] = {};\n if (params[key] === false)\n delete params[key];\n });\n return { params, passedParams, rest };\n}\n\nclass SwiperSlideDirective {\n constructor(template) {\n this.template = template;\n this.class = '';\n this.autoplayDelay = null;\n this.slideData = {\n isActive: false,\n isPrev: false,\n isNext: false,\n isVisible: false,\n isDuplicate: false,\n };\n }\n set ngClass(val) {\n this.class = [this.class || '', val].join(' ');\n }\n set zoom(val) {\n this._zoom = coerceBooleanProperty(val);\n }\n get zoom() {\n return this._zoom;\n }\n get classNames() {\n return this._classNames;\n }\n set classNames(val) {\n if (this._classNames === val) {\n return;\n }\n this._classNames = val;\n this.slideData = {\n isActive: this._hasClass(['swiper-slide-active', 'swiper-slide-duplicate-active']),\n isVisible: this._hasClass(['swiper-slide-visible']),\n isDuplicate: this._hasClass(['swiper-slide-duplicate']),\n isPrev: this._hasClass(['swiper-slide-prev', 'swiper-slide-duplicate-prev']),\n isNext: this._hasClass(['swiper-slide-next', 'swiper-slide-duplicate-next']),\n };\n }\n _hasClass(classNames) {\n return classNames.some((className) => this._classNames.indexOf(className) >= 0);\n }\n}\nSwiperSlideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.3.11\", ngImport: i0, type: SwiperSlideDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });\nSwiperSlideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"12.0.0\", version: \"13.3.11\", type: SwiperSlideDirective, selector: \"ng-template[swiperSlide]\", inputs: { virtualIndex: \"virtualIndex\", class: \"class\", ngClass: \"ngClass\", autoplayDelay: [\"data-swiper-autoplay\", \"autoplayDelay\"], zoom: \"zoom\" }, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.3.11\", ngImport: i0, type: SwiperSlideDirective, decorators: [{\n type: Directive,\n args: [{\n selector: 'ng-template[swiperSlide]',\n }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; }, propDecorators: { virtualIndex: [{\n type: Input\n }], class: [{\n type: Input\n }], ngClass: [{\n type: Input\n }], autoplayDelay: [{\n type: Input,\n args: ['data-swiper-autoplay']\n }], zoom: [{\n type: Input\n }] } });\n\nclass SwiperComponent {\n constructor(_ngZone, elementRef, _changeDetectorRef, _platformId) {\n this._ngZone = _ngZone;\n this.elementRef = elementRef;\n this._changeDetectorRef = _changeDetectorRef;\n this._platformId = _platformId;\n this.slideClass = 'swiper-slide';\n this.wrapperClass = 'swiper-wrapper';\n this.showNavigation = true;\n this.showPagination = true;\n this.showScrollbar = true;\n this.s__beforeBreakpoint = new EventEmitter();\n this.s__containerClasses = new EventEmitter();\n this.s__slideClass = new EventEmitter();\n this.s__swiper = new EventEmitter();\n this.s_activeIndexChange = new EventEmitter();\n this.s_afterInit = new EventEmitter();\n this.s_autoplay = new EventEmitter();\n this.s_autoplayStart = new EventEmitter();\n this.s_autoplayStop = new EventEmitter();\n this.s_autoplayPause = new EventEmitter();\n this.s_autoplayResume = new EventEmitter();\n this.s_beforeDestroy = new EventEmitter();\n this.s_beforeInit = new EventEmitter();\n this.s_beforeLoopFix = new EventEmitter();\n this.s_beforeResize = new EventEmitter();\n this.s_beforeSlideChangeStart = new EventEmitter();\n this.s_beforeTransitionStart = new EventEmitter();\n this.s_breakpoint = new EventEmitter();\n this.s_changeDirection = new EventEmitter();\n this.s_click = new EventEmitter();\n this.s_doubleTap = new EventEmitter();\n this.s_doubleClick = new EventEmitter();\n this.s_destroy = new EventEmitter();\n this.s_fromEdge = new EventEmitter();\n this.s_hashChange = new EventEmitter();\n this.s_hashSet = new EventEmitter();\n this.s_imagesReady = new EventEmitter();\n this.s_init = new EventEmitter();\n this.s_keyPress = new EventEmitter();\n this.s_lazyImageLoad = new EventEmitter();\n this.s_lazyImageReady = new EventEmitter();\n this.s_loopFix = new EventEmitter();\n this.s_momentumBounce = new EventEmitter();\n this.s_navigationHide = new EventEmitter();\n this.s_navigationShow = new EventEmitter();\n this.s_navigationPrev = new EventEmitter();\n this.s_navigationNext = new EventEmitter();\n this.s_observerUpdate = new EventEmitter();\n this.s_orientationchange = new EventEmitter();\n this.s_paginationHide = new EventEmitter();\n this.s_paginationRender = new EventEmitter();\n this.s_paginationShow = new EventEmitter();\n this.s_paginationUpdate = new EventEmitter();\n this.s_progress = new EventEmitter();\n this.s_reachBeginning = new EventEmitter();\n this.s_reachEnd = new EventEmitter();\n this.s_realIndexChange = new EventEmitter();\n this.s_resize = new EventEmitter();\n this.s_scroll = new EventEmitter();\n this.s_scrollbarDragEnd = new EventEmitter();\n this.s_scrollbarDragMove = new EventEmitter();\n this.s_scrollbarDragStart = new EventEmitter();\n this.s_setTransition = new EventEmitter();\n this.s_setTranslate = new EventEmitter();\n this.s_slideChange = new EventEmitter();\n this.s_slideChangeTransitionEnd = new EventEmitter();\n this.s_slideChangeTransitionStart = new EventEmitter();\n this.s_slideNextTransitionEnd = new EventEmitter();\n this.s_slideNextTransitionStart = new EventEmitter();\n this.s_slidePrevTransitionEnd = new EventEmitter();\n this.s_slidePrevTransitionStart = new EventEmitter();\n this.s_slideResetTransitionStart = new EventEmitter();\n this.s_slideResetTransitionEnd = new EventEmitter();\n this.s_sliderMove = new EventEmitter();\n this.s_sliderFirstMove = new EventEmitter();\n this.s_slidesLengthChange = new EventEmitter();\n this.s_slidesGridLengthChange = new EventEmitter();\n this.s_snapGridLengthChange = new EventEmitter();\n this.s_snapIndexChange = new EventEmitter();\n this.s_tap = new EventEmitter();\n this.s_toEdge = new EventEmitter();\n this.s_touchEnd = new EventEmitter();\n this.s_touchMove = new EventEmitter();\n this.s_touchMoveOpposite = new EventEmitter();\n this.s_touchStart = new EventEmitter();\n this.s_transitionEnd = new EventEmitter();\n this.s_transitionStart = new EventEmitter();\n this.s_update = new EventEmitter();\n this.s_zoomChange = new EventEmitter();\n this.s_swiper = new EventEmitter();\n this.s_lock = new EventEmitter();\n this.s_unlock = new EventEmitter();\n this._activeSlides = new Subject();\n this.containerClasses = 'swiper';\n this.slidesChanges = (val) => {\n this.slides = val.map((slide, index) => {\n slide.slideIndex = index;\n slide.classNames = this.slideClass || '';\n return slide;\n });\n if (this.loop && !this.loopedSlides) {\n this.calcLoopedSlides();\n }\n if (!this.virtual) {\n if (this.loopedSlides) {\n this.prependSlides = of(this.slides.slice(this.slides.length - this.loopedSlides));\n this.appendSlides = of(this.slides.slice(0, this.loopedSlides));\n }\n }\n else if (this.swiperRef && this.swiperRef.virtual) {\n this._ngZone.runOutsideAngular(() => {\n this.swiperRef.virtual.slides = this.slides;\n this.swiperRef.virtual.update(true);\n });\n }\n this._changeDetectorRef.detectChanges();\n };\n this.style = null;\n this.updateVirtualSlides = (virtualData) => {\n // TODO: type virtualData\n if (!this.swiperRef ||\n (this.currentVirtualData &&\n this.currentVirtualData.from === virtualData.from &&\n this.currentVirtualData.to === virtualData.to &&\n this.currentVirtualData.offset === virtualData.offset)) {\n return;\n }\n this.style = this.swiperRef.isHorizontal()\n ? {\n [this.swiperRef.rtlTranslate ? 'right' : 'left']: `${virtualData.offset}px`,\n }\n : {\n top: `${virtualData.offset}px`,\n };\n this.currentVirtualData = virtualData;\n this._activeSlides.next(virtualData.slides);\n this._ngZone.run(() => {\n this._changeDetectorRef.detectChanges();\n });\n this._ngZone.runOutsideAngular(() => {\n this.swiperRef.updateSlides();\n this.swiperRef.updateProgress();\n this.swiperRef.updateSlidesClasses();\n if (isEnabled(this.swiperRef.params.lazy)) {\n this.swiperRef.lazy.load();\n }\n this.swiperRef.virtual.update(true);\n });\n return;\n };\n }\n set navigation(val) {\n var _a, _b, _c;\n const currentNext = typeof this._navigation !== 'boolean' && this._navigation !== ''\n ? (_a = this._navigation) === null || _a === void 0 ? void 0 : _a.nextEl\n : null;\n const currentPrev = typeof this._navigation !== 'boolean' && this._navigation !== ''\n ? (_b = this._navigation) === null || _b === void 0 ? void 0 : _b.prevEl\n : null;\n this._navigation = setProperty(val, {\n nextEl: currentNext || null,\n prevEl: currentPrev || null,\n });\n this.showNavigation = !(coerceBooleanProperty(val) !== true ||\n (this._navigation &&\n typeof this._navigation !== 'boolean' &&\n this._navigation.prevEl !== ((_c = this._prevElRef) === null || _c === void 0 ? void 0 : _c.nativeElement) &&\n (this._navigation.prevEl !== null || this._navigation.nextEl !== null) &&\n (typeof this._navigation.nextEl === 'string' ||\n typeof this._navigation.prevEl === 'string' ||\n typeof this._navigation.nextEl === 'object' ||\n typeof this._navigation.prevEl === 'object')));\n }\n get navigation() {\n return this._navigation;\n }\n set pagination(val) {\n var _a;\n const current = typeof this._pagination !== 'boolean' && this._pagination !== ''\n ? (_a = this._pagination) === null || _a === void 0 ? void 0 : _a.el\n : null;\n this._pagination = setProperty(val, {\n el: current || null,\n });\n this.showPagination = isShowEl(val, this._pagination, this._paginationElRef);\n }\n get pagination() {\n return this._pagination;\n }\n set scrollbar(val) {\n var _a;\n const current = typeof this._scrollbar !== 'boolean' && this._scrollbar !== '' ? (_a = this._scrollbar) === null || _a === void 0 ? void 0 : _a.el : null;\n this._scrollbar = setProperty(val, {\n el: current || null,\n });\n this.showScrollbar = isShowEl(val, this._scrollbar, this._scrollbarElRef);\n }\n get scrollbar() {\n return this._scrollbar;\n }\n set virtual(val) {\n this._virtual = setProperty(val);\n }\n get virtual() {\n return this._virtual;\n }\n set config(val) {\n this.updateSwiper(val);\n const { params } = getParams(val);\n Object.assign(this, params);\n }\n set prevElRef(el) {\n this._prevElRef = el;\n this._setElement(el, this.navigation, 'navigation', 'prevEl');\n }\n set nextElRef(el) {\n this._nextElRef = el;\n this._setElement(el, this.navigation, 'navigation', 'nextEl');\n }\n set scrollbarElRef(el) {\n this._scrollbarElRef = el;\n this._setElement(el, this.scrollbar, 'scrollbar');\n }\n set paginationElRef(el) {\n this._paginationElRef = el;\n this._setElement(el, this.pagination, 'pagination');\n }\n get activeSlides() {\n if (this.virtual) {\n return this._activeSlides;\n }\n return of(this.slides);\n }\n get zoomContainerClass() {\n return this.zoom && typeof this.zoom !== 'boolean'\n ? this.zoom.containerClass\n : 'swiper-zoom-container';\n }\n _setElement(el, ref, update, key = 'el') {\n if (!ref || !el)\n return;\n if (el.nativeElement) {\n if (ref[key] === el.nativeElement) {\n return;\n }\n ref[key] = el.nativeElement;\n }\n const updateObj = {};\n updateObj[update] = true;\n this.updateInitSwiper(updateObj);\n }\n ngOnInit() {\n const { params } = getParams(this);\n Object.assign(this, params);\n }\n ngAfterViewInit() {\n this.childrenSlidesInit();\n this.initSwiper();\n this._changeDetectorRef.detectChanges();\n setTimeout(() => {\n this.s_swiper.emit(this.swiperRef);\n });\n }\n childrenSlidesInit() {\n this.slidesChanges(this.slidesEl);\n this.slidesEl.changes.subscribe(this.slidesChanges);\n }\n get isSwiperActive() {\n return this.swiperRef && !this.swiperRef.destroyed;\n }\n initSwiper() {\n const { params: swiperParams, passedParams } = getParams(this);\n Object.assign(this, swiperParams);\n this._ngZone.runOutsideAngular(() => {\n swiperParams.init = false;\n if (!swiperParams.virtual) {\n swiperParams.observer = true;\n }\n swiperParams.onAny = (eventName, ...args) => {\n const emitter = this[('s_' + eventName)];\n if (emitter) {\n emitter.emit([...args]);\n }\n };\n const _slideClasses = (_, updated) => {\n updated.forEach(({ slideEl, classNames }, index) => {\n const dataIndex = slideEl.getAttribute('data-swiper-slide-index');\n const slideIndex = dataIndex ? parseInt(dataIndex) : index;\n if (this.virtual) {\n const virtualSlide = this.slides.find((item) => {\n return item.virtualIndex && item.virtualIndex === slideIndex;\n });\n if (virtualSlide) {\n virtualSlide.classNames = classNames;\n return;\n }\n }\n if (this.slides[slideIndex]) {\n this.slides[slideIndex].classNames = classNames;\n }\n });\n this._changeDetectorRef.detectChanges();\n };\n const _containerClasses = (_, classes) => {\n setTimeout(() => {\n this.containerClasses = classes;\n });\n };\n Object.assign(swiperParams.on, {\n _containerClasses,\n _slideClasses,\n });\n const swiperRef = new Swiper(swiperParams);\n swiperRef.loopCreate = () => { };\n swiperRef.loopDestroy = () => { };\n if (swiperParams.loop) {\n swiperRef.loopedSlides = this.loopedSlides;\n }\n const isVirtualEnabled = isEnabled(swiperRef.params.virtual);\n if (swiperRef.virtual && isVirtualEnabled) {\n swiperRef.virtual.slides = this.slides;\n const extendWith = {\n cache: false,\n slides: this.slides,\n renderExternal: this.updateVirtualSlides,\n renderExternalUpdate: false,\n };\n extend(swiperRef.params.virtual, extendWith);\n extend(swiperRef.originalParams.virtual, extendWith);\n }\n if (isPlatformBrowser(this._platformId)) {\n this.swiperRef = swiperRef.init(this.elementRef.nativeElement);\n const isVirtualEnabled = isEnabled(this.swiperRef.params.virtual);\n if (this.swiperRef.virtual && isVirtualEnabled) {\n this.swiperRef.virtual.update(true);\n }\n this._changeDetectorRef.detectChanges();\n }\n });\n }\n ngOnChanges(changedParams) {\n this.updateSwiper(changedParams);\n this._changeDetectorRef.detectChanges();\n }\n updateInitSwiper(changedParams) {\n if (!(changedParams && this.swiperRef && !this.swiperRef.destroyed)) {\n return;\n }\n this._ngZone.runOutsideAngular(() => {\n const { params: currentParams, pagination, navigation, scrollbar, virtual, thumbs, } = this.swiperRef;\n if (changedParams.pagination) {\n if (this.pagination &&\n typeof this.pagination !== 'boolean' &&\n this.pagination.el &&\n pagination &&\n !pagination.el) {\n this.updateParameter('pagination', this.pagination);\n pagination.init();\n pagination.render();\n pagination.update();\n }\n else {\n pagination.destroy();\n pagination.el = null;\n }\n }\n if (changedParams.scrollbar) {\n if (this.scrollbar &&\n typeof this.scrollbar !== 'boolean' &&\n this.scrollbar.el &&\n scrollbar &&\n !scrollbar.el) {\n this.updateParameter('scrollbar', this.scrollbar);\n scrollbar.init();\n scrollbar.updateSize();\n scrollbar.setTranslate();\n }\n else {\n scrollbar.destroy();\n scrollbar.el = null;\n }\n }\n if (changedParams.navigation) {\n if (this.navigation &&\n typeof this.navigation !== 'boolean' &&\n this.navigation.prevEl &&\n this.navigation.nextEl &&\n navigation &&\n !navigation.prevEl &&\n !navigation.nextEl) {\n this.updateParameter('navigation', this.navigation);\n navigation.init();\n navigation.update();\n }\n else if (navigation.prevEl && navigation.nextEl) {\n navigation.destroy();\n navigation.nextEl = null;\n navigation.prevEl = null;\n }\n }\n if (changedParams.thumbs && this.thumbs && this.thumbs.swiper) {\n this.updateParameter('thumbs', this.thumbs);\n const initialized = thumbs.init();\n if (initialized)\n thumbs.update(true);\n }\n if (changedParams.controller && this.controller && this.controller.control) {\n this.swiperRef.controller.control = this.controller.control;\n }\n this.swiperRef.update();\n });\n }\n updateSwiper(changedParams) {\n this._ngZone.runOutsideAngular(() => {\n var _a, _b;\n if (changedParams.config) {\n return;\n }\n if (!(changedParams && this.swiperRef && !this.swiperRef.destroyed)) {\n return;\n }\n for (const key in changedParams) {\n if (ignoreNgOnChanges.indexOf(key) >= 0) {\n continue;\n }\n const newValue = (_b = (_a = changedParams[key]) === null || _a === void 0 ? void 0 : _a.currentValue) !== null && _b !== void 0 ? _b : changedParams[key];\n this.updateParameter(key, newValue);\n }\n if (changedParams.allowSlideNext) {\n this.swiperRef.allowSlideNext = this.allowSlideNext;\n }\n if (changedParams.allowSlidePrev) {\n this.swiperRef.allowSlidePrev = this.allowSlidePrev;\n }\n if (changedParams.direction) {\n this.swiperRef.changeDirection(this.direction, false);\n }\n if (changedParams.breakpoints) {\n if (this.loop && !this.loopedSlides) {\n this.calcLoopedSlides();\n }\n this.swiperRef.currentBreakpoint = null;\n this.swiperRef.setBreakpoint();\n }\n if (changedParams.thumbs || changedParams.controller) {\n this.updateInitSwiper(changedParams);\n }\n this.swiperRef.update();\n });\n }\n calcLoopedSlides() {\n if (!this.loop) {\n return false;\n }\n let slidesPerViewParams = this.slidesPerView;\n if (this.breakpoints) {\n const breakpoint = Swiper.prototype.getBreakpoint(this.breakpoints);\n const breakpointOnlyParams = breakpoint in this.breakpoints ? this.breakpoints[breakpoint] : undefined;\n if (breakpointOnlyParams && breakpointOnlyParams.slidesPerView) {\n slidesPerViewParams = breakpointOnlyParams.slidesPerView;\n }\n }\n if (slidesPerViewParams === 'auto') {\n this.loopedSlides = this.slides.length;\n return this.slides.length;\n }\n let loopedSlides = this.loopedSlides || slidesPerViewParams;\n if (!loopedSlides) {\n // ?\n return false;\n }\n if (this.loopAdditionalSlides) {\n loopedSlides += this.loopAdditionalSlides;\n }\n if (loopedSlides > this.slides.length) {\n loopedSlides = this.slides.length;\n }\n this.loopedSlides = loopedSlides;\n return true;\n }\n updateParameter(key, value) {\n if (!(this.swiperRef && !this.swiperRef.destroyed)) {\n return;\n }\n const _key = key.replace(/^_/, '');\n const isCurrentParamObj = isObject(this.swiperRef.params[_key]);\n if (_key === 'enabled') {\n if (value === true) {\n this.swiperRef.enable();\n }\n else if (value === false) {\n this.swiperRef.disable();\n }\n return;\n }\n if (isCurrentParamObj && isObject(value)) {\n extend(this.swiperRef.params[_key], value);\n }\n else {\n this.swiperRef.params[_key] = value;\n }\n }\n ngOnDestroy() {\n this._ngZone.runOutsideAngular(() => {\n var _a;\n (_a = this.swiperRef) === null || _a === void 0 ? void 0 : _a.destroy(true, false);\n });\n }\n}\nSwiperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.3.11\", ngImport: i0, type: SwiperComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component });\nSwiperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"12.0.0\", version: \"13.3.11\", type: SwiperComponent, selector: \"swiper, [swiper]\", inputs: { enabled: \"enabled\", on: \"on\", direction: \"direction\", touchEventsTarget: \"touchEventsTarget\", initialSlide: \"initialSlide\", speed: \"speed\", cssMode: \"cssMode\", updateOnWindowResize: \"updateOnWindowResize\", resizeObserver: \"resizeObserver\", nested: \"nested\", focusableElements: \"focusableElements\", width: \"width\", height: \"height\", preventInteractionOnTransition: \"preventInteractionOnTransition\", userAgent: \"userAgent\", url: \"url\", edgeSwipeDetection: \"edgeSwipeDetection\", edgeSwipeThreshold: \"edgeSwipeThreshold\", freeMode: \"freeMode\", autoHeight: \"autoHeight\", setWrapperSize: \"setWrapperSize\", virtualTranslate: \"virtualTranslate\", effect: \"effect\", breakpoints: \"breakpoints\", spaceBetween: \"spaceBetween\", slidesPerView: \"slidesPerView\", maxBackfaceHiddenSlides: \"maxBackfaceHiddenSlides\", grid: \"grid\", slidesPerGroup: \"slidesPerGroup\", slidesPerGroupSkip: \"slidesPerGroupSkip\", centeredSlides: \"centeredSlides\", centeredSlidesBounds: \"centeredSlidesBounds\", slidesOffsetBefore: \"slidesOffsetBefore\", slidesOffsetAfter: \"slidesOffsetAfter\", normalizeSlideIndex: \"normalizeSlideIndex\", centerInsufficientSlides: \"centerInsufficientSlides\", watchOverflow: \"watchOverflow\", roundLengths: \"roundLengths\", touchRatio: \"touchRatio\", touchAngle: \"touchAngle\", simulateTouch: \"simulateTouch\", shortSwipes: \"shortSwipes\", longSwipes: \"longSwipes\", longSwipesRatio: \"longSwipesRatio\", longSwipesMs: \"longSwipesMs\", followFinger: \"followFinger\", allowTouchMove: \"allowTouchMove\", threshold: \"threshold\", touchMoveStopPropagation: \"touchMoveStopPropagation\", touchStartPreventDefault: \"touchStartPreventDefault\", touchStartForcePreventDefault: \"touchStartForcePreventDefault\", touchReleaseOnEdges: \"touchReleaseOnEdges\", uniqueNavElements: \"uniqueNavElements\", resistance: \"resistance\", resistanceRatio: \"resistanceRatio\", watchSlidesProgress: \"watchSlidesProgress\", grabCursor: \"grabCursor\", preventClicks: \"preventClicks\", preventClicksPropagation: \"preventClicksPropagation\", slideToClickedSlide: \"slideToClickedSlide\", preloadImages: \"preloadImages\", updateOnImagesReady: \"updateOnImagesReady\", loop: \"loop\", loopAdditionalSlides: \"loopAdditionalSlides\", loopedSlides: \"loopedSlides\", loopedSlidesLimit: \"loopedSlidesLimit\", loopFillGroupWithBlank: \"loopFillGroupWithBlank\", loopPreventsSlide: \"loopPreventsSlide\", rewind: \"rewind\", allowSlidePrev: \"allowSlidePrev\", allowSlideNext: \"allowSlideNext\", swipeHandler: \"swipeHandler\", noSwiping: \"noSwiping\", noSwipingClass: \"noSwipingClass\", noSwipingSelector: \"noSwipingSelector\", passiveListeners: \"passiveListeners\", containerModifierClass: \"containerModifierClass\", slideClass: \"slideClass\", slideBlankClass: \"slideBlankClass\", slideActiveClass: \"slideActiveClass\", slideDuplicateActiveClass: \"slideDuplicateActiveClass\", slideVisibleClass: \"slideVisibleClass\", slideDuplicateClass: \"slideDuplicateClass\", slideNextClass: \"slideNextClass\", slideDuplicateNextClass: \"slideDuplicateNextClass\", slidePrevClass: \"slidePrevClass\", slideDuplicatePrevClass: \"slideDuplicatePrevClass\", wrapperClass: \"wrapperClass\", runCallbacksOnInit: \"runCallbacksOnInit\", observeParents: \"observeParents\", observeSlideChildren: \"observeSlideChildren\", a11y: \"a11y\", autoplay: \"autoplay\", controller: \"controller\", coverflowEffect: \"coverflowEffect\", cubeEffect: \"cubeEffect\", fadeEffect: \"fadeEffect\", flipEffect: \"flipEffect\", creativeEffect: \"creativeEffect\", cardsEffect: \"cardsEffect\", hashNavigation: \"hashNavigation\", history: \"history\", keyboard: \"keyboard\", lazy: \"lazy\", mousewheel: \"mousewheel\", parallax: \"parallax\", thumbs: \"thumbs\", zoom: \"zoom\", class: \"class\", id: \"id\", navigation: \"navigation\", pagination: \"pagination\", scrollbar: \"scrollbar\", virtual: \"virtual\", config: \"config\" }, outputs: { s__beforeBreakpoint: \"_beforeBreakpoint\", s__containerClasses: \"_containerClasses\", s__slideClass: \"_slideClass\", s__swiper: \"_swiper\", s_activeIndexChange: \"activeIndexChange\", s_afterInit: \"afterInit\", s_autoplay: \"autoplay\", s_autoplayStart: \"autoplayStart\", s_autoplayStop: \"autoplayStop\", s_autoplayPause: \"autoplayPause\", s_autoplayResume: \"autoplayResume\", s_beforeDestroy: \"beforeDestroy\", s_beforeInit: \"beforeInit\", s_beforeLoopFix: \"beforeLoopFix\", s_beforeResize: \"beforeResize\", s_beforeSlideChangeStart: \"beforeSlideChangeStart\", s_beforeTransitionStart: \"beforeTransitionStart\", s_breakpoint: \"breakpoint\", s_changeDirection: \"changeDirection\", s_click: \"click\", s_doubleTap: \"doubleTap\", s_doubleClick: \"doubleClick\", s_destroy: \"destroy\", s_fromEdge: \"fromEdge\", s_hashChange: \"hashChange\", s_hashSet: \"hashSet\", s_imagesReady: \"imagesReady\", s_init: \"init\", s_keyPress: \"keyPress\", s_lazyImageLoad: \"lazyImageLoad\", s_lazyImageReady: \"lazyImageReady\", s_loopFix: \"loopFix\", s_momentumBounce: \"momentumBounce\", s_navigationHide: \"navigationHide\", s_navigationShow: \"navigationShow\", s_navigationPrev: \"navigationPrev\", s_navigationNext: \"navigationNext\", s_observerUpdate: \"observerUpdate\", s_orientationchange: \"orientationchange\", s_paginationHide: \"paginationHide\", s_paginationRender: \"paginationRender\", s_paginationShow: \"paginationShow\", s_paginationUpdate: \"paginationUpdate\", s_progress: \"progress\", s_reachBeginning: \"reachBeginning\", s_reachEnd: \"reachEnd\", s_realIndexChange: \"realIndexChange\", s_resize: \"resize\", s_scroll: \"scroll\", s_scrollbarDragEnd: \"scrollbarDragEnd\", s_scrollbarDragMove: \"scrollbarDragMove\", s_scrollbarDragStart: \"scrollbarDragStart\", s_setTransition: \"setTransition\", s_setTranslate: \"setTranslate\", s_slideChange: \"slideChange\", s_slideChangeTransitionEnd: \"slideChangeTransitionEnd\", s_slideChangeTransitionStart: \"slideChangeTransitionStart\", s_slideNextTransitionEnd: \"slideNextTransitionEnd\", s_slideNextTransitionStart: \"slideNextTransitionStart\", s_slidePrevTransitionEnd: \"slidePrevTransitionEnd\", s_slidePrevTransitionStart: \"slidePrevTransitionStart\", s_slideResetTransitionStart: \"slideResetTransitionStart\", s_slideResetTransitionEnd: \"slideResetTransitionEnd\", s_sliderMove: \"sliderMove\", s_sliderFirstMove: \"sliderFirstMove\", s_slidesLengthChange: \"slidesLengthChange\", s_slidesGridLengthChange: \"slidesGridLengthChange\", s_snapGridLengthChange: \"snapGridLengthChange\", s_snapIndexChange: \"snapIndexChange\", s_tap: \"tap\", s_toEdge: \"toEdge\", s_touchEnd: \"touchEnd\", s_touchMove: \"touchMove\", s_touchMoveOpposite: \"touchMoveOpposite\", s_touchStart: \"touchStart\", s_transitionEnd: \"transitionEnd\", s_transitionStart: \"transitionStart\", s_update: \"update\", s_zoomChange: \"zoomChange\", s_swiper: \"swiper\", s_lock: \"lock\", s_unlock: \"unlock\" }, host: { properties: { \"class\": \"this.containerClasses\" } }, queries: [{ propertyName: \"slidesEl\", predicate: SwiperSlideDirective }], viewQueries: [{ propertyName: \"prevElRef\", first: true, predicate: [\"prevElRef\"], descendants: true }, { propertyName: \"nextElRef\", first: true, predicate: [\"nextElRef\"], descendants: true }, { propertyName: \"scrollbarElRef\", first: true, predicate: [\"scrollbarElRef\"], descendants: true }, { propertyName: \"paginationElRef\", first: true, predicate: [\"paginationElRef\"], descendants: true }], usesOnChanges: true, ngImport: i0, template: \"\\n\\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n \\n \\n \\n \\n \\n
    \\n\\n\\n\\n \\n
    \\n \\n
    \\n \\n
    \\n \\n \\n\\n\", styles: [\"swiper{display:block}\\n\"], directives: [{ type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { type: i1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\"] }, { type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { type: i1.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { type: i1.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { type: i1.NgSwitchDefault, selector: \"[ngSwitchDefault]\" }], pipes: { \"async\": i1.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.3.11\", ngImport: i0, type: SwiperComponent, decorators: [{\n type: Component,\n args: [{ selector: 'swiper, [swiper]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [\n `\n swiper {\n display: block;\n }\n `,\n ], template: \"\\n\\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n \\n \\n \\n \\n \\n
    \\n\\n\\n\\n \\n
    \\n \\n
    \\n \\n
    \\n \\n \\n\\n\" }]\n }], ctorParameters: function () {\n return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }];\n }, propDecorators: { enabled: [{\n type: Input\n }], on: [{\n type: Input\n }], direction: [{\n type: Input\n }], touchEventsTarget: [{\n type: Input\n }], initialSlide: [{\n type: Input\n }], speed: [{\n type: Input\n }], cssMode: [{\n type: Input\n }], updateOnWindowResize: [{\n type: Input\n }], resizeObserver: [{\n type: Input\n }], nested: [{\n type: Input\n }], focusableElements: [{\n type: Input\n }], width: [{\n type: Input\n }], height: [{\n type: Input\n }], preventInteractionOnTransition: [{\n type: Input\n }], userAgent: [{\n type: Input\n }], url: [{\n type: Input\n }], edgeSwipeDetection: [{\n type: Input\n }], edgeSwipeThreshold: [{\n type: Input\n }], freeMode: [{\n type: Input\n }], autoHeight: [{\n type: Input\n }], setWrapperSize: [{\n type: Input\n }], virtualTranslate: [{\n type: Input\n }], effect: [{\n type: Input\n }], breakpoints: [{\n type: Input\n }], spaceBetween: [{\n type: Input\n }], slidesPerView: [{\n type: Input\n }], maxBackfaceHiddenSlides: [{\n type: Input\n }], grid: [{\n type: Input\n }], slidesPerGroup: [{\n type: Input\n }], slidesPerGroupSkip: [{\n type: Input\n }], centeredSlides: [{\n type: Input\n }], centeredSlidesBounds: [{\n type: Input\n }], slidesOffsetBefore: [{\n type: Input\n }], slidesOffsetAfter: [{\n type: Input\n }], normalizeSlideIndex: [{\n type: Input\n }], centerInsufficientSlides: [{\n type: Input\n }], watchOverflow: [{\n type: Input\n }], roundLengths: [{\n type: Input\n }], touchRatio: [{\n type: Input\n }], touchAngle: [{\n type: Input\n }], simulateTouch: [{\n type: Input\n }], shortSwipes: [{\n type: Input\n }], longSwipes: [{\n type: Input\n }], longSwipesRatio: [{\n type: Input\n }], longSwipesMs: [{\n type: Input\n }], followFinger: [{\n type: Input\n }], allowTouchMove: [{\n type: Input\n }], threshold: [{\n type: Input\n }], touchMoveStopPropagation: [{\n type: Input\n }], touchStartPreventDefault: [{\n type: Input\n }], touchStartForcePreventDefault: [{\n type: Input\n }], touchReleaseOnEdges: [{\n type: Input\n }], uniqueNavElements: [{\n type: Input\n }], resistance: [{\n type: Input\n }], resistanceRatio: [{\n type: Input\n }], watchSlidesProgress: [{\n type: Input\n }], grabCursor: [{\n type: Input\n }], preventClicks: [{\n type: Input\n }], preventClicksPropagation: [{\n type: Input\n }], slideToClickedSlide: [{\n type: Input\n }], preloadImages: [{\n type: Input\n }], updateOnImagesReady: [{\n type: Input\n }], loop: [{\n type: Input\n }], loopAdditionalSlides: [{\n type: Input\n }], loopedSlides: [{\n type: Input\n }], loopedSlidesLimit: [{\n type: Input\n }], loopFillGroupWithBlank: [{\n type: Input\n }], loopPreventsSlide: [{\n type: Input\n }], rewind: [{\n type: Input\n }], allowSlidePrev: [{\n type: Input\n }], allowSlideNext: [{\n type: Input\n }], swipeHandler: [{\n type: Input\n }], noSwiping: [{\n type: Input\n }], noSwipingClass: [{\n type: Input\n }], noSwipingSelector: [{\n type: Input\n }], passiveListeners: [{\n type: Input\n }], containerModifierClass: [{\n type: Input\n }], slideClass: [{\n type: Input\n }], slideBlankClass: [{\n type: Input\n }], slideActiveClass: [{\n type: Input\n }], slideDuplicateActiveClass: [{\n type: Input\n }], slideVisibleClass: [{\n type: Input\n }], slideDuplicateClass: [{\n type: Input\n }], slideNextClass: [{\n type: Input\n }], slideDuplicateNextClass: [{\n type: Input\n }], slidePrevClass: [{\n type: Input\n }], slideDuplicatePrevClass: [{\n type: Input\n }], wrapperClass: [{\n type: Input\n }], runCallbacksOnInit: [{\n type: Input\n }], observeParents: [{\n type: Input\n }], observeSlideChildren: [{\n type: Input\n }], a11y: [{\n type: Input\n }], autoplay: [{\n type: Input\n }], controller: [{\n type: Input\n }], coverflowEffect: [{\n type: Input\n }], cubeEffect: [{\n type: Input\n }], fadeEffect: [{\n type: Input\n }], flipEffect: [{\n type: Input\n }], creativeEffect: [{\n type: Input\n }], cardsEffect: [{\n type: Input\n }], hashNavigation: [{\n type: Input\n }], history: [{\n type: Input\n }], keyboard: [{\n type: Input\n }], lazy: [{\n type: Input\n }], mousewheel: [{\n type: Input\n }], parallax: [{\n type: Input\n }], thumbs: [{\n type: Input\n }], zoom: [{\n type: Input\n }], class: [{\n type: Input\n }], id: [{\n type: Input\n }], navigation: [{\n type: Input\n }], pagination: [{\n type: Input\n }], scrollbar: [{\n type: Input\n }], virtual: [{\n type: Input\n }], config: [{\n type: Input\n }], s__beforeBreakpoint: [{\n type: Output,\n args: ['_beforeBreakpoint']\n }], s__containerClasses: [{\n type: Output,\n args: ['_containerClasses']\n }], s__slideClass: [{\n type: Output,\n args: ['_slideClass']\n }], s__swiper: [{\n type: Output,\n args: ['_swiper']\n }], s_activeIndexChange: [{\n type: Output,\n args: ['activeIndexChange']\n }], s_afterInit: [{\n type: Output,\n args: ['afterInit']\n }], s_autoplay: [{\n type: Output,\n args: ['autoplay']\n }], s_autoplayStart: [{\n type: Output,\n args: ['autoplayStart']\n }], s_autoplayStop: [{\n type: Output,\n args: ['autoplayStop']\n }], s_autoplayPause: [{\n type: Output,\n args: ['autoplayPause']\n }], s_autoplayResume: [{\n type: Output,\n args: ['autoplayResume']\n }], s_beforeDestroy: [{\n type: Output,\n args: ['beforeDestroy']\n }], s_beforeInit: [{\n type: Output,\n args: ['beforeInit']\n }], s_beforeLoopFix: [{\n type: Output,\n args: ['beforeLoopFix']\n }], s_beforeResize: [{\n type: Output,\n args: ['beforeResize']\n }], s_beforeSlideChangeStart: [{\n type: Output,\n args: ['beforeSlideChangeStart']\n }], s_beforeTransitionStart: [{\n type: Output,\n args: ['beforeTransitionStart']\n }], s_breakpoint: [{\n type: Output,\n args: ['breakpoint']\n }], s_changeDirection: [{\n type: Output,\n args: ['changeDirection']\n }], s_click: [{\n type: Output,\n args: ['click']\n }], s_doubleTap: [{\n type: Output,\n args: ['doubleTap']\n }], s_doubleClick: [{\n type: Output,\n args: ['doubleClick']\n }], s_destroy: [{\n type: Output,\n args: ['destroy']\n }], s_fromEdge: [{\n type: Output,\n args: ['fromEdge']\n }], s_hashChange: [{\n type: Output,\n args: ['hashChange']\n }], s_hashSet: [{\n type: Output,\n args: ['hashSet']\n }], s_imagesReady: [{\n type: Output,\n args: ['imagesReady']\n }], s_init: [{\n type: Output,\n args: ['init']\n }], s_keyPress: [{\n type: Output,\n args: ['keyPress']\n }], s_lazyImageLoad: [{\n type: Output,\n args: ['lazyImageLoad']\n }], s_lazyImageReady: [{\n type: Output,\n args: ['lazyImageReady']\n }], s_loopFix: [{\n type: Output,\n args: ['loopFix']\n }], s_momentumBounce: [{\n type: Output,\n args: ['momentumBounce']\n }], s_navigationHide: [{\n type: Output,\n args: ['navigationHide']\n }], s_navigationShow: [{\n type: Output,\n args: ['navigationShow']\n }], s_navigationPrev: [{\n type: Output,\n args: ['navigationPrev']\n }], s_navigationNext: [{\n type: Output,\n args: ['navigationNext']\n }], s_observerUpdate: [{\n type: Output,\n args: ['observerUpdate']\n }], s_orientationchange: [{\n type: Output,\n args: ['orientationchange']\n }], s_paginationHide: [{\n type: Output,\n args: ['paginationHide']\n }], s_paginationRender: [{\n type: Output,\n args: ['paginationRender']\n }], s_paginationShow: [{\n type: Output,\n args: ['paginationShow']\n }], s_paginationUpdate: [{\n type: Output,\n args: ['paginationUpdate']\n }], s_progress: [{\n type: Output,\n args: ['progress']\n }], s_reachBeginning: [{\n type: Output,\n args: ['reachBeginning']\n }], s_reachEnd: [{\n type: Output,\n args: ['reachEnd']\n }], s_realIndexChange: [{\n type: Output,\n args: ['realIndexChange']\n }], s_resize: [{\n type: Output,\n args: ['resize']\n }], s_scroll: [{\n type: Output,\n args: ['scroll']\n }], s_scrollbarDragEnd: [{\n type: Output,\n args: ['scrollbarDragEnd']\n }], s_scrollbarDragMove: [{\n type: Output,\n args: ['scrollbarDragMove']\n }], s_scrollbarDragStart: [{\n type: Output,\n args: ['scrollbarDragStart']\n }], s_setTransition: [{\n type: Output,\n args: ['setTransition']\n }], s_setTranslate: [{\n type: Output,\n args: ['setTranslate']\n }], s_slideChange: [{\n type: Output,\n args: ['slideChange']\n }], s_slideChangeTransitionEnd: [{\n type: Output,\n args: ['slideChangeTransitionEnd']\n }], s_slideChangeTransitionStart: [{\n type: Output,\n args: ['slideChangeTransitionStart']\n }], s_slideNextTransitionEnd: [{\n type: Output,\n args: ['slideNextTransitionEnd']\n }], s_slideNextTransitionStart: [{\n type: Output,\n args: ['slideNextTransitionStart']\n }], s_slidePrevTransitionEnd: [{\n type: Output,\n args: ['slidePrevTransitionEnd']\n }], s_slidePrevTransitionStart: [{\n type: Output,\n args: ['slidePrevTransitionStart']\n }], s_slideResetTransitionStart: [{\n type: Output,\n args: ['slideResetTransitionStart']\n }], s_slideResetTransitionEnd: [{\n type: Output,\n args: ['slideResetTransitionEnd']\n }], s_sliderMove: [{\n type: Output,\n args: ['sliderMove']\n }], s_sliderFirstMove: [{\n type: Output,\n args: ['sliderFirstMove']\n }], s_slidesLengthChange: [{\n type: Output,\n args: ['slidesLengthChange']\n }], s_slidesGridLengthChange: [{\n type: Output,\n args: ['slidesGridLengthChange']\n }], s_snapGridLengthChange: [{\n type: Output,\n args: ['snapGridLengthChange']\n }], s_snapIndexChange: [{\n type: Output,\n args: ['snapIndexChange']\n }], s_tap: [{\n type: Output,\n args: ['tap']\n }], s_toEdge: [{\n type: Output,\n args: ['toEdge']\n }], s_touchEnd: [{\n type: Output,\n args: ['touchEnd']\n }], s_touchMove: [{\n type: Output,\n args: ['touchMove']\n }], s_touchMoveOpposite: [{\n type: Output,\n args: ['touchMoveOpposite']\n }], s_touchStart: [{\n type: Output,\n args: ['touchStart']\n }], s_transitionEnd: [{\n type: Output,\n args: ['transitionEnd']\n }], s_transitionStart: [{\n type: Output,\n args: ['transitionStart']\n }], s_update: [{\n type: Output,\n args: ['update']\n }], s_zoomChange: [{\n type: Output,\n args: ['zoomChange']\n }], s_swiper: [{\n type: Output,\n args: ['swiper']\n }], s_lock: [{\n type: Output,\n args: ['lock']\n }], s_unlock: [{\n type: Output,\n args: ['unlock']\n }], prevElRef: [{\n type: ViewChild,\n args: ['prevElRef', { static: false }]\n }], nextElRef: [{\n type: ViewChild,\n args: ['nextElRef', { static: false }]\n }], scrollbarElRef: [{\n type: ViewChild,\n args: ['scrollbarElRef', { static: false }]\n }], paginationElRef: [{\n type: ViewChild,\n args: ['paginationElRef', { static: false }]\n }], slidesEl: [{\n type: ContentChildren,\n args: [SwiperSlideDirective, { descendants: false, emitDistinctChangesOnly: true }]\n }], containerClasses: [{\n type: HostBinding,\n args: ['class']\n }] } });\n\nclass SwiperModule {\n}\nSwiperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.3.11\", ngImport: i0, type: SwiperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nSwiperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"12.0.0\", version: \"13.3.11\", ngImport: i0, type: SwiperModule, declarations: [SwiperComponent, SwiperSlideDirective], imports: [CommonModule], exports: [SwiperComponent, SwiperSlideDirective] });\nSwiperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"13.3.11\", ngImport: i0, type: SwiperModule, imports: [[CommonModule]] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.3.11\", ngImport: i0, type: SwiperModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [SwiperComponent, SwiperSlideDirective],\n exports: [SwiperComponent, SwiperSlideDirective],\n imports: [CommonModule],\n }]\n }] });\n\n/*\n * Public API Surface of angular\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { SwiperComponent, SwiperModule, SwiperSlideDirective };\n","\r\n\t@for (element of page.elements; track element.element.id) {\r\n\t\t@if (element.element.stereotype === \"Question\") {\r\n\t\t\t
    \r\n\t\t\t\t@switch (element.element.type) {\r\n\t\t\t\t\t@case (\"TextQuestion\") {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t@case (\"ImageQuestion\") {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t@case (\"SelectQuestion\") {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t@case (\"NumberQuestion\") {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t@case (\"SliderQuestion\") {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t@case (\"DateTimeQuestion\") {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t@case (\"ScannerQuestion\") {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t@case (\"EmailQuestion\") {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t@case (\"DurationQuestion\") {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t@case (\"SignatureQuestion\") {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t@default {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t
    \r\n\t\t}\r\n\t\t@if (element.element.stereotype === \"Static\") {\r\n\t\t\t@switch (element.element.type) {\r\n\t\t\t\t@case (\"TextElement\") {\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t@case (\"ImageElement\") {\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t@if (element.element.stereotype === \"Group\") {\r\n\t\t\t@switch (element.element.type) {\r\n\t\t\t\t@case (\"SelectQuestionGroup\") {\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n
    \r\n","import { ChangeDetectionStrategy, Component, Input } from \"@angular/core\";\r\nimport { FormGroup, FormRecord } from \"@angular/forms\";\r\nimport { ChecklistPageWithVisibility } from \"../modals/checklist-modal.component\";\r\nimport { FormAnswerGroup } from \"../checklist.interface\";\r\n\r\n@Component({\r\n\tselector: \"app-checklist\",\r\n\ttemplateUrl: \"./checklist.component.html\",\r\n\tchangeDetection: ChangeDetectionStrategy.Default,\r\n})\r\nexport class ChecklistComponent {\r\n\t@Input() page!: ChecklistPageWithVisibility;\r\n\t@Input() form: FormRecord>;\r\n}\r\n","\r\n\t\r\n\t\t 0\" (click)=\"manuals()\">\r\n\t\t\t\r\n\t\t\r\n\t\t 0\" (click)=\"videos()\">\r\n\t\t\t\r\n\t\t\r\n\t\t 0\" (click)=\"links()\">\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n","import { Component, Input, OnInit } from \"@angular/core\";\r\nimport { UtilityService } from \"../../../../../configuration/services/utility.service\";\r\nimport { ValuePickerModalService } from \"../../../../../modals/value-picker/value-picker-modal.service\";\r\nimport { ValuePickerItem } from \"../../../../../modals/value-picker/value-picker.component\";\r\nimport {\r\n\tDocumentationReference,\r\n\tElementDocumentation,\r\n\tManualReference,\r\n\tVideoReference,\r\n} from \"../../../checklist.interface\";\r\n\r\n@Component({\r\n\tselector: \"app-documentation\",\r\n\ttemplateUrl: \"./documentation.component.html\",\r\n})\r\nexport class DocumentationComponent implements OnInit {\r\n\tconstructor(\r\n\t\tprivate valuePickerModalService: ValuePickerModalService,\r\n\t\tprivate utilityService: UtilityService,\r\n\t) {}\r\n\r\n\t@Input() documentation: ElementDocumentation;\r\n\tvisible: boolean;\r\n\tmanuals = async () => {\r\n\t\tconst items = this.documentation.manuals.map(async (manual) => ({\r\n\t\t\tname: this.getManualName(manual),\r\n\t\t\turl: await this.utilityService.getFileUrl(manual.file),\r\n\t\t}));\r\n\r\n\t\tconst selection = await this.select(\"CHECKLISTS__DOCUMENTATION__SELECT_MANUAL\", await Promise.all(items));\r\n\r\n\t\tthis.showSelection(selection);\r\n\t};\r\n\tvideos = async () => {\r\n\t\tconst getUrl = (video: VideoReference) => {\r\n\t\t\tswitch (video.type) {\r\n\t\t\t\tcase \"YouTube\":\r\n\t\t\t\t\treturn `https://www.youtube.com/embed/${video.code}?autohide=1&showinfo=0&rel=0&modestbranding=1`;\r\n\t\t\t\tcase \"Vimeo\":\r\n\t\t\t\t\treturn `https://player.vimeo.com/video/${video.code}?color=fafafa&title=0&byline=0&portrait=0&badge=0\"`;\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn null;\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\tconst items = this.documentation.videos.map((video) => ({\r\n\t\t\tname: this.getName(video),\r\n\t\t\turl: getUrl(video),\r\n\t\t}));\r\n\r\n\t\tconst selection = await this.select(\"CHECKLISTS__DOCUMENTATION__SELECT_VIDEO\", items);\r\n\r\n\t\tthis.showSelection(selection);\r\n\t};\r\n\tlinks = async () => {\r\n\t\tconst items = this.documentation.links.map((link) => ({\r\n\t\t\tname: this.getName(link),\r\n\t\t\turl: link.url,\r\n\t\t}));\r\n\r\n\t\tconst selection = await this.select(\"CHECKLISTS__DOCUMENTATION__SELECT_LINK\", items);\r\n\r\n\t\tthis.showSelection(selection);\r\n\t};\r\n\tprivate showSelection = (selection: DocumentationPickerItem) => {\r\n\t\tif (selection?.url == null) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\twindow.open(selection.url, \"_blank\");\r\n\t};\r\n\tprivate getManualName = (reference: ManualReference) => {\r\n\t\tconst name = this.getName(reference);\r\n\t\treturn reference.section == null || reference.section.length == 0 ? name : `${name} (${reference.section})`;\r\n\t};\r\n\tprivate getName = (reference: DocumentationReference) => {\r\n\t\treturn reference.version == null || reference.version.length == 0\r\n\t\t\t? reference.name\r\n\t\t\t: `${reference.version}: ${reference.name}`;\r\n\t};\r\n\tngOnInit(): void {\r\n\t\tthis.visible =\r\n\t\t\tthis.documentation &&\r\n\t\t\t(this.documentation.links?.length > 0 ||\r\n\t\t\t\tthis.documentation.manuals?.length > 0 ||\r\n\t\t\t\tthis.documentation.videos?.length > 0);\r\n\t}\r\n\r\n\tprivate async select(title: string, elements: DocumentationPickerItem[]): Promise {\r\n\t\tif (elements.length === 1) {\r\n\t\t\treturn elements[0];\r\n\t\t}\r\n\r\n\t\tconst valuePickerModal = await this.valuePickerModalService.create({\r\n\t\t\ttitle: title,\r\n\t\t\telements: elements,\r\n\t\t});\r\n\r\n\t\tawait valuePickerModal.present();\r\n\r\n\t\tconst response = await valuePickerModal.onDidDismiss();\r\n\t\tconst selection = response.data;\r\n\r\n\t\treturn selection;\r\n\t}\r\n}\r\n\r\ninterface DocumentationPickerItem extends ValuePickerItem {\r\n\turl: string;\r\n}\r\n","\r\n\t\r\n\t\t\r\n\t\r\n\t\r\n\t\t\r\n\t\r\n\r\n","import { Component, Input } from \"@angular/core\";\r\nimport { Element } from \"../../checklist.interface\";\r\n\r\n@Component({\r\n\tselector: \"app-element-template\",\r\n\ttemplateUrl: \"./element-template.component.html\",\r\n\tstyleUrls: [\"./element-template.component.scss\"],\r\n})\r\nexport class ElementTemplateComponent {\r\n\t@Input() element: Element;\r\n}\r\n","\r\n\r\n 0\" class=\"image-container\" lines=\"none\">\r\n\t\r\n\t\t\r\n\t\t\t\"\"\r\n\t\t\r\n\t\r\n\r\n","import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnInit } from \"@angular/core\";\r\nimport { UtilityService } from \"../../../../../configuration/services/utility.service\";\r\n\r\n@Component({\r\n\tselector: \"app-reference-images\",\r\n\ttemplateUrl: \"./reference-images.component.html\",\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class ReferenceImagesComponent implements OnInit {\r\n\tconstructor(\r\n\t\tprivate utilityService: UtilityService,\r\n\t\tprivate changeDetector: ChangeDetectorRef,\r\n\t) {}\r\n\r\n\t@Input() images: string[];\r\n\turls: string[];\r\n\r\n\topen(url: string) {\r\n\t\twindow.open(url, \"_blank\");\r\n\t}\r\n\r\n\tasync ngOnInit() {\r\n\t\tthis.urls = await Promise.all(this.images.map((image) => this.utilityService.getFileUrl(image)));\r\n\r\n\t\tthis.changeDetector.markForCheck();\r\n\t}\r\n}\r\n"," 0\">\r\n\t\r\n\r\n","import { ChangeDetectionStrategy, Component, Input } from \"@angular/core\";\r\nimport { ImageElement } from \"../../../checklist.interface\";\r\n\r\n@Component({\r\n\tselector: \"app-image-element\",\r\n\ttemplateUrl: \"./image-element.component.html\",\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class ImageElementComponent {\r\n\t@Input() element: ImageElement;\r\n}\r\n","\r\n\t\r\n\r\n","import { ChangeDetectionStrategy, Component, Input } from \"@angular/core\";\r\nimport { TextElement } from \"../../../checklist.interface\";\r\n\r\n@Component({\r\n\tselector: \"app-text-element\",\r\n\ttemplateUrl: \"./text-element.component.html\",\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class TextElementComponent {\r\n\t@Input() element: TextElement;\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class PositionService {\r\n\tconstructor() {\r\n\t\tconst onSuccess = (response: GeolocationPosition) => {\r\n\t\t\tthis.currentPosition = {\r\n\t\t\t\tlongitude: response.coords.longitude,\r\n\t\t\t\tlatitude: response.coords.latitude,\r\n\t\t\t\taccuracy: response.coords.accuracy,\r\n\t\t\t\ttimestamp: new Date(response.timestamp).toISOString(),\r\n\t\t\t};\r\n\t\t};\r\n\r\n\t\tconst onError = () => {\r\n\t\t\tthis.currentPosition = undefined;\r\n\t\t};\r\n\r\n\t\tnavigator.geolocation.watchPosition(onSuccess, onError);\r\n\t}\r\n\tprivate currentPosition: MobaroPosition;\r\n\r\n\tgetCurrentPosition = () => this.currentPosition;\r\n}\r\n\r\nexport interface MobaroPosition {\r\n\tlongitude: number;\r\n\tlatitude: number;\r\n\taccuracy: number;\r\n\ttimestamp: string;\r\n}\r\n","import { Component, Input, OnInit } from \"@angular/core\";\r\nimport { ServiceLocator } from \"../../../../app.module\";\r\nimport {\r\n\tAssignmentTrigger,\r\n\tAssignmentWithData,\r\n\tFormAnswerGroup,\r\n\tFormQuestion,\r\n\tLogicalCondition,\r\n\tQuestion,\r\n\tSubmitResponseAdHocScheduleSlotFromTrigger,\r\n} from \"../../checklist.interface\";\r\nimport { ChecklistProgressStateQuery } from \"../../state/checklist-progress-state.query\";\r\nimport { ChecklistProgressStateService } from \"../../state/checklist-progress-state.service\";\r\nimport { ControlValueAccessor, FormControl, FormGroup, FormRecord } from \"@angular/forms\";\r\nimport { PositionService } from \"source/app/configuration/services/position.service\";\r\nimport { LocationStateQuery } from \"source/app/configuration/state/location-state.query\";\r\nimport { AssignmentService } from \"source/app/features/assignments/services/assignment.service\";\r\n\r\n@Component({ template: \"\" })\r\nexport class QuestionComponent implements ControlValueAccessor, OnInit {\r\n\tprotected checklistProgressService = ServiceLocator.get(ChecklistProgressStateService);\r\n\tprotected checklistProgressQuery = ServiceLocator.get(ChecklistProgressStateQuery);\r\n\tprotected positionService = ServiceLocator.get(PositionService);\r\n\tprotected locationStateQuery = ServiceLocator.get(LocationStateQuery);\r\n\tprotected assignmentService = ServiceLocator.get(AssignmentService);\r\n\r\n\t@Input() question: T;\r\n\t@Input() form: FormRecord>;\r\n\r\n\tpublic answer: FormQuestion | undefined;\r\n\tprivate assignmentTriggers: AssignmentTrigger[] = [];\r\n\tprivate assignmentsFormControl: FormControl;\r\n\r\n\tprotected setAnswers = async (...answers: string[]): Promise => {\r\n\t\tanswers = (answers || []).filter((answer) => answer?.length > 0);\r\n\t\tanswers = await this.checkAssignmentTriggers(answers);\r\n\r\n\t\tif (answers.length === 0) {\r\n\t\t\tanswers = undefined;\r\n\t\t\tthis.answer = undefined;\r\n\t\t\tthis.onFormChange(null);\r\n\t\t} else {\r\n\t\t\tconst operator = await this.locationStateQuery.selectOperator$.firstAsync();\r\n\r\n\t\t\tconst formAnswer: FormQuestion = {\r\n\t\t\t\tanswers: answers,\r\n\t\t\t\tanswered: new Date().toISOString(),\r\n\t\t\t\tposition: this.positionService.getCurrentPosition(),\r\n\t\t\t\tuser: operator.id,\r\n\t\t\t\tadHocScheduleSlots: this.getAdHocScheduleSlots(answers),\r\n\t\t\t};\r\n\t\t\tthis.answer = formAnswer;\r\n\t\t\tthis.onFormChange(formAnswer);\r\n\t\t}\r\n\t};\r\n\r\n\tprivate triggersOnAnswers = (condition: LogicalCondition, answers: string[]): boolean => {\r\n\t\treturn (\r\n\t\t\t(condition.comparer === \"EQ\" && answers.includes(condition.right)) ||\r\n\t\t\t(answers.length > 0 && condition.comparer === \"NEQ\" && answers.includes(condition.right) === false)\r\n\t\t);\r\n\t};\r\n\r\n\tprivate assignmentForTriggerExists = (\r\n\t\tassignmentsFromtriggers: AssignmentWithData[],\r\n\t\ttrigger: AssignmentTrigger,\r\n\t): boolean => {\r\n\t\treturn assignmentsFromtriggers.some((assignmentWithData) => {\r\n\t\t\tconst triggerCondition = assignmentWithData.assignment.origin.triggerCondition;\r\n\t\t\treturn (\r\n\t\t\t\ttriggerCondition.comparer === trigger.condition.comparer &&\r\n\t\t\t\ttriggerCondition.left === trigger.condition.left &&\r\n\t\t\t\ttriggerCondition.right === trigger.condition.right\r\n\t\t\t);\r\n\t\t});\r\n\t};\r\n\r\n\tprivate checkAssignmentTriggers = async (answers: string[]): Promise => {\r\n\t\tif (this.assignmentTriggers.length === 0) {\r\n\t\t\treturn answers;\r\n\t\t}\r\n\r\n\t\tlet assignments = this.assignmentsFormControl.value || [];\r\n\t\tconst assignmentsFromtriggers = assignments.filter(\r\n\t\t\t(assignment) =>\r\n\t\t\t\tassignment.assignment.fromTrigger != null && assignment.assignment.origin.question === this.question.id,\r\n\t\t);\r\n\r\n\t\tfor (const trigger of this.assignmentTriggers) {\r\n\t\t\tif (\r\n\t\t\t\tthis.triggersOnAnswers(trigger.condition, answers) &&\r\n\t\t\t\tthis.assignmentForTriggerExists(assignmentsFromtriggers, trigger) === false\r\n\t\t\t) {\r\n\t\t\t\t// If we trigger, we create and assignment, if the user bails, we remove the answer option\r\n\t\t\t\tconst assignment = await this.assignmentService.createAssignmentFromTrigger(trigger, this.question.id);\r\n\t\t\t\tif (assignment != null) {\r\n\t\t\t\t\tassignments.push(assignment);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (trigger.condition.comparer === \"EQ\") {\r\n\t\t\t\t\t\tanswers = answers.filter((x) => x !== trigger.condition.right);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (trigger.condition.comparer === \"NEQ\") {\r\n\t\t\t\t\t\tanswers = [];\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Afterwards we remove any orphaned assignments, that are not longer beeing triggered\r\n\t\tconst orphaned = assignmentsFromtriggers.filter(\r\n\t\t\t(x) => this.triggersOnAnswers(x.assignment.origin.triggerCondition, answers) === false,\r\n\t\t);\r\n\r\n\t\tassignments = assignments.filter((x) => orphaned.includes(x) === false);\r\n\r\n\t\t// Finally we update the assignmentsForm\r\n\t\tthis.assignmentsFormControl.setValue(assignments);\r\n\t\tthis.assignmentsFormControl.updateValueAndValidity({ onlySelf: false, emitEvent: false });\r\n\r\n\t\treturn answers;\r\n\t};\r\n\r\n\tgetAdHocScheduleSlots = (answers: string[]) => {\r\n\t\tconst adHocScheduleSlots: SubmitResponseAdHocScheduleSlotFromTrigger[] = [];\r\n\r\n\t\tconst slotTriggers = this.question.triggers.filter(\r\n\t\t\t(trigger) => trigger.type === \"AdHocScheduleSlotTrigger\",\r\n\t\t) as SubmitResponseAdHocScheduleSlotFromTrigger[];\r\n\r\n\t\tslotTriggers.forEach((trigger) => {\r\n\t\t\tif (this.triggersOnAnswers(trigger.condition, answers)) {\r\n\t\t\t\tadHocScheduleSlots.push({\r\n\t\t\t\t\tquestion: this.question.id,\r\n\t\t\t\t\t...trigger,\r\n\t\t\t\t\tcondition: trigger.condition,\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\treturn adHocScheduleSlots;\r\n\t};\r\n\r\n\t//Form Setup\r\n\tonFormChange = (_answer: FormQuestion) => {};\r\n\tonTouched = () => {};\r\n\r\n\tdisabled = false;\r\n\r\n\tngOnInit(): void {\r\n\t\tconst questionFormControl: FormGroup = this.form.get(\r\n\t\t\tthis.question.id,\r\n\t\t) as FormGroup;\r\n\r\n\t\tthis.assignmentsFormControl = questionFormControl.controls.assignments;\r\n\r\n\t\tthis.assignmentTriggers = this.question.triggers.filter(\r\n\t\t\t(trigger) => trigger.type === \"AssignmentTrigger\",\r\n\t\t) as AssignmentTrigger[];\r\n\t}\r\n\r\n\tregisterOnChange(fn: (value: FormQuestion) => void): void {\r\n\t\tthis.onFormChange = fn;\r\n\t}\r\n\tregisterOnTouched(fn: () => void): void {\r\n\t\tthis.onTouched = fn;\r\n\t}\r\n\tsetDisabledState?(isDisabled: boolean): void {\r\n\t\tthis.disabled = isDisabled;\r\n\t}\r\n\r\n\twriteValue(answer: FormQuestion | undefined): void {\r\n\t\tif (answer != undefined) {\r\n\t\t\tthis.answer = answer;\r\n\t\t}\r\n\t}\r\n}\r\n","\r\n","import { Component, forwardRef } from \"@angular/core\";\r\nimport { TextareaCustomEvent } from \"@ionic/angular\";\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\r\n\r\n@Component({\r\n\tselector: \"app-comment\",\r\n\ttemplateUrl: \"./comment.component.html\",\r\n\tstyleUrls: [\"./comment.component.scss\"],\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => CommentComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class CommentComponent implements ControlValueAccessor {\r\n\tshowComment = false;\r\n\tcommentModel = \"\";\r\n\r\n\tactivateComment = () => {\r\n\t\tthis.showComment = true;\r\n\t};\r\n\r\n\tonCommentChange = (event: Event) => {\r\n\t\tconst value = (event).target.value;\r\n\t\tthis.onTouched();\r\n\t\tthis.onChange(value);\r\n\t};\r\n\r\n\t//form setup\r\n\t// eslint-disable-next-line @typescript-eslint/no-empty-function\r\n\tonChange = (_comment: string) => {};\r\n\t// eslint-disable-next-line @typescript-eslint/no-empty-function\r\n\tonTouched = () => {};\r\n\tdisabled = false;\r\n\r\n\twriteValue(obj: string): void {\r\n\t\tthis.commentModel = obj;\r\n\t\tthis.showComment = this.commentModel?.length > 0;\r\n\t}\r\n\r\n\tregisterOnChange(fn: (value: string) => void): void {\r\n\t\tthis.onChange = fn;\r\n\t}\r\n\r\n\tregisterOnTouched(fn: () => void): void {\r\n\t\tthis.onTouched = fn;\r\n\t}\r\n\r\n\tsetDisabledState?(isDisabled: boolean): void {\r\n\t\tthis.disabled = isDisabled;\r\n\t}\r\n}\r\n","@if (visibleAssignment.length > 0) {\r\n\t\r\n\t\t{{ \"ASSIGNMENT__ASSIGNMENTS\" | transloco }}\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t{{ assignment.assignment.name }}\r\n\t\t\t\t

    {{ assignment.assignment.target.name }}

    \r\n\t\t\t
    \r\n\t\t
    \r\n\t
    \r\n}\r\n","import { ChangeDetectorRef, Component, forwardRef, Input } from \"@angular/core\";\r\nimport { ActionSheetController } from \"@ionic/angular\";\r\nimport { AssignmentDefinition } from \"source/app/features/assignments/assignment.interface\";\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\r\nimport { AssignmentService } from \"source/app/features/assignments/services/assignment.service\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { AssignmentWithData } from \"../../../checklist.interface\";\r\n\r\n@Component({\r\n\tselector: \"app-assignments\",\r\n\ttemplateUrl: \"./assignments.component.html\",\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => AssignmentsComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class AssignmentsComponent implements ControlValueAccessor {\r\n\tconstructor(\r\n\t\tprivate translocoService: TranslocoService,\r\n\t\tprivate actionSheetController: ActionSheetController,\r\n\t\tprivate assignmentService: AssignmentService,\r\n\t\tprivate changeDetector: ChangeDetectorRef,\r\n\t) {}\r\n\r\n\t@Input() questionId: string;\r\n\r\n\tprivate assignments: AssignmentWithData[] = [];\r\n\tpublic visibleAssignment: AssignmentWithData[] = [];\r\n\r\n\tprivate filterVisibleAssignments = (assignments: AssignmentWithData[]): AssignmentWithData[] => {\r\n\t\treturn assignments.filter((x) => x.triggeredBy == null || x.triggeredBy.requireNoIntervention == false);\r\n\t};\r\n\r\n\tprivate createButton = (action: string, text: string, role: string | undefined = undefined) => {\r\n\t\treturn {\r\n\t\t\ttext: this.translocoService.translate(text),\r\n\t\t\trole,\r\n\t\t\tdata: {\r\n\t\t\t\taction,\r\n\t\t\t},\r\n\t\t};\r\n\t};\r\n\r\n\tprivate editAssignment = async (assignment: AssignmentWithData) => {\r\n\t\tconst editedAssignment = await this.assignmentService.openAssignment(assignment);\r\n\r\n\t\tif (editedAssignment != null) {\r\n\t\t\tconst index = this.assignments.findIndex((x) => x === assignment);\r\n\t\t\tthis.assignments.splice(index, 1, editedAssignment);\r\n\r\n\t\t\tthis.updateForm();\r\n\t\t}\r\n\t};\r\n\r\n\toption = async (assignment: AssignmentWithData) => {\r\n\t\t// If the assignment is created by a trigger, we go straight to edit\r\n\t\tif (assignment.triggeredBy != null) {\r\n\t\t\treturn this.editAssignment(assignment);\r\n\t\t}\r\n\r\n\t\tconst cancelButton = this.createButton(\"cancel\", \"BASE__CANCEL\", \"cancel\");\r\n\t\tconst editButton = this.createButton(\"edit\", \"ASSIGNMENT__OPTIONS_EDIT\");\r\n\t\tconst removeButton = this.createButton(\"delete\", \"ASSIGNMENT__OPTIONS_REMOVE\", \"destructive\");\r\n\r\n\t\tconst actionSheet = await this.actionSheetController.create({\r\n\t\t\theader: this.translocoService.translate(\"ASSIGNMENT__OPTIONS\"),\r\n\t\t\tmode: \"ios\",\r\n\t\t\tbuttons: [editButton, removeButton, cancelButton],\r\n\t\t});\r\n\r\n\t\tawait actionSheet.present();\r\n\t\tconst action = await actionSheet.onWillDismiss();\r\n\r\n\t\tif (action.role === \"destructive\") {\r\n\t\t\tthis.assignments = this.assignments.filter((x) => x != assignment);\r\n\r\n\t\t\tthis.updateForm();\r\n\t\t}\r\n\t\tif (action.data?.action === \"edit\") {\r\n\t\t\tawait this.editAssignment(assignment);\r\n\t\t}\r\n\t};\r\n\r\n\tprivate updateForm = () => {\r\n\t\tthis.onTouched();\r\n\t\tthis.onChange(this.assignments);\r\n\t\tthis.changeDetector.markForCheck();\r\n\t\tthis.visibleAssignment = this.filterVisibleAssignments(this.assignments);\r\n\t};\r\n\r\n\tcreateAssignment = async () => {\r\n\t\tlet definition: AssignmentDefinition;\r\n\t\ttry {\r\n\t\t\tdefinition = await this.assignmentService.selectDefinition();\r\n\t\t} catch {\r\n\t\t\t// definition selection was cancelled\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst assignment = await this.assignmentService.createAssignment(this.questionId, definition);\r\n\r\n\t\tif (assignment != null) {\r\n\t\t\tconst assignments = [...this.assignments, assignment];\r\n\t\t\tthis.assignments = assignments;\r\n\r\n\t\t\tthis.updateForm();\r\n\t\t}\r\n\t};\r\n\r\n\t// form setup\r\n\tonChange = (_assignments: AssignmentWithData[]) => {};\r\n\tonTouched = () => {};\r\n\tdisabled = false;\r\n\r\n\twriteValue(assignments: AssignmentWithData[]): void {\r\n\t\tthis.assignments = assignments;\r\n\t\tthis.visibleAssignment = this.filterVisibleAssignments(assignments);\r\n\t}\r\n\r\n\tregisterOnChange(fn: (value: AssignmentWithData[]) => void): void {\r\n\t\tthis.onChange = fn;\r\n\t}\r\n\r\n\tregisterOnTouched(fn: () => void): void {\r\n\t\tthis.onTouched = fn;\r\n\t}\r\n\r\n\tsetDisabledState?(isDisabled: boolean): void {\r\n\t\tthis.disabled = isDisabled;\r\n\t}\r\n}\r\n","\r\n\t\r\n\t\t\r\n\t\t\t{{ question.translatedText }}\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t
    \r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t
    \r\n\t
    \r\n\r\n\t\r\n\t\t\r\n\t\r\n
    \r\n","import { AfterViewInit, Component, Input, OnInit, ViewChild } from \"@angular/core\";\r\nimport { FormAnswerGroup, Question } from \"../../checklist.interface\";\r\n\r\nimport { CommentComponent } from \"../shared/comment/comment.component\";\r\nimport { AttachmentsComponent } from \"../shared/attachments/attachments.component\";\r\nimport { ControlContainer, FormGroup, FormGroupDirective } from \"@angular/forms\";\r\nimport { UntilDestroy, untilDestroyed } from \"@ngneat/until-destroy\";\r\nimport { startWith } from \"rxjs\";\r\nimport { AssignmentsComponent } from \"../shared/assignments/assignments.component\";\r\n\r\n@UntilDestroy()\r\n@Component({\r\n\tselector: \"app-question-template\",\r\n\ttemplateUrl: \"./question-template.component.html\",\r\n\tstyleUrls: [\"./question-template.component.scss\"],\r\n\tviewProviders: [{ provide: ControlContainer, useExisting: FormGroupDirective }],\r\n})\r\nexport class QuestionTemplateComponent implements OnInit, AfterViewInit {\r\n\t@Input() question: Question;\r\n\t@Input() form: FormGroup;\r\n\r\n\t@ViewChild(CommentComponent, { static: false })\r\n\tprivate commentComponent: CommentComponent;\r\n\r\n\t@ViewChild(AttachmentsComponent, { static: false })\r\n\tprivate attachmentsComponent: AttachmentsComponent;\r\n\r\n\t@ViewChild(AssignmentsComponent, { static: false })\r\n\tprivate assignmentsComponents: AssignmentsComponent;\r\n\r\n\tactivateComment = () => {\r\n\t\tthis.commentComponent.activateComment();\r\n\t};\r\n\r\n\tactivateAttachments = () => {\r\n\t\tthis.attachmentsComponent.activateAttachments();\r\n\t};\r\n\r\n\tgetImage = () => {\r\n\t\tthis.attachmentsComponent.getImage();\r\n\t};\r\n\r\n\tgetFromGallery = () => {\r\n\t\tthis.attachmentsComponent.getFromGallery();\r\n\t};\r\n\r\n\tcreateAssignment = () => {\r\n\t\tthis.assignmentsComponents.createAssignment();\r\n\t};\r\n\r\n\tshowMoreButton = false;\r\n\r\n\tngAfterViewInit(): void {\r\n\t\tconst questionFormControl: FormGroup = this.form.get(\r\n\t\t\tthis.question.id,\r\n\t\t) as FormGroup;\r\n\t\tconst commentControl = questionFormControl.controls.comment;\r\n\t\tconst attachmentFormControl = questionFormControl.controls.attachments;\r\n\r\n\t\tcommentControl.statusChanges\r\n\t\t\t.pipe(untilDestroyed(this), startWith(commentControl.status))\r\n\t\t\t.subscribe((status) => {\r\n\t\t\t\tif (status === \"INVALID\") {\r\n\t\t\t\t\tthis.activateComment();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\tattachmentFormControl.statusChanges\r\n\t\t\t.pipe(untilDestroyed(this), startWith(attachmentFormControl.status))\r\n\t\t\t.subscribe((status) => {\r\n\t\t\t\tif (status === \"INVALID\") {\r\n\t\t\t\t\tthis.activateAttachments();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t}\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.showMoreButton =\r\n\t\t\tthis.question.allowCameraRoll || this.question.allowComments || this.question.allowImageAttachment;\r\n\t}\r\n}\r\n","\r\n\t\r\n\r\n","import { ChangeDetectionStrategy, Component, OnInit, forwardRef } from \"@angular/core\";\r\nimport { DatetimeCustomEvent } from \"@ionic/angular\";\r\nimport { map } from \"rxjs\";\r\nimport { DateQuestion as DateTimeQuestion } from \"../../../checklist.interface\";\r\nimport { QuestionComponent } from \"../question.component\";\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\r\n\r\n@Component({\r\n\tselector: \"app-date-time-question\",\r\n\ttemplateUrl: \"./date-time-question.component.html\",\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => DateTimeQuestionComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class DateTimeQuestionComponent\r\n\textends QuestionComponent\r\n\timplements OnInit, ControlValueAccessor\r\n{\r\n\tpresentation: \"date\" | \"time-date\";\r\n\tdateTimeSettings$ = this.locationStateQuery.operatorDateTimeSettings$;\r\n\thourCycle$ = this.dateTimeSettings$.pipe(map((settings) => (settings.useTwentyFourHourClock ? \"h23\" : \"h12\")));\r\n\r\n\tonChange = (event: Event) => {\r\n\t\tconst value = (event).target.value;\r\n\t\tconst answers = Array.isArray(value) ? value : [value];\r\n\r\n\t\tthis.setAnswers(...answers);\r\n\t};\r\n\r\n\toverride ngOnInit() {\r\n\t\tsuper.ngOnInit();\r\n\t\tthis.presentation = this.question.includeTime ? \"time-date\" : \"date\";\r\n\t}\r\n}\r\n","\r\n\t\r\n\t\t\r\n\t\r\n\r\n\t
    \r\n\t\t\r\n\t\t\t{{ \"CHECKLISTS__QUESTIONS__NUMBER__VALUE_OUT_OF_RANGE_MINIMUM\" | transloco: { minimum: question.minimum } }}\r\n\t\t\r\n\t\t\r\n\t\t\t{{ \"CHECKLISTS__QUESTIONS__NUMBER__VALUE_OUT_OF_RANGE_MAXIMUM\" | transloco: { maximum: question.maximum } }}\r\n\t\t\r\n\t\t\r\n\t\t\t{{\r\n\t\t\t\t\"CHECKLISTS__QUESTIONS__NUMBER__VALUE_OUT_OF_RANGE_BOTH\"\r\n\t\t\t\t\t| transloco: { minimum: question.minimum, maximum: question.maximum }\r\n\t\t\t}}\r\n\t\t\r\n\t
    \r\n
    \r\n","import { ChangeDetectionStrategy, Component, forwardRef } from \"@angular/core\";\r\nimport { FormQuestion, NumberQuestion } from \"../../../checklist.interface\";\r\nimport { QuestionComponent } from \"../question.component\";\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\r\nimport { InputCustomEvent } from \"@ionic/angular\";\r\n\r\n@Component({\r\n\tselector: \"app-number-question\",\r\n\ttemplateUrl: \"./number-question.component.html\",\r\n\tstyleUrls: [\"./number-question.component.scss\"],\r\n\tchangeDetection: ChangeDetectionStrategy.Default,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => NumberQuestionComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class NumberQuestionComponent extends QuestionComponent implements ControlValueAccessor {\r\n\tmodel: NumberQuestionModel = {\r\n\t\tvalue: null,\r\n\t\tisInvalidRange: false,\r\n\t};\r\n\r\n\tprivate isInvalidRange(input: string) {\r\n\t\tconst value = parseFloat(input);\r\n\r\n\t\tif (value == null) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tconst isLessThanMinimum = this.question.minimum != null && value < this.question.minimum;\r\n\t\tconst isMoreThanMaximum = this.question.maximum != null && value > this.question.maximum;\r\n\r\n\t\treturn isLessThanMinimum || isMoreThanMaximum;\r\n\t}\r\n\r\n\toverride writeValue(answer: FormQuestion | undefined): void {\r\n\t\tsuper.writeValue(answer);\r\n\t\tthis.model.value = answer?.answers.length == 0 ? null : answer?.answers[0];\r\n\t}\r\n\r\n\tasync onChange(event: InputCustomEvent) {\r\n\t\tconst value = event.detail.value;\r\n\t\tthis.model.isInvalidRange = this.isInvalidRange(value);\r\n\t\tthis.model.value = value;\r\n\r\n\t\tif (this.model.isInvalidRange) {\r\n\t\t\tthis.setAnswers(undefined);\r\n\t\t} else {\r\n\t\t\tthis.setAnswers(value);\r\n\t\t}\r\n\t\tthis.onTouched();\r\n\t}\r\n}\r\n\r\ninterface NumberQuestionModel {\r\n\tvalue: string;\r\n\tisInvalidRange: boolean;\r\n}\r\n","import { ChangeDetectionStrategy, Component, forwardRef } from \"@angular/core\";\r\nimport { RangeValue } from \"@ionic/core\";\r\nimport { FormQuestion, SliderQuestion } from \"../../../checklist.interface\";\r\nimport { QuestionComponent } from \"../question.component\";\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\r\n\r\n@Component({\r\n\tselector: \"app-slider-question\",\r\n\ttemplateUrl: \"./slider-question.component.html\",\r\n\tstyleUrls: [\"./slider-question.component.scss\"],\r\n\tchangeDetection: ChangeDetectionStrategy.Default,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => SliderQuestionComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class SliderQuestionComponent extends QuestionComponent implements ControlValueAccessor {\r\n\tmodel: SliderQuestionModel = {\r\n\t\tvalue: null,\r\n\t\tstep: null,\r\n\t};\r\n\r\n\tprotected pinFormatter(value: number) {\r\n\t\treturn `${value}`;\r\n\t}\r\n\r\n\tprivate getStepForSlider() {\r\n\t\tconst isDecimal = (value: number) => {\r\n\t\t\treturn value && Math.floor(value) !== value;\r\n\t\t};\r\n\r\n\t\tconst numDecimals = (value: number) => {\r\n\t\t\treturn value?.toString().split(\".\")[1]?.length || 0;\r\n\t\t};\r\n\r\n\t\tif (!(isDecimal(this.question.minimum) || isDecimal(this.question.maximum))) {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\r\n\t\tconst limitDecimalsLength = [numDecimals(this.question.minimum), numDecimals(this.question.maximum)];\r\n\t\tconst maxNumDecimals = Math.max(...limitDecimalsLength);\r\n\t\treturn Math.pow(10, -maxNumDecimals);\r\n\t}\r\n\r\n\toverride writeValue(answer: FormQuestion | undefined): void {\r\n\t\tsuper.writeValue(answer);\r\n\t\tthis.model.value = answer?.answers.length == 0 ? null : answer?.answers[0];\r\n\r\n\t\tthis.model.step = this.getStepForSlider();\r\n\t}\r\n\r\n\tasync onChange(input: number | RangeValue) {\r\n\t\tthis.model.value = input.toString();\r\n\r\n\t\tconst answer = this.model.value;\r\n\r\n\t\tthis.setAnswers(answer);\r\n\t\tthis.onTouched();\r\n\t}\r\n}\r\n\r\ninterface SliderQuestionModel {\r\n\tvalue: string;\r\n\tstep: number;\r\n}\r\n","\r\n\t
    {{ model.value || \"-\" }}
    \r\n\r\n\t\r\n\t\t\r\n\t\r\n
    \r\n","\r\n\t@if (isSingleLineMode) {\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t
    \r\n\t\t\t\t\t\r\n\t\t\t\t\t
    {{ option.selectQuestionOption.translatedText }}
    \r\n\t\t\t\t
    \r\n\t\t\t\r\n\t\t
    \r\n\t} @else {\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t{{ option.selectQuestionOption.translatedText }}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t}\r\n
    \r\n","import { ChangeDetectionStrategy, Component, OnInit, forwardRef } from \"@angular/core\";\r\nimport { MobaroTrigger, SelectQuestion, SelectQuestionOption } from \"../../../checklist.interface\";\r\nimport { QuestionComponent } from \"../question.component\";\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\r\n\r\n@Component({\r\n\tselector: \"app-select-question\",\r\n\ttemplateUrl: \"./select-question.component.html\",\r\n\tstyleUrls: [\"./select-question.component.scss\"],\r\n\tchangeDetection: ChangeDetectionStrategy.Default,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => SelectQuestionComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class SelectQuestionComponent extends QuestionComponent implements OnInit, ControlValueAccessor {\r\n\tisOptionSelected = (option: string) => this.answer?.answers?.includes(option);\r\n\r\n\toptions: { selectQuestionOption: SelectQuestionOption; showTrigger: boolean }[] = [];\r\n\r\n\tisSingleLineMode: boolean;\r\n\tselect = (option: string) => {\r\n\t\tconst currentAnswers = this.answer?.answers || [];\r\n\t\tconst isOptionAlreadySelected = this.isOptionSelected(option);\r\n\r\n\t\tthis.onTouched();\r\n\r\n\t\tif (this.question.variation === \"Multiple\") {\r\n\t\t\tconst answers = isOptionAlreadySelected\r\n\t\t\t\t? currentAnswers.filter((answer) => answer !== option)\r\n\t\t\t\t: currentAnswers.concat([option]);\r\n\r\n\t\t\tthis.setAnswers(...answers);\r\n\t\t} else {\r\n\t\t\tconst answer = isOptionAlreadySelected ? undefined : option;\r\n\t\t\tthis.setAnswers(answer);\r\n\t\t}\r\n\t};\r\n\r\n\tprivate showAssignmentTrigger = (option: SelectQuestionOption, triggers: MobaroTrigger[]): boolean => {\r\n\t\treturn triggers?.some((trigger) => {\r\n\t\t\tif (trigger.type !== \"AssignmentTrigger\" || trigger.requireNoIntervention) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\r\n\t\t\tconst triggersOnEquals = trigger.condition.comparer == \"EQ\";\r\n\t\t\tconst triggersOnNotEqual = trigger.condition.comparer === \"NEQ\";\r\n\t\t\tconst refersToThisOption = trigger.condition.right === option.id;\r\n\r\n\t\t\treturn (triggersOnEquals && refersToThisOption) || (triggersOnNotEqual && refersToThisOption === false);\r\n\t\t});\r\n\t};\r\n\r\n\toverride ngOnInit() {\r\n\t\tsuper.ngOnInit();\r\n\t\tthis.isSingleLineMode = this.question.options.some((option) => option.translatedText.length > 24);\r\n\r\n\t\tthis.options = this.question.options.map((option) => {\r\n\t\t\treturn {\r\n\t\t\t\tselectQuestionOption: option,\r\n\t\t\t\tshowTrigger: this.showAssignmentTrigger(option, this.question.triggers),\r\n\t\t\t};\r\n\t\t});\r\n\t}\r\n}\r\n","import { ChangeDetectionStrategy, Component, ViewChild, forwardRef } from \"@angular/core\";\r\nimport { IonTextarea, TextareaCustomEvent } from \"@ionic/angular\";\r\nimport { FormQuestion, TextQuestion } from \"../../../checklist.interface\";\r\nimport { QuestionComponent } from \"../question.component\";\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\r\n\r\n@Component({\r\n\tselector: \"app-text-question\",\r\n\ttemplateUrl: \"./text-question.component.html\",\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => TextQuestionComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class TextQuestionComponent extends QuestionComponent implements ControlValueAccessor {\r\n\t@ViewChild(\"questionText\", { static: true }) ionTextArea!: IonTextarea;\r\n\r\n\tonChange = (event: Event) => {\r\n\t\tconst value = (event).target.value;\r\n\t\tconst empty = value === \"\";\r\n\r\n\t\tthis.setAnswers(empty ? undefined : value);\r\n\t\tthis.onTouched();\r\n\t};\r\n\r\n\toverride writeValue(answer: FormQuestion | undefined): void {\r\n\t\tsuper.writeValue(answer);\r\n\t\tif (answer?.answers) {\r\n\t\t\tthis.ionTextArea.value = answer.answers[0];\r\n\t\t}\r\n\t}\r\n}\r\n","\r\n\t\r\n\t\t\r\n\t\r\n\r\n","import { AfterViewInit, ChangeDetectionStrategy, Component, ViewChild, forwardRef } from \"@angular/core\";\r\nimport { IonInput, TextareaCustomEvent } from \"@ionic/angular\";\r\nimport { EmailQuestion, FormQuestion } from \"../../../checklist.interface\";\r\nimport { QuestionComponent } from \"../question.component\";\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\r\n\r\n@Component({\r\n\tselector: \"app-email-question\",\r\n\ttemplateUrl: \"./email-question.component.html\",\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => EmailQuestionComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class EmailQuestionComponent\r\n\textends QuestionComponent\r\n\timplements AfterViewInit, ControlValueAccessor\r\n{\r\n\t@ViewChild(\"questionEmail\") IonInput!: IonInput;\r\n\tinputField!: HTMLInputElement;\r\n\r\n\tmodel: EmailQuestionModel = {\r\n\t\tvalue: null,\r\n\t};\r\n\r\n\tonChange = (event: Event) => {\r\n\t\tconst value = (event).target.value;\r\n\t\tthis.setAnswers(this.inputField.checkValidity() ? value : null);\r\n\t};\r\n\r\n\toverride writeValue(answer: FormQuestion | undefined): void {\r\n\t\tsuper.writeValue(answer);\r\n\t\tif (answer?.answers) {\r\n\t\t\tthis.model.value = answer.answers[0];\r\n\t\t}\r\n\t}\r\n\r\n\tasync ngAfterViewInit() {\r\n\t\tthis.IonInput.getInputElement().then((value) => {\r\n\t\t\tthis.inputField = value;\r\n\t\t});\r\n\t}\r\n}\r\n\r\ninterface EmailQuestionModel {\r\n\tvalue: string | null;\r\n}\r\n","\r\n\t\r\n\t\t\r\n\t\r\n\r\n","import { ChangeDetectionStrategy, Component, forwardRef } from \"@angular/core\";\r\nimport { QuestionComponent } from \"../question.component\";\r\nimport { FormQuestion } from \"../../../checklist.interface\";\r\nimport { ToggleCustomEvent } from \"@ionic/angular\";\r\nimport { UnsupportedQuestionsService } from \"../../../services/unsupported-questions.service\";\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\r\n\r\n@Component({\r\n\tselector: \"app-uknown-question\",\r\n\ttemplateUrl: \"./unknown-question.component.html\",\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => UnknownQuestionComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\nexport class UnknownQuestionComponent extends QuestionComponent implements ControlValueAccessor {\r\n\tchecked = false;\r\n\r\n\ttoggleAccept = (event: ToggleCustomEvent) => {\r\n\t\tthis.onTouched();\r\n\t\tthis.setAnswers(event.detail.checked ? UnsupportedQuestionsService.unsupportedAnswerValue : null);\r\n\t};\r\n\r\n\toverride writeValue(answer: FormQuestion | undefined): void {\r\n\t\tsuper.writeValue(answer);\r\n\t\tif (answer?.answers) {\r\n\t\t\tthis.checked = true;\r\n\t\t}\r\n\t}\r\n}\r\n","\r\n\t\r\n\t\t\r\n\t\t\t{{ \"CHECKLISTS__UNSUPPORTED_QUESTION__DESCRIPTION\" | transloco }}\r\n\t\t\t

    {{ \"CHECKLISTS__UNSUPPORTED_QUESTION__PLEASE_CLICK_UNDERSTAND\" | transloco }}

    \r\n\t\t
    \r\n\t
    \r\n\t\r\n\t\t\r\n\t\t\t{{ \"CHECKLISTS__UNSUPPORTED_QUESTION__I_UNDERSTAND\" | transloco }}\r\n\t\t\r\n\t\r\n
    \r\n","\r\n\t\r\n\r\n\t
    \r\n\t\t\r\n\t\t\t\r\n\t\t\t{{ \"IMAGE_CAPTURE__ADD_BUTTON\" | transloco }}\r\n\t\t\r\n\t
    \r\n
    \r\n","import { ChangeDetectionStrategy, Component, OnDestroy, forwardRef } from \"@angular/core\";\r\nimport { UtilityService } from \"source/app/configuration/services/utility.service\";\r\nimport { FormQuestion, ImageQuestion } from \"../../../checklist.interface\";\r\nimport { QuestionComponent } from \"../question.component\";\r\nimport { validate as uuidValidate } from \"uuid\";\r\nimport { StorageService } from \"source/app/configuration/services/storage.service\";\r\nimport { ImageService } from \"source/app/configuration/services/image.service\";\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\r\n\r\n@Component({\r\n\tselector: \"app-image-question\",\r\n\ttemplateUrl: \"./image-question.component.html\",\r\n\tstyleUrls: [\"./image-question.component.scss\"],\r\n\tchangeDetection: ChangeDetectionStrategy.Default,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => ImageQuestionComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class ImageQuestionComponent\r\n\textends QuestionComponent\r\n\timplements OnDestroy, ControlValueAccessor\r\n{\r\n\tconstructor(\r\n\t\tprivate utilityService: UtilityService,\r\n\t\tprivate storageService: StorageService,\r\n\t\tprivate imageService: ImageService,\r\n\t) {\r\n\t\tsuper();\r\n\t}\r\n\timgUrl: string;\r\n\r\n\ttakePhoto = async () => {\r\n\t\tconst mobaroImage = await this.imageService.getPhotoFromCamera();\r\n\t\tthis.imgUrl = URL.createObjectURL(mobaroImage.file);\r\n\t\tthis.setAnswers(mobaroImage.id);\r\n\t};\r\n\r\n\tprivate setImageFromAnswer = async (imageAnswer: string) => {\r\n\t\tif (uuidValidate(imageAnswer)) {\r\n\t\t\tconst imageBlob: Blob = await this.storageService.get(imageAnswer);\r\n\t\t\tthis.imgUrl = URL.createObjectURL(imageBlob);\r\n\t\t} else {\r\n\t\t\tthis.imgUrl = await this.utilityService.getImageUrl(imageAnswer, \"medium\");\r\n\t\t}\r\n\t};\r\n\r\n\tngOnDestroy(): void {\r\n\t\tif (this.imgUrl != null) {\r\n\t\t\tURL.revokeObjectURL(this.imgUrl);\r\n\t\t}\r\n\t}\r\n\r\n\toverride writeValue(answer: FormQuestion | undefined): void {\r\n\t\tsuper.writeValue(answer);\r\n\t\tif (answer?.answers) {\r\n\t\t\tthis.setImageFromAnswer(answer.answers[0]);\r\n\t\t}\r\n\t}\r\n}\r\n","\r\n\t
    \r\n\t\t\r\n\t
    \r\n\r\n\t
    \r\n\t\t\r\n\t\t\t{{ \"CHECKLISTS__QUESTIONS__SCAN__SCAN\" | transloco }}\r\n\t\t\t\r\n\t\t\r\n\t
    \r\n
    \r\n","import { ChangeDetectionStrategy, Component, forwardRef } from \"@angular/core\";\r\nimport { ScannerQuestion } from \"../../../checklist.interface\";\r\nimport { QuestionComponent } from \"../question.component\";\r\nimport { ScannerModalService } from \"source/app/modals/scanner/scanner-modal.service\";\r\nimport { AlertController } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\r\n\r\n@Component({\r\n\tselector: \"app-scanner-question\",\r\n\ttemplateUrl: \"./scanner-question.component.html\",\r\n\tstyleUrls: [\"./scanner-question.component.scss\"],\r\n\tchangeDetection: ChangeDetectionStrategy.Default,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => ScannerQuestionComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class ScannerQuestionComponent extends QuestionComponent implements ControlValueAccessor {\r\n\tconstructor(\r\n\t\tprivate scannerModalService: ScannerModalService,\r\n\t\tprivate alertController: AlertController,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t) {\r\n\t\tsuper();\r\n\t}\r\n\r\n\tprivate verifyAnswer = async (answer: string): Promise => {\r\n\t\tif (this.question.validation === \"None\") {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\tif (this.question.validation === \"Specific\") {\r\n\t\t\treturn answer === this.question.code;\r\n\t\t}\r\n\t\tif (this.question.validation === \"Location\") {\r\n\t\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\t\t\treturn answer === location.scannerCode || answer === location.id;\r\n\t\t}\r\n\t\treturn false;\r\n\t};\r\n\r\n\tscan = async () => {\r\n\t\tconst scannerModal = await this.scannerModalService.create();\r\n\t\tawait scannerModal.present();\r\n\r\n\t\tconst result = await scannerModal.onDidDismiss();\r\n\t\tconst hasAnswer = typeof result.data === \"string\" && result.data.length > 0;\r\n\t\tconst isVerified = hasAnswer && (await this.verifyAnswer(result.data));\r\n\r\n\t\tthis.setAnswers(hasAnswer && isVerified ? result.data : null);\r\n\r\n\t\tif (hasAnswer === true && isVerified === false) {\r\n\t\t\tconst alert = await this.alertController.create({\r\n\t\t\t\theader: this.translocoService.translate(\"SCANNER_QUESTION_VALIDATION_FAILED_TITLE\"),\r\n\t\t\t\tmessage: this.translocoService.translate(\"SCANNER_QUESTION_VALIDATION_FAILED_DESCRIPTION\"),\r\n\t\t\t\tbuttons: [this.translocoService.translate(\"SCANNER_QUESTION_VALIDATION_FAILED_BUTTON_OK\")],\r\n\t\t\t});\r\n\r\n\t\t\tawait alert.present();\r\n\t\t}\r\n\t};\r\n}\r\n","\r\n\r\n\r\n\t
    \r\n\t\t
    \r\n\t\t\t\r\n\t\t\t{{ time.hours | number: \"2.0-0\" }}\r\n\t\t\t{{ \"CHECKLISTS__QUESTIONS__DURATION_HOURS\" | transloco }}\r\n\r\n\t\t\t\r\n\t\t\t{{ time.minutes | number: \"2.0-0\" }}\r\n\t\t\t{{ \"CHECKLISTS__QUESTIONS__DURATION_MINUTES\" | transloco }}\r\n\r\n\t\t\t\r\n\t\t\t{{ time.seconds | number: \"2.0-0\" }}\r\n\t\t\t{{ \"CHECKLISTS__QUESTIONS__DURATION_SECONDS\" | transloco }}\r\n\t\t
    \r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t 0\">\r\n\t\t\t\r\n\t\t\r\n\t
    \r\n
    \r\n","import { Component, forwardRef } from \"@angular/core\";\r\nimport { QuestionComponent } from \"../question.component\";\r\nimport { DurationQuestion, FormQuestion } from \"../../../checklist.interface\";\r\nimport { Observable, Subject, interval, map, startWith, switchMap, takeUntil, tap } from \"rxjs\";\r\nimport { PickerColumn, PickerController } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\r\n\r\n@Component({\r\n\tselector: \"app-duration-question\",\r\n\ttemplateUrl: \"./duration-question.component.html\",\r\n\tstyleUrls: [\"./duration-question.component.scss\"],\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => DurationQuestionComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class DurationQuestionComponent extends QuestionComponent implements ControlValueAccessor {\r\n\tconstructor(\r\n\t\tprivate pickerController: PickerController,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t) {\r\n\t\tsuper();\r\n\t}\r\n\r\n\tprivate setTimerObserveable = () => {\r\n\t\tthis.timer$ = this.start$.pipe(\r\n\t\t\tswitchMap(() =>\r\n\t\t\t\tinterval(100).pipe(\r\n\t\t\t\t\tmap(() => {\r\n\t\t\t\t\t\tconst now = new Date();\r\n\t\t\t\t\t\tconst diffMilliseconds = now.getTime() - this.timerStarted.getTime();\r\n\t\t\t\t\t\treturn Math.floor(diffMilliseconds / 1000);\r\n\t\t\t\t\t}),\r\n\t\t\t\t\ttakeUntil(this.stop$),\r\n\t\t\t\t),\r\n\t\t\t),\r\n\t\t\tstartWith(this.totalSeconds),\r\n\t\t\ttap((seconds) => (this.totalSeconds = seconds)),\r\n\t\t\tmap((seconds) => ({\r\n\t\t\t\thours: Math.floor(seconds / 3600),\r\n\t\t\t\tminutes: Math.floor((seconds % 3600) / 60),\r\n\t\t\t\tseconds: seconds % 60,\r\n\t\t\t})),\r\n\t\t);\r\n\t};\r\n\r\n\ttotalSeconds = 0;\r\n\r\n\tprivate timerStarted: Date;\r\n\tprivate stop$ = new Subject();\r\n\tprivate start$ = new Subject();\r\n\ttimer$: Observable;\r\n\trunning = false;\r\n\r\n\tstart() {\r\n\t\tif (!this.running) {\r\n\t\t\tthis.running = true;\r\n\t\t\tthis.timerStarted = new Date();\r\n\t\t\tthis.start$.next();\r\n\t\t}\r\n\t}\r\n\r\n\tstop() {\r\n\t\tthis.running = false;\r\n\t\tthis.stop$.next();\r\n\t\tif (this.totalSeconds > 0) {\r\n\t\t\tthis.setAnswers(this.totalSeconds + \"\");\r\n\t\t}\r\n\t}\r\n\r\n\treset() {\r\n\t\tthis.running = false;\r\n\t\tthis.totalSeconds = 0;\r\n\t\tthis.setAnswers(null);\r\n\t\tthis.setTimerObserveable();\r\n\t}\r\n\r\n\toverride writeValue(answer: FormQuestion | undefined): void {\r\n\t\tsuper.writeValue(answer);\r\n\t\tif (answer?.answers) {\r\n\t\t\tthis.totalSeconds = Number(answer?.answers[0]);\r\n\t\t}\r\n\t\tthis.setTimerObserveable();\r\n\t}\r\n\r\n\tasync edit() {\r\n\t\tif (this.running) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst createColumn = (name: string, digits: number, suffix: string, currentValue: number) => {\r\n\t\t\tconst column: PickerColumn = {\r\n\t\t\t\tname: name,\r\n\t\t\t\tsuffix: suffix,\r\n\t\t\t\tselectedIndex: currentValue,\r\n\t\t\t\toptions: [],\r\n\t\t\t};\r\n\r\n\t\t\tfor (let index = 0; index < digits; index++) {\r\n\t\t\t\tcolumn.options.push({\r\n\t\t\t\t\ttext: index.toString().padStart(2, \"0\"),\r\n\t\t\t\t\tvalue: index,\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t\treturn column;\r\n\t\t};\r\n\r\n\t\tconst columns = [\r\n\t\t\tcreateColumn(\r\n\t\t\t\t\"hours\",\r\n\t\t\t\t24,\r\n\t\t\t\tthis.translocoService.translate(\"CHECKLISTS__QUESTIONS__DURATION_HOURS\"),\r\n\t\t\t\tMath.floor(this.totalSeconds / 3600),\r\n\t\t\t),\r\n\t\t\tcreateColumn(\r\n\t\t\t\t\"minutes\",\r\n\t\t\t\t60,\r\n\t\t\t\tthis.translocoService.translate(\"CHECKLISTS__QUESTIONS__DURATION_MINUTES\"),\r\n\t\t\t\tMath.floor((this.totalSeconds % 3600) / 60),\r\n\t\t\t),\r\n\t\t\tcreateColumn(\r\n\t\t\t\t\"seconds\",\r\n\t\t\t\t60,\r\n\t\t\t\tthis.translocoService.translate(\"CHECKLISTS__QUESTIONS__DURATION_SECONDS\"),\r\n\t\t\t\tthis.totalSeconds % 60,\r\n\t\t\t),\r\n\t\t];\r\n\r\n\t\tconst picker = await this.pickerController.create({\r\n\t\t\tcolumns: columns,\r\n\t\t\tbuttons: [\r\n\t\t\t\t{\r\n\t\t\t\t\ttext: this.translocoService.translate(\"CHECKLISTS__QUESTIONS__DURATION_CANCEL\"),\r\n\t\t\t\t\trole: \"cancel\",\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\ttext: this.translocoService.translate(\"CHECKLISTS__QUESTIONS__DURATION_CONFIRM\"),\r\n\t\t\t\t\trole: \"confirm\",\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t});\r\n\r\n\t\tawait picker.present();\r\n\t\tconst result = await picker.onDidDismiss();\r\n\r\n\t\tif (result.data !== undefined) {\r\n\t\t\tconst hourSeconds = result.data.hours.value * 3600;\r\n\t\t\tconst minutesSeconds = result.data.minutes.value * 60;\r\n\t\t\tconst seconds = result.data.seconds.value;\r\n\r\n\t\t\tthis.totalSeconds = hourSeconds + minutesSeconds + seconds;\r\n\t\t\tthis.setAnswers(this.totalSeconds + \"\");\r\n\t\t\tthis.setTimerObserveable();\r\n\t\t}\r\n\t}\r\n}\r\n\r\ninterface DurationTime {\r\n\thours: number;\r\n\tminutes: number;\r\n\tseconds: number;\r\n}\r\n\r\ninterface DurationPickerResult {\r\n\thours: DurationPickerResultItem;\r\n\tminutes: DurationPickerResultItem;\r\n\tseconds: DurationPickerResultItem;\r\n}\r\n\r\ninterface DurationPickerResultItem {\r\n\tcolumnIndex: number;\r\n\ttext: string;\r\n\tvalue: number;\r\n}\r\n","import { trigger, style, animate, transition, state } from \"@angular/animations\";\r\n\r\nexport const fadeInOnEnter = trigger(\"fadeInOnEnter\", [\r\n\ttransition(\":enter\", [style({ opacity: 0 }), animate(\"500ms ease-out\", style({ opacity: 1 }))]),\r\n]);\r\n\r\nexport const fadeOutOnLeave = trigger(\"fadeOutOnLeave\", [\r\n\ttransition(\":leave\", [animate(\"500ms ease-in\", style({ opacity: 0 }))]),\r\n]);\r\n\r\nexport const scaleOut = trigger(\"scaleOut\", [\r\n\tstate(\"false\", style({ transform: \"scale(1)\" })),\r\n\tstate(\"true\", style({ transform: \"scale(0.975)\" })),\r\n\ttransition(\"false <=> true\", animate(\"150ms ease-in\")),\r\n]);\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ToastController } from \"@ionic/angular\";\r\n\r\n@Injectable({\r\n\tprovidedIn: \"root\",\r\n})\r\nexport class NotificationService {\r\n\tconstructor(private toastController: ToastController) {}\r\n\r\n\tasync showErrorToast(message: string): Promise {\r\n\t\tconst toast = await this.toastController.create({\r\n\t\t\tmessage,\r\n\t\t\ticon: \"warning\",\r\n\t\t\tcolor: \"danger\",\r\n\t\t\tduration: 5000,\r\n\t\t\tposition: \"top\",\r\n\t\t});\r\n\r\n\t\ttoast.present();\r\n\t}\r\n}\r\n","
    \r\n\t\r\n\t
    \r\n\t\t\r\n\t
    \r\n
    \r\n","import { CommonModule } from \"@angular/common\";\r\nimport { HttpEventType } from \"@angular/common/http\";\r\nimport { ChangeDetectionStrategy, Component, EventEmitter, Input, OnInit, Output } from \"@angular/core\";\r\nimport { IonicModule } from \"@ionic/angular\";\r\nimport { TranslocoModule, TranslocoService } from \"@ngneat/transloco\";\r\nimport { UntilDestroy, untilDestroyed } from \"@ngneat/until-destroy\";\r\nimport { BehaviorSubject, Observable, map, tap } from \"rxjs\";\r\n\r\nimport { ApiService } from \"source/app/configuration/services/api.service\";\r\nimport { NotificationService } from \"source/app/configuration/services/notification.service\";\r\nimport { fadeInOnEnter, fadeOutOnLeave, scaleOut } from \"../../animations\";\r\n\r\n@UntilDestroy()\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: \"app-file-upload\",\r\n\ttemplateUrl: \"./file-upload.component.html\",\r\n\tstyleUrls: [\"./file-upload.component.scss\"],\r\n\tanimations: [fadeInOnEnter, fadeOutOnLeave, scaleOut],\r\n\timports: [CommonModule, IonicModule, TranslocoModule],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class FileUploadComponent implements OnInit {\r\n\tconstructor(\r\n\t\tprivate apiService: ApiService,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t\tprivate notificationService: NotificationService,\r\n\t) {}\r\n\r\n\t@Input() file$: Observable;\r\n\t@Output() fileId = new EventEmitter();\r\n\t@Input() tags: string[] = [];\r\n\r\n\tprotected uploadProgress$ = new BehaviorSubject(0);\r\n\tprotected isUploading$ = this.uploadProgress$.pipe(map((progress) => progress > 0 && progress < 1));\r\n\r\n\tngOnInit() {\r\n\t\tthis.file$\r\n\t\t\t.pipe(\r\n\t\t\t\ttap((file) => this.upload(file)),\r\n\t\t\t\tuntilDestroyed(this),\r\n\t\t\t)\r\n\t\t\t.subscribe();\r\n\t}\r\n\r\n\tprivate async upload(file: File): Promise {\r\n\t\tif (!file) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.uploadProgress$.next(0.01);\r\n\r\n\t\ttry {\r\n\t\t\tconst upload$ = this.apiService.uploadFiles$([file], this.tags);\r\n\r\n\t\t\tupload$.pipe(untilDestroyed(this)).subscribe((event) => {\r\n\t\t\t\tswitch (event.type) {\r\n\t\t\t\t\tcase HttpEventType.Response:\r\n\t\t\t\t\t\tthis.fileId.emit(event.body.data[0].path);\r\n\t\t\t\t\t\tthis.uploadProgress$.next(1);\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase HttpEventType.UploadProgress:\r\n\t\t\t\t\t\tthis.uploadProgress$.next(event.loaded / event.total);\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t} catch {\r\n\t\t\tconst message = this.translocoService.translate(\"FILE_UPLOAD__ERROR_MESSAGE\");\r\n\t\t\tthis.notificationService.showErrorToast(message);\r\n\t\t\tthis.uploadProgress$.next(0);\r\n\t\t}\r\n\t}\r\n}\r\n","\r\n\t\r\n\t\t\r\n\t\r\n\r\n\t
    \r\n\t\t\r\n\t\t\t\r\n\t\t\t{{ \"SIGNATURE_QUESTION__SIGN\" | transloco }}\r\n\t\t\r\n\t
    \r\n
    \r\n","import { ChangeDetectionStrategy, Component, forwardRef } from \"@angular/core\";\r\nimport { QuestionComponent } from \"../question.component\";\r\nimport { FormQuestion, SignatureQuestion } from \"../../../checklist.interface\";\r\nimport { UtilityService } from \"source/app/configuration/services/utility.service\";\r\nimport { SignatureModalService } from \"source/app/modals/signature/signature-modal.service\";\r\nimport { Subject } from \"rxjs\";\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\r\n\r\n@Component({\r\n\tselector: \"app-signature-question\",\r\n\ttemplateUrl: \"./signature-question.component.html\",\r\n\tstyleUrls: [\"./signature-question.component.scss\"],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => SignatureQuestionComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class SignatureQuestionComponent extends QuestionComponent implements ControlValueAccessor {\r\n\tconstructor(\r\n\t\tprivate utilityService: UtilityService,\r\n\t\tprivate signatureModalService: SignatureModalService,\r\n\t) {\r\n\t\tsuper();\r\n\t}\r\n\r\n\ttags = [\"Signature\"];\r\n\tsignatureImage = \"\";\r\n\r\n\tprotected signatureFile$ = new Subject();\r\n\r\n\topenSignModal = async () => {\r\n\t\tconst modal = await this.signatureModalService.create();\r\n\t\tawait modal.present();\r\n\r\n\t\tconst result = await modal.onDidDismiss();\r\n\r\n\t\tif (result.data instanceof File) {\r\n\t\t\tthis.signatureFile$.next(result.data);\r\n\t\t\tthis.signatureImage = URL.createObjectURL(result.data);\r\n\t\t}\r\n\t};\r\n\r\n\tprivate setSignatureFromAnswer = async (signatureAnswer: string) => {\r\n\t\tthis.signatureImage = await this.utilityService.getImageUrl(signatureAnswer);\r\n\t};\r\n\r\n\toverride writeValue(answer: FormQuestion | undefined): void {\r\n\t\tsuper.writeValue(answer);\r\n\t\tif (answer?.answers) {\r\n\t\t\tthis.setSignatureFromAnswer(answer.answers[0]);\r\n\t\t}\r\n\t}\r\n}\r\n","\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n\t
    \r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t
    \r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n
    \r\n","import { Component, EventEmitter, Input, Output } from \"@angular/core\";\r\nimport { SegmentCustomEvent } from \"@ionic/angular\";\r\nimport { Observable } from \"rxjs\";\r\n\r\n@Component({\r\n\tselector: \"app-pagination\",\r\n\ttemplateUrl: \"./pagination.component.html\",\r\n\tstyleUrls: [\"pagination.component.scss\"],\r\n})\r\nexport class PaginationComponent {\r\n\t@Input() current!: string;\r\n\t@Input() pages!: ChecklistPaginationPage[];\r\n\t@Input() isFirstPage: boolean;\r\n\t@Input() isLastPage: boolean;\r\n\r\n\t@Output() goTo: EventEmitter = new EventEmitter();\r\n\t@Output() next: EventEmitter = new EventEmitter();\r\n\t@Output() previous: EventEmitter = new EventEmitter();\r\n\r\n\tprotected previousPage = (): void => {\r\n\t\tif (this.isFirstPage) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.previous.emit();\r\n\t};\r\n\r\n\tprotected nextPage = (): void => {\r\n\t\tif (this.isLastPage) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.next.emit();\r\n\t};\r\n\r\n\tprotected onPageSelected = (event: Event): void => {\r\n\t\tconst pageId = (event).detail.value;\r\n\t\tif (pageId != undefined) {\r\n\t\t\tthis.goTo.emit(pageId as string);\r\n\t\t}\r\n\t};\r\n}\r\n\r\nexport interface ChecklistPaginationPage {\r\n\tid: string;\r\n\tisCompleted$: Observable;\r\n\tisVisible$: Observable;\r\n}\r\n","import { ChangeDetectionStrategy, Component, Input } from \"@angular/core\";\r\nimport { SelectQuestionGroup } from \"../../../checklist.interface\";\r\n\r\n@Component({\r\n\tselector: \"app-select-question-group-element\",\r\n\ttemplateUrl: \"./select-question-group-element.component.html\",\r\n\tstyleUrls: [\"./select-question-group-element.component.scss\"],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class SelectQuestionGroupComponent {\r\n\t@Input() element: SelectQuestionGroup;\r\n}\r\n","\r\n\t\r\n\t\t\r\n\t\t\t{{ element.translatedText }}\r\n\t\t\r\n\r\n\t\t\r\n\t\r\n\r\n\t\r\n\t\t\r\n\t\r\n\t\r\n\t\t\r\n\t\r\n\r\n","import { CommonModule } from \"@angular/common\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { FormsModule, ReactiveFormsModule } from \"@angular/forms\";\r\nimport { IonicModule } from \"@ionic/angular\";\r\nimport { TranslocoModule } from \"@ngneat/transloco\";\r\nimport { SwiperModule } from \"swiper/angular\";\r\nimport SwiperCore, { Navigation, Pagination } from \"swiper\";\r\n\r\nimport { ComponentsModule } from \"../../components/components.module\";\r\nimport { VideoPlayerModule } from \"../../modals/video-player/video-player.module\";\r\nimport { ChecklistComponent } from \"./components/checklist.component\";\r\nimport { ElementTemplateComponent } from \"./components/elements/element-template.component\";\r\nimport { ImageElementComponent } from \"./components/elements/image-element/image-element.component\";\r\nimport { TextElementComponent } from \"./components/elements/text-element/text-element.component\";\r\nimport { DateTimeQuestionComponent } from \"./components/questions/date-question/date-time-question.component\";\r\nimport { NumberQuestionComponent } from \"./components/questions/number-question/number-question.component\";\r\nimport { SliderQuestionComponent } from \"./components/questions/slider-question/slider-question.component\";\r\nimport { QuestionTemplateComponent } from \"./components/questions/question-template.component\";\r\nimport { QuestionComponent } from \"./components/questions/question.component\";\r\nimport { SelectQuestionComponent } from \"./components/questions/select-question/select-question.component\";\r\nimport { TextQuestionComponent } from \"./components/questions/text-question/text-question.component\";\r\nimport { EmailQuestionComponent } from \"./components/questions/email-question/email-question.component\";\r\nimport { UnknownQuestionComponent } from \"./components/questions/unknown-question/unknown-question.component\";\r\nimport { ImageQuestionComponent } from \"./components/questions/image-question/image-question.component\";\r\nimport { ScannerQuestionComponent } from \"./components/questions/scanner-question/scanner-question.component\";\r\nimport { DurationQuestionComponent } from \"./components/questions/duation-question/duration-question.component\";\r\nimport { SignatureQuestionComponent } from \"./components/questions/signature-question/signature-question.component\";\r\nimport { DocumentationComponent } from \"./components/shared/documentation/documentation.component\";\r\nimport { PaginationComponent } from \"./components/shared/pagination/pagination.component\";\r\nimport { ReferenceImagesComponent } from \"./components/shared/reference-images/reference-images.component\";\r\nimport { ChecklistModalComponent } from \"./modals/checklist-modal.component\";\r\nimport { ChecklistModalService } from \"./modals/checklist-modal.service\";\r\nimport { UnsupportedQuestionsService } from \"./services/unsupported-questions.service\";\r\nimport { FileUploadComponent } from \"../../components/file-upload/file-upload.component\";\r\nimport { CommentComponent } from \"./components/shared/comment/comment.component\";\r\nimport { AssignmentsComponent } from \"./components/shared/assignments/assignments.component\";\r\nimport { AttachmentsComponent } from \"./components/shared/attachments/attachments.component\";\r\nimport { SelectQuestionGroupComponent } from \"./components/elements/select-question-group-element/select-question-group-element.component\";\r\n\r\nSwiperCore.use([Pagination, Navigation]);\r\n\r\n@NgModule({\r\n\tdeclarations: [\r\n\t\tChecklistComponent,\r\n\t\tPaginationComponent,\r\n\t\tQuestionComponent,\r\n\t\tQuestionTemplateComponent,\r\n\t\tSelectQuestionComponent,\r\n\t\tTextQuestionComponent,\r\n\t\tEmailQuestionComponent,\r\n\t\tUnknownQuestionComponent,\r\n\t\tImageQuestionComponent,\r\n\t\tScannerQuestionComponent,\r\n\t\tDurationQuestionComponent,\r\n\t\tSignatureQuestionComponent,\r\n\t\tDateTimeQuestionComponent,\r\n\t\tNumberQuestionComponent,\r\n\t\tSliderQuestionComponent,\r\n\t\tElementTemplateComponent,\r\n\t\tTextElementComponent,\r\n\t\tImageElementComponent,\r\n\t\tReferenceImagesComponent,\r\n\t\tChecklistModalComponent,\r\n\t\tDocumentationComponent,\r\n\t\tCommentComponent,\r\n\t\tAssignmentsComponent,\r\n\t\tSelectQuestionGroupComponent,\r\n\t],\r\n\tproviders: [ChecklistModalService, UnsupportedQuestionsService],\r\n\timports: [\r\n\t\tCommonModule,\r\n\t\tFormsModule,\r\n\t\tReactiveFormsModule,\r\n\t\tIonicModule,\r\n\t\tTranslocoModule,\r\n\t\tComponentsModule,\r\n\t\tVideoPlayerModule,\r\n\t\tSwiperModule,\r\n\t\tFileUploadComponent,\r\n\t\tAttachmentsComponent,\r\n\t],\r\n})\r\nexport class ChecklistModule {}\r\n","import $ from '../../shared/dom.js';\nimport classesToSelector from '../../shared/classes-to-selector.js';\nimport createElementIfNotDefined from '../../shared/create-element-if-not-defined.js';\nexport default function Pagination({\n swiper,\n extendParams,\n on,\n emit\n}) {\n const pfx = 'swiper-pagination';\n extendParams({\n pagination: {\n el: null,\n bulletElement: 'span',\n clickable: false,\n hideOnClick: false,\n renderBullet: null,\n renderProgressbar: null,\n renderFraction: null,\n renderCustom: null,\n progressbarOpposite: false,\n type: 'bullets',\n // 'bullets' or 'progressbar' or 'fraction' or 'custom'\n dynamicBullets: false,\n dynamicMainBullets: 1,\n formatFractionCurrent: number => number,\n formatFractionTotal: number => number,\n bulletClass: `${pfx}-bullet`,\n bulletActiveClass: `${pfx}-bullet-active`,\n modifierClass: `${pfx}-`,\n currentClass: `${pfx}-current`,\n totalClass: `${pfx}-total`,\n hiddenClass: `${pfx}-hidden`,\n progressbarFillClass: `${pfx}-progressbar-fill`,\n progressbarOppositeClass: `${pfx}-progressbar-opposite`,\n clickableClass: `${pfx}-clickable`,\n lockClass: `${pfx}-lock`,\n horizontalClass: `${pfx}-horizontal`,\n verticalClass: `${pfx}-vertical`,\n paginationDisabledClass: `${pfx}-disabled`\n }\n });\n swiper.pagination = {\n el: null,\n $el: null,\n bullets: []\n };\n let bulletSize;\n let dynamicBulletIndex = 0;\n\n function isPaginationDisabled() {\n return !swiper.params.pagination.el || !swiper.pagination.el || !swiper.pagination.$el || swiper.pagination.$el.length === 0;\n }\n\n function setSideBullets($bulletEl, position) {\n const {\n bulletActiveClass\n } = swiper.params.pagination;\n $bulletEl[position]().addClass(`${bulletActiveClass}-${position}`)[position]().addClass(`${bulletActiveClass}-${position}-${position}`);\n }\n\n function update() {\n // Render || Update Pagination bullets/items\n const rtl = swiper.rtl;\n const params = swiper.params.pagination;\n if (isPaginationDisabled()) return;\n const slidesLength = swiper.virtual && swiper.params.virtual.enabled ? swiper.virtual.slides.length : swiper.slides.length;\n const $el = swiper.pagination.$el; // Current/Total\n\n let current;\n const total = swiper.params.loop ? Math.ceil((slidesLength - swiper.loopedSlides * 2) / swiper.params.slidesPerGroup) : swiper.snapGrid.length;\n\n if (swiper.params.loop) {\n current = Math.ceil((swiper.activeIndex - swiper.loopedSlides) / swiper.params.slidesPerGroup);\n\n if (current > slidesLength - 1 - swiper.loopedSlides * 2) {\n current -= slidesLength - swiper.loopedSlides * 2;\n }\n\n if (current > total - 1) current -= total;\n if (current < 0 && swiper.params.paginationType !== 'bullets') current = total + current;\n } else if (typeof swiper.snapIndex !== 'undefined') {\n current = swiper.snapIndex;\n } else {\n current = swiper.activeIndex || 0;\n } // Types\n\n\n if (params.type === 'bullets' && swiper.pagination.bullets && swiper.pagination.bullets.length > 0) {\n const bullets = swiper.pagination.bullets;\n let firstIndex;\n let lastIndex;\n let midIndex;\n\n if (params.dynamicBullets) {\n bulletSize = bullets.eq(0)[swiper.isHorizontal() ? 'outerWidth' : 'outerHeight'](true);\n $el.css(swiper.isHorizontal() ? 'width' : 'height', `${bulletSize * (params.dynamicMainBullets + 4)}px`);\n\n if (params.dynamicMainBullets > 1 && swiper.previousIndex !== undefined) {\n dynamicBulletIndex += current - (swiper.previousIndex - swiper.loopedSlides || 0);\n\n if (dynamicBulletIndex > params.dynamicMainBullets - 1) {\n dynamicBulletIndex = params.dynamicMainBullets - 1;\n } else if (dynamicBulletIndex < 0) {\n dynamicBulletIndex = 0;\n }\n }\n\n firstIndex = Math.max(current - dynamicBulletIndex, 0);\n lastIndex = firstIndex + (Math.min(bullets.length, params.dynamicMainBullets) - 1);\n midIndex = (lastIndex + firstIndex) / 2;\n }\n\n bullets.removeClass(['', '-next', '-next-next', '-prev', '-prev-prev', '-main'].map(suffix => `${params.bulletActiveClass}${suffix}`).join(' '));\n\n if ($el.length > 1) {\n bullets.each(bullet => {\n const $bullet = $(bullet);\n const bulletIndex = $bullet.index();\n\n if (bulletIndex === current) {\n $bullet.addClass(params.bulletActiveClass);\n }\n\n if (params.dynamicBullets) {\n if (bulletIndex >= firstIndex && bulletIndex <= lastIndex) {\n $bullet.addClass(`${params.bulletActiveClass}-main`);\n }\n\n if (bulletIndex === firstIndex) {\n setSideBullets($bullet, 'prev');\n }\n\n if (bulletIndex === lastIndex) {\n setSideBullets($bullet, 'next');\n }\n }\n });\n } else {\n const $bullet = bullets.eq(current);\n const bulletIndex = $bullet.index();\n $bullet.addClass(params.bulletActiveClass);\n\n if (params.dynamicBullets) {\n const $firstDisplayedBullet = bullets.eq(firstIndex);\n const $lastDisplayedBullet = bullets.eq(lastIndex);\n\n for (let i = firstIndex; i <= lastIndex; i += 1) {\n bullets.eq(i).addClass(`${params.bulletActiveClass}-main`);\n }\n\n if (swiper.params.loop) {\n if (bulletIndex >= bullets.length) {\n for (let i = params.dynamicMainBullets; i >= 0; i -= 1) {\n bullets.eq(bullets.length - i).addClass(`${params.bulletActiveClass}-main`);\n }\n\n bullets.eq(bullets.length - params.dynamicMainBullets - 1).addClass(`${params.bulletActiveClass}-prev`);\n } else {\n setSideBullets($firstDisplayedBullet, 'prev');\n setSideBullets($lastDisplayedBullet, 'next');\n }\n } else {\n setSideBullets($firstDisplayedBullet, 'prev');\n setSideBullets($lastDisplayedBullet, 'next');\n }\n }\n }\n\n if (params.dynamicBullets) {\n const dynamicBulletsLength = Math.min(bullets.length, params.dynamicMainBullets + 4);\n const bulletsOffset = (bulletSize * dynamicBulletsLength - bulletSize) / 2 - midIndex * bulletSize;\n const offsetProp = rtl ? 'right' : 'left';\n bullets.css(swiper.isHorizontal() ? offsetProp : 'top', `${bulletsOffset}px`);\n }\n }\n\n if (params.type === 'fraction') {\n $el.find(classesToSelector(params.currentClass)).text(params.formatFractionCurrent(current + 1));\n $el.find(classesToSelector(params.totalClass)).text(params.formatFractionTotal(total));\n }\n\n if (params.type === 'progressbar') {\n let progressbarDirection;\n\n if (params.progressbarOpposite) {\n progressbarDirection = swiper.isHorizontal() ? 'vertical' : 'horizontal';\n } else {\n progressbarDirection = swiper.isHorizontal() ? 'horizontal' : 'vertical';\n }\n\n const scale = (current + 1) / total;\n let scaleX = 1;\n let scaleY = 1;\n\n if (progressbarDirection === 'horizontal') {\n scaleX = scale;\n } else {\n scaleY = scale;\n }\n\n $el.find(classesToSelector(params.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${scaleX}) scaleY(${scaleY})`).transition(swiper.params.speed);\n }\n\n if (params.type === 'custom' && params.renderCustom) {\n $el.html(params.renderCustom(swiper, current + 1, total));\n emit('paginationRender', $el[0]);\n } else {\n emit('paginationUpdate', $el[0]);\n }\n\n if (swiper.params.watchOverflow && swiper.enabled) {\n $el[swiper.isLocked ? 'addClass' : 'removeClass'](params.lockClass);\n }\n }\n\n function render() {\n // Render Container\n const params = swiper.params.pagination;\n if (isPaginationDisabled()) return;\n const slidesLength = swiper.virtual && swiper.params.virtual.enabled ? swiper.virtual.slides.length : swiper.slides.length;\n const $el = swiper.pagination.$el;\n let paginationHTML = '';\n\n if (params.type === 'bullets') {\n let numberOfBullets = swiper.params.loop ? Math.ceil((slidesLength - swiper.loopedSlides * 2) / swiper.params.slidesPerGroup) : swiper.snapGrid.length;\n\n if (swiper.params.freeMode && swiper.params.freeMode.enabled && !swiper.params.loop && numberOfBullets > slidesLength) {\n numberOfBullets = slidesLength;\n }\n\n for (let i = 0; i < numberOfBullets; i += 1) {\n if (params.renderBullet) {\n paginationHTML += params.renderBullet.call(swiper, i, params.bulletClass);\n } else {\n paginationHTML += `<${params.bulletElement} class=\"${params.bulletClass}\">`;\n }\n }\n\n $el.html(paginationHTML);\n swiper.pagination.bullets = $el.find(classesToSelector(params.bulletClass));\n }\n\n if (params.type === 'fraction') {\n if (params.renderFraction) {\n paginationHTML = params.renderFraction.call(swiper, params.currentClass, params.totalClass);\n } else {\n paginationHTML = `` + ' / ' + ``;\n }\n\n $el.html(paginationHTML);\n }\n\n if (params.type === 'progressbar') {\n if (params.renderProgressbar) {\n paginationHTML = params.renderProgressbar.call(swiper, params.progressbarFillClass);\n } else {\n paginationHTML = ``;\n }\n\n $el.html(paginationHTML);\n }\n\n if (params.type !== 'custom') {\n emit('paginationRender', swiper.pagination.$el[0]);\n }\n }\n\n function init() {\n swiper.params.pagination = createElementIfNotDefined(swiper, swiper.originalParams.pagination, swiper.params.pagination, {\n el: 'swiper-pagination'\n });\n const params = swiper.params.pagination;\n if (!params.el) return;\n let $el = $(params.el);\n if ($el.length === 0) return;\n\n if (swiper.params.uniqueNavElements && typeof params.el === 'string' && $el.length > 1) {\n $el = swiper.$el.find(params.el); // check if it belongs to another nested Swiper\n\n if ($el.length > 1) {\n $el = $el.filter(el => {\n if ($(el).parents('.swiper')[0] !== swiper.el) return false;\n return true;\n });\n }\n }\n\n if (params.type === 'bullets' && params.clickable) {\n $el.addClass(params.clickableClass);\n }\n\n $el.addClass(params.modifierClass + params.type);\n $el.addClass(swiper.isHorizontal() ? params.horizontalClass : params.verticalClass);\n\n if (params.type === 'bullets' && params.dynamicBullets) {\n $el.addClass(`${params.modifierClass}${params.type}-dynamic`);\n dynamicBulletIndex = 0;\n\n if (params.dynamicMainBullets < 1) {\n params.dynamicMainBullets = 1;\n }\n }\n\n if (params.type === 'progressbar' && params.progressbarOpposite) {\n $el.addClass(params.progressbarOppositeClass);\n }\n\n if (params.clickable) {\n $el.on('click', classesToSelector(params.bulletClass), function onClick(e) {\n e.preventDefault();\n let index = $(this).index() * swiper.params.slidesPerGroup;\n if (swiper.params.loop) index += swiper.loopedSlides;\n swiper.slideTo(index);\n });\n }\n\n Object.assign(swiper.pagination, {\n $el,\n el: $el[0]\n });\n\n if (!swiper.enabled) {\n $el.addClass(params.lockClass);\n }\n }\n\n function destroy() {\n const params = swiper.params.pagination;\n if (isPaginationDisabled()) return;\n const $el = swiper.pagination.$el;\n $el.removeClass(params.hiddenClass);\n $el.removeClass(params.modifierClass + params.type);\n $el.removeClass(swiper.isHorizontal() ? params.horizontalClass : params.verticalClass);\n if (swiper.pagination.bullets && swiper.pagination.bullets.removeClass) swiper.pagination.bullets.removeClass(params.bulletActiveClass);\n\n if (params.clickable) {\n $el.off('click', classesToSelector(params.bulletClass));\n }\n }\n\n on('init', () => {\n if (swiper.params.pagination.enabled === false) {\n // eslint-disable-next-line\n disable();\n } else {\n init();\n render();\n update();\n }\n });\n on('activeIndexChange', () => {\n if (swiper.params.loop) {\n update();\n } else if (typeof swiper.snapIndex === 'undefined') {\n update();\n }\n });\n on('snapIndexChange', () => {\n if (!swiper.params.loop) {\n update();\n }\n });\n on('slidesLengthChange', () => {\n if (swiper.params.loop) {\n render();\n update();\n }\n });\n on('snapGridLengthChange', () => {\n if (!swiper.params.loop) {\n render();\n update();\n }\n });\n on('destroy', () => {\n destroy();\n });\n on('enable disable', () => {\n const {\n $el\n } = swiper.pagination;\n\n if ($el) {\n $el[swiper.enabled ? 'removeClass' : 'addClass'](swiper.params.pagination.lockClass);\n }\n });\n on('lock unlock', () => {\n update();\n });\n on('click', (_s, e) => {\n const targetEl = e.target;\n const {\n $el\n } = swiper.pagination;\n\n if (swiper.params.pagination.el && swiper.params.pagination.hideOnClick && $el && $el.length > 0 && !$(targetEl).hasClass(swiper.params.pagination.bulletClass)) {\n if (swiper.navigation && (swiper.navigation.nextEl && targetEl === swiper.navigation.nextEl || swiper.navigation.prevEl && targetEl === swiper.navigation.prevEl)) return;\n const isHidden = $el.hasClass(swiper.params.pagination.hiddenClass);\n\n if (isHidden === true) {\n emit('paginationShow');\n } else {\n emit('paginationHide');\n }\n\n $el.toggleClass(swiper.params.pagination.hiddenClass);\n }\n });\n\n const enable = () => {\n swiper.$el.removeClass(swiper.params.pagination.paginationDisabledClass);\n\n if (swiper.pagination.$el) {\n swiper.pagination.$el.removeClass(swiper.params.pagination.paginationDisabledClass);\n }\n\n init();\n render();\n update();\n };\n\n const disable = () => {\n swiper.$el.addClass(swiper.params.pagination.paginationDisabledClass);\n\n if (swiper.pagination.$el) {\n swiper.pagination.$el.addClass(swiper.params.pagination.paginationDisabledClass);\n }\n\n destroy();\n };\n\n Object.assign(swiper.pagination, {\n enable,\n disable,\n render,\n update,\n init,\n destroy\n });\n}","import createElementIfNotDefined from '../../shared/create-element-if-not-defined.js';\nimport $ from '../../shared/dom.js';\nexport default function Navigation({\n swiper,\n extendParams,\n on,\n emit\n}) {\n extendParams({\n navigation: {\n nextEl: null,\n prevEl: null,\n hideOnClick: false,\n disabledClass: 'swiper-button-disabled',\n hiddenClass: 'swiper-button-hidden',\n lockClass: 'swiper-button-lock',\n navigationDisabledClass: 'swiper-navigation-disabled'\n }\n });\n swiper.navigation = {\n nextEl: null,\n $nextEl: null,\n prevEl: null,\n $prevEl: null\n };\n\n function getEl(el) {\n let $el;\n\n if (el) {\n $el = $(el);\n\n if (swiper.params.uniqueNavElements && typeof el === 'string' && $el.length > 1 && swiper.$el.find(el).length === 1) {\n $el = swiper.$el.find(el);\n }\n }\n\n return $el;\n }\n\n function toggleEl($el, disabled) {\n const params = swiper.params.navigation;\n\n if ($el && $el.length > 0) {\n $el[disabled ? 'addClass' : 'removeClass'](params.disabledClass);\n if ($el[0] && $el[0].tagName === 'BUTTON') $el[0].disabled = disabled;\n\n if (swiper.params.watchOverflow && swiper.enabled) {\n $el[swiper.isLocked ? 'addClass' : 'removeClass'](params.lockClass);\n }\n }\n }\n\n function update() {\n // Update Navigation Buttons\n if (swiper.params.loop) return;\n const {\n $nextEl,\n $prevEl\n } = swiper.navigation;\n toggleEl($prevEl, swiper.isBeginning && !swiper.params.rewind);\n toggleEl($nextEl, swiper.isEnd && !swiper.params.rewind);\n }\n\n function onPrevClick(e) {\n e.preventDefault();\n if (swiper.isBeginning && !swiper.params.loop && !swiper.params.rewind) return;\n swiper.slidePrev();\n emit('navigationPrev');\n }\n\n function onNextClick(e) {\n e.preventDefault();\n if (swiper.isEnd && !swiper.params.loop && !swiper.params.rewind) return;\n swiper.slideNext();\n emit('navigationNext');\n }\n\n function init() {\n const params = swiper.params.navigation;\n swiper.params.navigation = createElementIfNotDefined(swiper, swiper.originalParams.navigation, swiper.params.navigation, {\n nextEl: 'swiper-button-next',\n prevEl: 'swiper-button-prev'\n });\n if (!(params.nextEl || params.prevEl)) return;\n const $nextEl = getEl(params.nextEl);\n const $prevEl = getEl(params.prevEl);\n\n if ($nextEl && $nextEl.length > 0) {\n $nextEl.on('click', onNextClick);\n }\n\n if ($prevEl && $prevEl.length > 0) {\n $prevEl.on('click', onPrevClick);\n }\n\n Object.assign(swiper.navigation, {\n $nextEl,\n nextEl: $nextEl && $nextEl[0],\n $prevEl,\n prevEl: $prevEl && $prevEl[0]\n });\n\n if (!swiper.enabled) {\n if ($nextEl) $nextEl.addClass(params.lockClass);\n if ($prevEl) $prevEl.addClass(params.lockClass);\n }\n }\n\n function destroy() {\n const {\n $nextEl,\n $prevEl\n } = swiper.navigation;\n\n if ($nextEl && $nextEl.length) {\n $nextEl.off('click', onNextClick);\n $nextEl.removeClass(swiper.params.navigation.disabledClass);\n }\n\n if ($prevEl && $prevEl.length) {\n $prevEl.off('click', onPrevClick);\n $prevEl.removeClass(swiper.params.navigation.disabledClass);\n }\n }\n\n on('init', () => {\n if (swiper.params.navigation.enabled === false) {\n // eslint-disable-next-line\n disable();\n } else {\n init();\n update();\n }\n });\n on('toEdge fromEdge lock unlock', () => {\n update();\n });\n on('destroy', () => {\n destroy();\n });\n on('enable disable', () => {\n const {\n $nextEl,\n $prevEl\n } = swiper.navigation;\n\n if ($nextEl) {\n $nextEl[swiper.enabled ? 'removeClass' : 'addClass'](swiper.params.navigation.lockClass);\n }\n\n if ($prevEl) {\n $prevEl[swiper.enabled ? 'removeClass' : 'addClass'](swiper.params.navigation.lockClass);\n }\n });\n on('click', (_s, e) => {\n const {\n $nextEl,\n $prevEl\n } = swiper.navigation;\n const targetEl = e.target;\n\n if (swiper.params.navigation.hideOnClick && !$(targetEl).is($prevEl) && !$(targetEl).is($nextEl)) {\n if (swiper.pagination && swiper.params.pagination && swiper.params.pagination.clickable && (swiper.pagination.el === targetEl || swiper.pagination.el.contains(targetEl))) return;\n let isHidden;\n\n if ($nextEl) {\n isHidden = $nextEl.hasClass(swiper.params.navigation.hiddenClass);\n } else if ($prevEl) {\n isHidden = $prevEl.hasClass(swiper.params.navigation.hiddenClass);\n }\n\n if (isHidden === true) {\n emit('navigationShow');\n } else {\n emit('navigationHide');\n }\n\n if ($nextEl) {\n $nextEl.toggleClass(swiper.params.navigation.hiddenClass);\n }\n\n if ($prevEl) {\n $prevEl.toggleClass(swiper.params.navigation.hiddenClass);\n }\n }\n });\n\n const enable = () => {\n swiper.$el.removeClass(swiper.params.navigation.navigationDisabledClass);\n init();\n update();\n };\n\n const disable = () => {\n swiper.$el.addClass(swiper.params.navigation.navigationDisabledClass);\n destroy();\n };\n\n Object.assign(swiper.navigation, {\n enable,\n disable,\n update,\n init,\n destroy\n });\n}","
    0)\">\r\n\t
    {{ \"ATTACHMENTS__HEADLINE\" | transloco }}
    \r\n\r\n\t
    \r\n\t\t\r\n\t\t\t\"image\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t
    \r\n
    \r\n","import { Component, ChangeDetectorRef, Input, forwardRef } from \"@angular/core\";\r\nimport { CommonModule } from \"@angular/common\";\r\nimport { IonicModule } from \"@ionic/angular\";\r\nimport { TranslocoModule } from \"@ngneat/transloco\";\r\nimport { FormsModule, ReactiveFormsModule } from \"@angular/forms\";\r\nimport { ImageAttachment } from \"../../../checklist.interface\";\r\nimport { validate as uuidValidate } from \"uuid\";\r\nimport { StorageService } from \"source/app/configuration/services/storage.service\";\r\nimport { UtilityService } from \"source/app/configuration/services/utility.service\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { ActionSheetController } from \"@ionic/angular\";\r\nimport { ImageService } from \"source/app/configuration/services/image.service\";\r\nimport { ImageViewerModalService } from \"source/app/modals/image-viewer/image-viewer.modal.service\";\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\r\n\r\n@Component({\r\n\tselector: \"app-attachments\",\r\n\ttemplateUrl: \"./attachments.component.html\",\r\n\tstyleUrls: [\"./attachments.component.scss\"],\r\n\tstandalone: true,\r\n\timports: [CommonModule, IonicModule, TranslocoModule, FormsModule, ReactiveFormsModule],\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => AttachmentsComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class AttachmentsComponent implements ControlValueAccessor {\r\n\tconstructor(\r\n\t\tprivate storageService: StorageService,\r\n\t\tprivate utilityService: UtilityService,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t\tprivate actionSheetController: ActionSheetController,\r\n\t\tprivate imageService: ImageService,\r\n\t\tprivate imageViewerModalService: ImageViewerModalService,\r\n\t\tprivate changeDetector: ChangeDetectorRef,\r\n\t) {}\r\n\r\n\tattachments: ImageAttachment[] = [];\r\n\t@Input() showAttachments = false;\r\n\r\n\tactivateAttachments = () => {\r\n\t\tthis.showAttachments = true;\r\n\t};\r\n\r\n\tprivate onAttachmentsChange = () => {\r\n\t\tthis.onTouched();\r\n\t\tthis.onChange(this.attachments);\r\n\t\tthis.changeDetector.markForCheck();\r\n\t};\r\n\r\n\tgetImage = async () => {\r\n\t\tconst mobaroImage = await this.imageService.getPhotoFromCamera();\r\n\r\n\t\tthis.attachments.push({\r\n\t\t\turl: mobaroImage.id,\r\n\t\t\tcameraRoll: false,\r\n\t\t\timageSrc: URL.createObjectURL(mobaroImage.file),\r\n\t\t});\r\n\t\tthis.onAttachmentsChange();\r\n\t};\r\n\r\n\tgetFromGallery = async () => {\r\n\t\tconst galleryPhotos = await this.imageService.getImagesFromGallery();\r\n\t\tgalleryPhotos.forEach((photo) => {\r\n\t\t\tthis.attachments.push({\r\n\t\t\t\turl: photo.id,\r\n\t\t\t\tcameraRoll: true,\r\n\t\t\t\timageSrc: URL.createObjectURL(photo.file),\r\n\t\t\t});\r\n\t\t});\r\n\t\tthis.onAttachmentsChange();\r\n\t};\r\n\r\n\tadd = async () => {\r\n\t\tconst actionSheet = await this.actionSheetController.create({\r\n\t\t\theader: this.translocoService.translate(\"ATTACHMENTS__ADD\"),\r\n\t\t\tmode: \"ios\",\r\n\t\t\tbuttons: [\r\n\t\t\t\t{\r\n\t\t\t\t\ttext: this.translocoService.translate(\"ATTACHMENTS__ADD_CAMERA\"),\r\n\t\t\t\t\tdata: {\r\n\t\t\t\t\t\taction: \"camera\",\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\ttext: this.translocoService.translate(\"ATTACHMENTS__ADD_GALLERY\"),\r\n\t\t\t\t\tdata: {\r\n\t\t\t\t\t\taction: \"gallery\",\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\ttext: this.translocoService.translate(\"BASE__CANCEL\"),\r\n\t\t\t\t\trole: \"cancel\",\r\n\t\t\t\t\tdata: {\r\n\t\t\t\t\t\taction: \"cancel\",\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t});\r\n\r\n\t\tawait actionSheet.present();\r\n\r\n\t\tconst action = await actionSheet.onWillDismiss();\r\n\r\n\t\tif (action.data?.action == \"camera\") {\r\n\t\t\tthis.getImage();\r\n\t\t}\r\n\r\n\t\tif (action.data?.action == \"gallery\") {\r\n\t\t\tthis.getFromGallery();\r\n\t\t}\r\n\t};\r\n\r\n\tedit = async (attachment: ImageAttachment): Promise => {\r\n\t\tconst actionSheet = await this.actionSheetController.create({\r\n\t\t\theader: this.translocoService.translate(\"ATTACHMENTS__OPTIONS\"),\r\n\t\t\tmode: \"ios\",\r\n\t\t\tbuttons: [\r\n\t\t\t\t{\r\n\t\t\t\t\ttext: this.translocoService.translate(\"ATTACHMENTS__OPTIONS_VIEW\"),\r\n\t\t\t\t\tdata: {\r\n\t\t\t\t\t\taction: \"view\",\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\ttext: this.translocoService.translate(\"ATTACHMENTS__OPTIONS_REMOVE\"),\r\n\t\t\t\t\trole: \"destructive\",\r\n\t\t\t\t\tdata: {\r\n\t\t\t\t\t\taction: \"delete\",\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\ttext: this.translocoService.translate(\"BASE__CANCEL\"),\r\n\t\t\t\t\trole: \"cancel\",\r\n\t\t\t\t\tdata: {\r\n\t\t\t\t\t\taction: \"cancel\",\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t});\r\n\r\n\t\tawait actionSheet.present();\r\n\r\n\t\tconst action = await actionSheet.onWillDismiss();\r\n\r\n\t\tif (action.data?.action === \"delete\") {\r\n\t\t\tthis.attachments = this.attachments.filter((x) => x.url !== attachment.url);\r\n\t\t\tthis.onAttachmentsChange();\r\n\r\n\t\t\tif (uuidValidate(attachment.url)) {\r\n\t\t\t\tthis.imageService.removeImage(attachment.url);\r\n\t\t\t\tURL.revokeObjectURL(attachment.imageSrc);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (action.data?.action === \"view\") {\r\n\t\t\tlet imageUrl = \"\";\r\n\r\n\t\t\tif (uuidValidate(attachment.url)) {\r\n\t\t\t\timageUrl = attachment.imageSrc;\r\n\t\t\t} else {\r\n\t\t\t\timageUrl = await this.utilityService.getImageUrl(attachment.url, \"medium\");\r\n\t\t\t}\r\n\r\n\t\t\tconst modal = await this.imageViewerModalService.create(imageUrl);\r\n\t\t\tmodal.present();\r\n\t\t}\r\n\t};\r\n\r\n\tprivate loadAttachments = async (attachments: ImageAttachment[]): Promise => {\r\n\t\tif (attachments != undefined) {\r\n\t\t\tattachments = attachments.map(({ url, cameraRoll }) => ({ url, cameraRoll }));\r\n\r\n\t\t\tconst imageSrcPromises = attachments.map(async (attachment) => {\r\n\t\t\t\tif (uuidValidate(attachment.url)) {\r\n\t\t\t\t\tconst imageBlob: Blob = await this.storageService.get(attachment.url);\r\n\t\t\t\t\tattachment.imageSrc = URL.createObjectURL(imageBlob);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tattachment.imageSrc = await this.utilityService.getImageUrl(attachment.url, \"thumbnail\");\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\tawait Promise.all(imageSrcPromises);\r\n\r\n\t\t\tthis.attachments = attachments;\r\n\t\t\tthis.changeDetector.markForCheck();\r\n\t\t}\r\n\t};\r\n\r\n\t//form setup\r\n\t// eslint-disable-next-line @typescript-eslint/no-empty-function\r\n\tonChange = (_attachments: ImageAttachment[]) => {};\r\n\t// eslint-disable-next-line @typescript-eslint/no-empty-function\r\n\tonTouched = () => {};\r\n\tdisabled = false;\r\n\r\n\twriteValue(attachments: ImageAttachment[]): void {\r\n\t\tif (attachments) {\r\n\t\t\tthis.loadAttachments(attachments);\r\n\t\t}\r\n\t}\r\n\r\n\tregisterOnChange(fn: (value: ImageAttachment[]) => void): void {\r\n\t\tthis.onChange = fn;\r\n\t}\r\n\r\n\tregisterOnTouched(fn: () => void): void {\r\n\t\tthis.onTouched = fn;\r\n\t}\r\n\r\n\tsetDisabledState?(isDisabled: boolean): void {\r\n\t\tthis.disabled = isDisabled;\r\n\t}\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { LoadingController } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class LoadingService {\r\n\tconstructor(\r\n\t\tprivate loadingController: LoadingController,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t) {}\r\n\r\n\tcreateLoader(message = \"LOADING_MESSAGE__PLEASE_WAIT\") {\r\n\t\treturn this.loadingController.create({\r\n\t\t\tmessage: this.translocoService.translate(message),\r\n\t\t});\r\n\t}\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { FileTranslationsStore } from \"./file-translations.store\";\r\nimport { selectMany } from \"@ngneat/elf-entities\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class FileTranslationsQuery {\r\n\tconstructor(private fileTranslationsStore: FileTranslationsStore) {}\r\n\r\n\tselectMany = (ids: string[]) => {\r\n\t\treturn this.fileTranslationsStore.store.pipe(selectMany(ids));\r\n\t};\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { FormGroup, FormRecord } from \"@angular/forms\";\r\nimport {\r\n\tChecklist,\r\n\tResult,\r\n\tResultValue,\r\n\tResponse,\r\n\tImageAttachment,\r\n\tFormAnswerGroup,\r\n\tPageElement,\r\n\tChecklistAssignmentResponse,\r\n\tAssignmentTrigger,\r\n\tQuestion,\r\n\tManualReference,\r\n\tRideOpsManualVersion,\r\n\tVideoReference,\r\n\tLinkReference,\r\n\tRideOpsLinkVersion,\r\n\tRideOpsVideoVersion,\r\n\tDocumentationReference,\r\n\tRideOpsManualDocumentation,\r\n} from \"../checklist.interface\";\r\nimport { ChecklistPageWithVisibility } from \"../modals/checklist-modal.component\";\r\nimport { firstValueFrom, map, timeout } from \"rxjs\";\r\nimport { LocationStateQuery } from \"source/app/configuration/state/location-state.query\";\r\nimport { HttpClient } from \"@angular/common/http\";\r\nimport { EnvironmentQuery } from \"source/app/configuration/state/environment.query\";\r\nimport { ChecklistStateService } from \"../state/checklist-state.service\";\r\nimport { validate as uuidValidate } from \"uuid\";\r\nimport { FileUploadsQuery } from \"source/app/configuration/state/file-uploads.query\";\r\nimport { FileTranslation } from \"source/app/configuration/state/file-translation.model\";\r\nimport { FileTranslationsQuery } from \"source/app/configuration/state/file-translations.query\";\r\nimport { ChecklistProgressStateService } from \"../state/checklist-progress-state.service\";\r\nimport { ElementType } from \"../checklist.models\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class ChecklistService {\r\n\tconstructor(\r\n\t\tprivate http: HttpClient,\r\n\t\tprivate environmentQuery: EnvironmentQuery,\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate checklistStateService: ChecklistStateService,\r\n\t\tprivate checklistProgressStateService: ChecklistProgressStateService,\r\n\t\tprivate fileTranslationsQuery: FileTranslationsQuery,\r\n\t\tprivate fileUploadsQuery: FileUploadsQuery,\r\n\t) {}\r\n\r\n\tsubmit = async (\r\n\t\tchecklist: Checklist,\r\n\t\tchecklistForm: FormRecord>,\r\n\t\tvisiblePages: ChecklistPageWithVisibility[],\r\n\t) => {\r\n\t\tif (checklistForm.valid) {\r\n\t\t\tconst result = await this.convertToResult(checklist, checklistForm, visiblePages);\r\n\t\t\tconst environment = await this.environmentQuery.environment$.firstAsync();\r\n\r\n\t\t\tconst response = await this.http\r\n\t\t\t\t.post>(`${environment.api.url}api/rideops/result`, result)\r\n\t\t\t\t.pipe(timeout(60000))\r\n\t\t\t\t.firstAsync();\r\n\r\n\t\t\tconst resultId = response.data;\r\n\r\n\t\t\tif (checklist.activity === \"Preopening\") {\r\n\t\t\t\tthis.checklistStateService.setPreopeningChecklistSubmitted(resultId);\r\n\t\t\t}\r\n\r\n\t\t\tthis.checklistProgressStateService.clearProgress();\r\n\t\t}\r\n\t};\r\n\r\n\tgetAssignmentTrigger = (elements: PageElement[], assignment: ChecklistAssignmentResponse): AssignmentTrigger => {\r\n\t\tif (assignment.fromTrigger === false) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\tconst triggerCondition = assignment.origin.triggerCondition;\r\n\t\tconst element = elements.find((element) => element.id === assignment.origin.question) as Question;\r\n\r\n\t\tif (triggerCondition == null || element == null) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\tconst triggers = element.triggers.filter((x) => x.type === \"AssignmentTrigger\") as AssignmentTrigger[];\r\n\r\n\t\treturn triggers.find(\r\n\t\t\t(x) =>\r\n\t\t\t\tx.condition.comparer === triggerCondition.comparer &&\r\n\t\t\t\tx.condition.left === triggerCondition.left &&\r\n\t\t\t\tx.condition.right === triggerCondition.right &&\r\n\t\t\t\tx.condition.type === triggerCondition.type,\r\n\t\t);\r\n\t};\r\n\r\n\ttranslateChecklist = (checklist: Checklist, language: string) => {\r\n\t\tconst translateLocalized = (record: Record): string => {\r\n\t\t\tif (record == null) return \"\";\r\n\t\t\treturn record[language] ?? record[checklist.language];\r\n\t\t};\r\n\r\n\t\tchecklist.pages.forEach((page) => {\r\n\t\t\tpage.translatedName = translateLocalized(page.name);\r\n\r\n\t\t\tpage.elements.forEach((element) => {\r\n\t\t\t\tif (element.stereotype === \"Question\") {\r\n\t\t\t\t\tconst questionElement = element as Question;\r\n\t\t\t\t\tquestionElement.translatedText = translateLocalized(questionElement.text);\r\n\t\t\t\t\tquestionElement.translatedDescription = translateLocalized(questionElement.description);\r\n\r\n\t\t\t\t\tif (element.type === ElementType.SelectQuestion) {\r\n\t\t\t\t\t\telement.options.forEach((option) => {\r\n\t\t\t\t\t\t\toption.translatedText = translateLocalized(option.text);\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (element.type === ElementType.TextElement) {\r\n\t\t\t\t\telement.translatedText = translateLocalized(element.text);\r\n\t\t\t\t} else if (element.stereotype === \"Group\" && element.type === \"SelectQuestionGroup\") {\r\n\t\t\t\t\telement.translatedText = translateLocalized(element.text);\r\n\t\t\t\t\telement.translatedDescription = translateLocalized(element.description);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t});\r\n\t};\r\n\r\n\tparseDocumentation = (checklist: Checklist) => {\r\n\t\tconst elements = checklist.pages.flatMap((page) => page.elements);\r\n\r\n\t\tconst mapDocumentation = <\r\n\t\t\tT extends RideOpsManualVersion | RideOpsVideoVersion | RideOpsLinkVersion,\r\n\t\t\tR extends DocumentationReference,\r\n\t\t>(\r\n\t\t\titems: string[] | { id: string; section: string }[],\r\n\t\t\ttransform: (version: T, section?: DocumentReference) => Omit,\r\n\t\t): R[] => {\r\n\t\t\treturn items\r\n\t\t\t\t.map((item) => {\r\n\t\t\t\t\tconst documentation = checklist.documentation.find((document) =>\r\n\t\t\t\t\t\ttypeof item === \"string\" ? document.id === item : document.id === item.id,\r\n\t\t\t\t\t);\r\n\t\t\t\t\tif (!documentation) return null;\r\n\r\n\t\t\t\t\t// Extract section\r\n\t\t\t\t\tconst sectionId = typeof item !== \"string\" && \"section\" in item ? item.section : undefined;\r\n\t\t\t\t\tconst section =\r\n\t\t\t\t\t\tsectionId == null\r\n\t\t\t\t\t\t\t? null\r\n\t\t\t\t\t\t\t: (documentation as RideOpsManualDocumentation).sections.find((x) => x.id === sectionId);\r\n\r\n\t\t\t\t\treturn (documentation.versions as T[]).map((version) => ({\r\n\t\t\t\t\t\tid: version.id,\r\n\t\t\t\t\t\tname: documentation.name,\r\n\t\t\t\t\t\tversion: version.name,\r\n\t\t\t\t\t\t...transform(version, section),\r\n\t\t\t\t\t}));\r\n\t\t\t\t})\r\n\t\t\t\t.filter((entry): entry is R[] => entry !== null) // Ensure we only keep valid results\r\n\t\t\t\t.flat();\r\n\t\t};\r\n\r\n\t\telements.forEach((element) => {\r\n\t\t\telement.documentation = {\r\n\t\t\t\tmanuals: mapDocumentation(\r\n\t\t\t\t\telement.manuals,\r\n\t\t\t\t\t(version, section) => ({\r\n\t\t\t\t\t\tfile: section && version.sections[section.id] ? version.sections[section.id] : version.file, // Use section file if available, otherwise use version.file\r\n\t\t\t\t\t\tsection: section?.name,\r\n\t\t\t\t\t}),\r\n\t\t\t\t),\r\n\t\t\t\tvideos: mapDocumentation(element.videos, (version) => ({\r\n\t\t\t\t\tcode: version.code,\r\n\t\t\t\t\ttype: version.type,\r\n\t\t\t\t})),\r\n\t\t\t\tlinks: mapDocumentation(element.links, (version) => ({\r\n\t\t\t\t\turl: version.url,\r\n\t\t\t\t})),\r\n\t\t\t};\r\n\t\t});\r\n\t};\r\n\r\n\tprivate convertToResult = async (\r\n\t\tchecklist: Checklist,\r\n\t\tchecklistForm: FormRecord>,\r\n\t\tpages: ChecklistPageWithVisibility[],\r\n\t): Promise => {\r\n\t\tlet responses = this.getValuesFromForm(checklistForm);\r\n\t\tresponses = await this.translateImages(responses);\r\n\r\n\t\tconst pageVisibility = pages.map((page) => {\r\n\t\t\treturn firstValueFrom(\r\n\t\t\t\tpage.isVisible$.pipe(\r\n\t\t\t\t\tmap((visible) => {\r\n\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\tvisible: visible,\r\n\t\t\t\t\t\t\tid: page.id,\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t}),\r\n\t\t\t\t),\r\n\t\t\t);\r\n\t\t});\r\n\r\n\t\tconst visiblePages = (await Promise.all(pageVisibility)).filter((x) => x.visible).map((x) => x.id);\r\n\r\n\t\tconst elementVisibility = pages\r\n\t\t\t.flatMap((page) => page.elements)\r\n\t\t\t.map((element) => {\r\n\t\t\t\treturn firstValueFrom(\r\n\t\t\t\t\telement.isVisible$.pipe(\r\n\t\t\t\t\t\tmap((visible) => {\r\n\t\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\t\tvisible$: visible,\r\n\t\t\t\t\t\t\t\tid: element.element.id,\r\n\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t}),\r\n\t\t\t\t\t),\r\n\t\t\t\t);\r\n\t\t\t});\r\n\r\n\t\tconst visbleElements = (await Promise.all(elementVisibility)).filter((x) => x.visible$).map((x) => x.id);\r\n\t\tconst location = await this.locationStateQuery.location$.firstAsync();\r\n\r\n\t\treturn {\r\n\t\t\tanswered: new Date().toISOString(),\r\n\t\t\tchecklist: checklist.id,\r\n\t\t\tlanguage: checklist.language,\r\n\t\t\tlocation: location.id,\r\n\t\t\tschedule: location.id,\r\n\t\t\tstarted: checklist.started,\r\n\t\t\ttimezone: Intl.DateTimeFormat().resolvedOptions().timeZone,\r\n\t\t\tvalues: responses,\r\n\r\n\t\t\tscheduleUnit: {\r\n\t\t\t\tid: checklist.activity,\r\n\t\t\t\torigin: \"RideOps\",\r\n\t\t\t},\r\n\r\n\t\t\tvisiblePages: visiblePages,\r\n\t\t\tvisibleElements: visbleElements,\r\n\r\n\t\t\tmetadata: {\r\n\t\t\t\tversion: \"RideOps\",\r\n\t\t\t\tstorageDriver: \"N/A\",\r\n\t\t\t\tdeployVersion: \"N/A\",\r\n\t\t\t},\r\n\t\t};\r\n\t};\r\n\r\n\tpublic imagesThatCantbeTranslated = async (\r\n\t\tchecklistForm: FormRecord>,\r\n\t): Promise => {\r\n\t\tconst responses = this.getValuesFromForm(checklistForm);\r\n\t\tconst imagesNotTranslated = this.imagesNotTranslated(responses);\r\n\r\n\t\tif (imagesNotTranslated.length === 0) {\r\n\t\t\treturn [];\r\n\t\t}\r\n\t\treturn this.fileUploadsQuery\r\n\t\t\t.selectMany(imagesNotTranslated)\r\n\t\t\t.pipe(map((fileUploads) => fileUploads.map((fu) => fu.id)))\r\n\t\t\t.firstAsync();\r\n\t};\r\n\r\n\tprivate translateImages = async (responses: Response[]): Promise => {\r\n\t\tconst imagesNotTranslated = this.imagesNotTranslated(responses);\r\n\t\tif (imagesNotTranslated.length === 0) {\r\n\t\t\treturn responses;\r\n\t\t}\r\n\r\n\t\tconst translations = await this.fileTranslationsQuery.selectMany(imagesNotTranslated).firstAsync();\r\n\r\n\t\tconst mapImageAttachment = (\r\n\t\t\timageAttachment: ImageAttachment,\r\n\t\t\ttranslations: FileTranslation[],\r\n\t\t): ImageAttachment => {\r\n\t\t\tif (uuidValidate(imageAttachment.url)) {\r\n\t\t\t\treturn {\r\n\t\t\t\t\turl: translations.find((translation) => translation.id === imageAttachment.url).path,\r\n\t\t\t\t\tcameraRoll: imageAttachment.cameraRoll,\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t\treturn imageAttachment;\r\n\t\t};\r\n\r\n\t\tconst translatedResponses: Response[] = responses.map((response) =>\r\n\t\t\tuuidValidate(response.answers[0]) ||\r\n\t\t\tresponse.imageAttachments?.length > 0 ||\r\n\t\t\tresponse.assignments?.length > 0\r\n\t\t\t\t? {\r\n\t\t\t\t\t\t...response,\r\n\t\t\t\t\t\tanswers: uuidValidate(response.answers[0])\r\n\t\t\t\t\t\t\t? [translations.find((translation) => translation.id === response.answers[0]).path]\r\n\t\t\t\t\t\t\t: response.answers,\r\n\t\t\t\t\t\timageAttachments:\r\n\t\t\t\t\t\t\tresponse.imageAttachments == null || response.imageAttachments.length == 0\r\n\t\t\t\t\t\t\t\t? []\r\n\t\t\t\t\t\t\t\t: response.imageAttachments.map((image) => mapImageAttachment(image, translations)),\r\n\t\t\t\t\t\tassignments: response.assignments.map((assignment) => {\r\n\t\t\t\t\t\t\tconst solution =\r\n\t\t\t\t\t\t\t\tassignment.solution == null\r\n\t\t\t\t\t\t\t\t\t? null\r\n\t\t\t\t\t\t\t\t\t: {\r\n\t\t\t\t\t\t\t\t\t\t\t...assignment.solution,\r\n\t\t\t\t\t\t\t\t\t\t\tattachments: assignment.solution.attachments.map((attachment) => {\r\n\t\t\t\t\t\t\t\t\t\t\t\treturn attachment.type == undefined || attachment.type === \"Image\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t? mapImageAttachment(attachment, translations)\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t: attachment;\r\n\t\t\t\t\t\t\t\t\t\t\t}),\r\n\t\t\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\t\t...assignment,\r\n\t\t\t\t\t\t\t\tsolution: solution,\r\n\t\t\t\t\t\t\t\tattachments: assignment.attachments.map((attachment) => {\r\n\t\t\t\t\t\t\t\t\treturn attachment.type == undefined || attachment.type === \"Image\"\r\n\t\t\t\t\t\t\t\t\t\t? mapImageAttachment(attachment, translations)\r\n\t\t\t\t\t\t\t\t\t\t: attachment;\r\n\t\t\t\t\t\t\t\t}),\r\n\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t}),\r\n\t\t\t\t\t}\r\n\t\t\t\t: response,\r\n\t\t);\r\n\r\n\t\treturn translatedResponses;\r\n\t};\r\n\r\n\tprivate getValuesFromForm = (checklistForm: FormRecord>) => {\r\n\t\tconst values: ResultValue[] = Object.entries(checklistForm.value)\r\n\t\t\t.filter(([key, _value]) => checklistForm.controls[key].valid && checklistForm.controls[key].enabled) //we only want the valid answers\r\n\t\t\t.map(([key, value]) => {\r\n\t\t\t\tconst retval: ResultValue = {\r\n\t\t\t\t\tanswers: value.question.answers,\r\n\t\t\t\t\tanswered: value.question.answered,\r\n\t\t\t\t\tposition: value.question.position,\r\n\t\t\t\t\tuser: value.question.user,\r\n\t\t\t\t\tquestion: key,\r\n\t\t\t\t\tcomment: value.comment,\r\n\t\t\t\t\timageAttachments: value.attachments,\r\n\t\t\t\t\tadHocScheduleSlots: value.question.adHocScheduleSlots,\r\n\t\t\t\t\tassignments: value.assignments.map((x) => {\r\n\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\t...x.assignment,\r\n\t\t\t\t\t\t\tsolution: x.solution,\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t}),\r\n\t\t\t\t};\r\n\t\t\t\treturn retval;\r\n\t\t\t});\r\n\r\n\t\treturn values;\r\n\t};\r\n\r\n\tprivate imagesNotTranslated = (responses: Response[]): string[] => {\r\n\t\treturn responses\r\n\t\t\t.map((response) =>\r\n\t\t\t\tresponse.imageAttachments?.length == 0 && response.assignments?.length == 0\r\n\t\t\t\t\t? [response.answers[0]]\r\n\t\t\t\t\t: [\r\n\t\t\t\t\t\t\tresponse.answers[0],\r\n\t\t\t\t\t\t\t...response.imageAttachments.map((ia) => ia.url),\r\n\t\t\t\t\t\t\t...response.assignments.flatMap((assignment) =>\r\n\t\t\t\t\t\t\t\tassignment.attachments\r\n\t\t\t\t\t\t\t\t\t.flatMap((attachment) => attachment.url)\r\n\t\t\t\t\t\t\t\t\t.concat(assignment.solution?.attachments.flatMap((attachment) => attachment.url)),\r\n\t\t\t\t\t\t\t),\r\n\t\t\t\t\t\t],\r\n\t\t\t)\r\n\t\t\t.flatMap((x) => x)\r\n\t\t\t.filter((x) => uuidValidate(x));\r\n\t};\r\n}\r\n","/**\r\n * Custom error class for handling exhaustive errors.\r\n *\r\n * @param message The error message.\r\n * @param customData Additional custom data related to the error.\r\n */\r\nclass ExhaustiveError extends Error {\r\n\tconstructor(\r\n\t\tmessage: string,\r\n\t\tpublic customData: unknown,\r\n\t) {\r\n\t\tsuper(message);\r\n\t\tthis.name = \"ExhaustiveError\";\r\n\t}\r\n}\r\n\r\n/**\r\n * Throws an ExhaustiveError with the provided message and custom data.\r\n *\r\n * @param {string} message - The error message to be displayed.\r\n * @param {unknown} customData - Additional custom data related to the error.\r\n * @returns {never} This function never returns a value as it always throws an error.\r\n */\r\nexport function throwExhaustiveError(message: string, customData: never): never;\r\nexport function throwExhaustiveError(message: string, customData: unknown) {\r\n\tthrow new ExhaustiveError(message, customData);\r\n}\r\n","import { toDate } from \"./toDate.mjs\";\n\n/**\n * @name isBefore\n * @category Common Helpers\n * @summary Is the first date before the second one?\n *\n * @description\n * Is the first date before the second one?\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The date that should be before the other one to return true\n * @param dateToCompare - The date to compare with\n *\n * @returns The first date is before the second date\n *\n * @example\n * // Is 10 July 1989 before 11 February 1987?\n * const result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11))\n * //=> false\n */\nexport function isBefore(date, dateToCompare) {\n const _date = toDate(date);\n const _dateToCompare = toDate(dateToCompare);\n return +_date < +_dateToCompare;\n}\n\n// Fallback for modularized imports:\nexport default isBefore;\n","/**\r\n * Check if all elements in the comparisonProperties array are present in the sourceProperties array.\r\n *\r\n * @param sourceProperties The array of source properties to compare against.\r\n * @param comparisonProperties The array of properties to check for presence in the sourceProperties array.\r\n * @returns A boolean indicating whether all elements in comparisonProperties are present in sourceProperties.\r\n */\r\nexport function containsAll(sourceProperties: string[], comparisonProperties: string[]) {\r\n\treturn comparisonProperties.every((property) => sourceProperties.includes(property));\r\n}\r\n\r\n/**\r\n * Check if any element in the comparisonProperties array is present in the sourceProperties array.\r\n *\r\n * @param sourceProperties The array of source properties to compare against.\r\n * @param comparisonProperties The array of properties to check for presence in the sourceProperties array.\r\n * @returns A boolean indicating whether any element in comparisonProperties is present in sourceProperties.\r\n */\r\nexport function containsAny(sourceProperties: string[], comparisonProperties: string[]) {\r\n\treturn comparisonProperties.some((property) => sourceProperties.includes(property));\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { AbstractControl, FormGroup, FormRecord, Validators } from \"@angular/forms\";\r\nimport { Observable, combineLatest, distinctUntilChanged, map, of, shareReplay, tap } from \"rxjs\";\r\nimport {\r\n\tChecklist,\r\n\tFormAnswerGroup,\r\n\tLogicalCondition,\r\n\tLogicalOperator,\r\n\tPage,\r\n\tPageElement,\r\n\tRequirementTrigger,\r\n} from \"../checklist.interface\";\r\nimport { LocationStateQuery } from \"source/app/configuration/state/location-state.query\";\r\nimport { ApiService } from \"source/app/configuration/services/api.service\";\r\nimport { RaygunService } from \"source/app/configuration/services/raygun.service\";\r\nimport { throwExhaustiveError } from \"source/app/configuration/errors/exhaustive-error\";\r\nimport {\r\n\tevaluatePropertyCondition,\r\n\tevaluateDateTimeCondition,\r\n\tevaluateStateCondition,\r\n\tevaluateMembershipCondition,\r\n\tevaluateVisibilityCondition,\r\n\tevaluateAnswerCondition,\r\n} from \"./logic\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class LogicService {\r\n\tconstructor(\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate apiService: ApiService,\r\n\t\tprivate raygunService: RaygunService,\r\n\t) {}\r\n\r\n\t/**\r\n\t * Evaluates the logic in a trigger, and sets fields as required in the corresponding Form Group.\r\n\t *\r\n\t * @param questionId the id of the question, to fetch the correct Answer group\r\n\t * @param triggers An array of requirement triggers with a logic operator, that targets fields to be required such as comment or attachment.\r\n\t * @param checklistForm The FormGroup to update based on the trigger.\r\n\t * @returns An observable, that set or unsets required fields based on the trigger\r\n\t */\r\n\tevaluateRequirementTriggerLogic = (\r\n\t\tquestionId: string,\r\n\t\ttriggers: RequirementTrigger[],\r\n\t\tchecklistForm: FormRecord>,\r\n\t) => {\r\n\t\tconst logicProperties: LogicProperties = {\r\n\t\t\tlocationProperties: [],\r\n\t\t\tstate: \"\",\r\n\t\t\tmemberships: [],\r\n\t\t};\r\n\r\n\t\tconst mapOperator = (condition: LogicalCondition): LogicalOperator => {\r\n\t\t\treturn {\r\n\t\t\t\toperators: [],\r\n\t\t\t\ttype: \"AND\",\r\n\t\t\t\tconditions: [condition],\r\n\t\t\t};\r\n\t\t};\r\n\r\n\t\tconst triggerObservables = triggers.map((trigger) =>\r\n\t\t\tthis.evaluateLogicalConditions(mapOperator(trigger.condition), logicProperties, [], checklistForm).pipe(\r\n\t\t\t\tmap((isTriggered) => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\trequireComment: trigger.requireComment,\r\n\t\t\t\t\t\trequirePhoto: trigger.requirePhoto,\r\n\t\t\t\t\t\tisTriggered,\r\n\t\t\t\t\t};\r\n\t\t\t\t}),\r\n\t\t\t),\r\n\t\t);\r\n\r\n\t\tconst questionFormGroup = checklistForm.controls[questionId];\r\n\t\tconst commentControl = questionFormGroup.controls.comment;\r\n\t\tconst attachmentsControl = questionFormGroup.controls.attachments;\r\n\r\n\t\tfunction updateValidators(control: AbstractControl, required: boolean) {\r\n\t\t\tif (required) {\r\n\t\t\t\tcontrol.setValidators(Validators.required);\r\n\t\t\t} else {\r\n\t\t\t\tcontrol.clearValidators();\r\n\t\t\t}\r\n\t\t\tcontrol.updateValueAndValidity();\r\n\t\t}\r\n\r\n\t\treturn combineLatest(triggerObservables).pipe(\r\n\t\t\ttap((triggerResults) => {\r\n\t\t\t\tconst requireComment = triggerResults.some(\r\n\t\t\t\t\t(triggerResult) => triggerResult.isTriggered && triggerResult.requireComment,\r\n\t\t\t\t);\r\n\t\t\t\tconst requirePhoto = triggerResults.some(\r\n\t\t\t\t\t(triggerResult) => triggerResult.isTriggered && triggerResult.requirePhoto,\r\n\t\t\t\t);\r\n\r\n\t\t\t\tupdateValidators(commentControl, requireComment);\r\n\t\t\t\tupdateValidators(attachmentsControl, requirePhoto);\r\n\t\t\t}),\r\n\t\t);\r\n\t};\r\n\r\n\t/**\r\n\t * Evaluates the logic for displaying a page based on the provided page object, logic properties, visibility of elements, and form group.\r\n\t *\r\n\t * @param page The page object containing description, elements, and logic operator.\r\n\t * @param logicProperties The logic properties including location properties, state, and memberships.\r\n\t * @param elementsVisible An array of objects with element IDs and their visibility status as observables.\r\n\t * @param formGroup The form group related to the page.\r\n\t * @returns An observable emitting a boolean value indicating whether the page should be displayed.\r\n\t */\r\n\tpublic evaluatePageLogic(\r\n\t\tpage: Page,\r\n\t\tlogicProperties: LogicProperties,\r\n\t\telementsVisible: { id: string; isVisible$: Observable }[],\r\n\t\tformGroup: FormRecord>,\r\n\t): Observable {\r\n\t\t// Always show the page if no logic is defined\r\n\t\tif (page.logic == undefined) {\r\n\t\t\treturn of(true);\r\n\t\t}\r\n\r\n\t\treturn this.evaluateLogicalConditions(page.logic, logicProperties, elementsVisible, formGroup).pipe(\r\n\t\t\tdistinctUntilChanged(),\r\n\t\t\tshareReplay({ bufferSize: 1, refCount: true }),\r\n\t\t);\r\n\t}\r\n\r\n\t/**\r\n\t * Evaluates the logic for a given page element to determine its visibility based on the provided logical conditions.\r\n\t *\r\n\t * @param isPageVisible$ An Observable representing the visibility of the page.\r\n\t * @param element The PageElement to evaluate the logic for.\r\n\t * @param logicProperties The LogicProperties object containing the logic properties for evaluation.\r\n\t * @param elementsVisible An array of objects containing the id and Observable visibility status of elements.\r\n\t * @param formGroup The FormGroup to update based on the visibility of the element.\r\n\t * @returns An Observable representing the combined visibility of the element and the page.\r\n\t */\r\n\tpublic evaluateElementLogic(\r\n\t\tisPageVisible$: Observable,\r\n\t\telement: PageElement,\r\n\t\tlogicProperties: LogicProperties,\r\n\t\telementsVisible: { id: string; isVisible$: Observable }[],\r\n\t\tformGroup: FormRecord>,\r\n\t): Observable {\r\n\t\tconst isElementVisible$ =\r\n\t\t\telement.logic == undefined\r\n\t\t\t\t? of(true)\r\n\t\t\t\t: this.evaluateLogicalConditions(element.logic, logicProperties, elementsVisible, formGroup);\r\n\r\n\t\tlet isElementAndPageVisible$ = combineLatest([isPageVisible$, isElementVisible$]).pipe(\r\n\t\t\tmap(([isPageVisible, isElementVisible]) => isPageVisible && isElementVisible),\r\n\t\t);\r\n\r\n\t\t// If it's a question, we need to check if it's visible and update the form control accordingly\r\n\t\tif (element.stereotype === \"Question\") {\r\n\t\t\tisElementAndPageVisible$ = isElementAndPageVisible$.pipe(\r\n\t\t\t\tdistinctUntilChanged(),\r\n\t\t\t\ttap((isVisible) => {\r\n\t\t\t\t\tconst control = formGroup.controls[element.id];\r\n\t\t\t\t\tisVisible ? control.enable() : control.disable();\r\n\t\t\t\t}),\r\n\t\t\t\tshareReplay({ bufferSize: 1, refCount: true }),\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\treturn isElementAndPageVisible$;\r\n\t}\r\n\r\n\t/**\r\n\t * Evaluates logical conditions based on the provided logic operator, logic properties, visible elements, and form group.\r\n\t * Returns an observable boolean representing the evaluation result.\r\n\t *\r\n\t * @param logic The logical operator containing conditions to evaluate\r\n\t * @param logicProperties The logic properties used in the evaluation\r\n\t * @param elementsVisible Array of elements with visibility status observables\r\n\t * @param formGroup The form group used for condition evaluation\r\n\t * @returns An observable boolean representing the result of the logical conditions evaluation\r\n\t */\r\n\tprivate evaluateLogicalConditions(\r\n\t\tlogic: LogicalOperator,\r\n\t\tlogicProperties: LogicProperties,\r\n\t\telementsVisible: { id: string; isVisible$: Observable }[],\r\n\t\tformGroup: FormRecord>,\r\n\t): Observable {\r\n\t\tconst logicObserverables: Observable[] = logic.conditions.map((condition) => {\r\n\t\t\ttry {\r\n\t\t\t\tswitch (condition.type) {\r\n\t\t\t\t\tcase \"Answer\":\r\n\t\t\t\t\t\treturn evaluateAnswerCondition(condition, formGroup);\r\n\t\t\t\t\tcase \"DateTime\":\r\n\t\t\t\t\t\treturn evaluateDateTimeCondition(condition);\r\n\t\t\t\t\tcase \"Property\":\r\n\t\t\t\t\t\treturn evaluatePropertyCondition(condition, logicProperties.locationProperties);\r\n\t\t\t\t\tcase \"State\":\r\n\t\t\t\t\t\treturn evaluateStateCondition(condition, logicProperties.state);\r\n\t\t\t\t\tcase \"Membership\":\r\n\t\t\t\t\t\treturn evaluateMembershipCondition(condition, logicProperties.memberships);\r\n\t\t\t\t\tcase \"Visibility\":\r\n\t\t\t\t\t\treturn evaluateVisibilityCondition(condition, elementsVisible);\r\n\t\t\t\t\tdefault: {\r\n\t\t\t\t\t\tthrowExhaustiveError(\"Unhandled logical condition\", condition);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} catch (error) {\r\n\t\t\t\tif (error instanceof Error) {\r\n\t\t\t\t\tthis.raygunService.send(error, condition);\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn of(true);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\treturn combineLatest(logicObserverables).pipe(\r\n\t\t\tmap((values: boolean[]) => {\r\n\t\t\t\tswitch (logic.type) {\r\n\t\t\t\t\tcase \"AND\":\r\n\t\t\t\t\t\treturn values.every((value) => value);\r\n\t\t\t\t\tcase \"OR\":\r\n\t\t\t\t\t\treturn values.indexOf(true) !== -1;\r\n\t\t\t\t\tcase \"NOT\":\r\n\t\t\t\t\t\treturn values.every((value) => value === false);\r\n\t\t\t\t\tdefault:\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t}),\r\n\t\t\tdistinctUntilChanged(),\r\n\t\t);\r\n\t}\r\n\r\n\t/**\r\n\t * Retrieves logic properties for a checklist including location properties, state, and memberships.\r\n\t * @param checklist The checklist for which logic properties are retrieved.\r\n\t * @returns A Promise that resolves to an object containing locationProperties, state, and memberships.\r\n\t */\r\n\tpublic async getLogicProperties(checklist: Checklist): Promise {\r\n\t\tconst locationProperties = await this.locationStateQuery.locationProperties$.firstAsync();\r\n\t\tconst state = \"\";\r\n\t\tlet memberships: string[] = [];\r\n\r\n\t\t// Get logical conditions related to memberships from pages\r\n\t\tconst pageLogicalConditionsWithMembership = checklist.pages\r\n\t\t\t.filter((x) => x.logic != undefined)\r\n\t\t\t.flatMap((page) => page.logic)\r\n\t\t\t.flatMap((x) => x.conditions)\r\n\t\t\t.find((x) => x.type === \"Membership\");\r\n\r\n\t\t// Get logical conditions related to memberships from elements\r\n\t\tconst elementLogicalConditionsWithMembership = checklist.pages\r\n\t\t\t.flatMap((page) => page.elements)\r\n\t\t\t.filter((x) => x.logic != undefined)\r\n\t\t\t.map((element) => element.logic)\r\n\t\t\t.flatMap((x) => x.conditions)\r\n\t\t\t.find((x) => x.type === \"Membership\");\r\n\r\n\t\tconst hasMembershipConditions =\r\n\t\t\tpageLogicalConditionsWithMembership != undefined || elementLogicalConditionsWithMembership != undefined;\r\n\r\n\t\tif (hasMembershipConditions) {\r\n\t\t\tmemberships = await this.apiService.memberships();\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tlocationProperties,\r\n\t\t\tstate,\r\n\t\t\tmemberships,\r\n\t\t};\r\n\t}\r\n}\r\n\r\nexport interface LogicProperties {\r\n\tlocationProperties: string[];\r\n\tstate: string;\r\n\tmemberships: string[];\r\n}\r\n","import { FormGroup, FormRecord } from \"@angular/forms\";\r\nimport { defer, map, Observable, startWith } from \"rxjs\";\r\nimport { addHours, isAfter, isBefore } from \"date-fns\";\r\nimport {\r\n\tAnswerCondition,\r\n\tAnsweredAnswerCondition,\r\n\tEqualityAnswerCondition,\r\n\tFormAnswerGroup,\r\n\tFormQuestion,\r\n\tNumberAnswerCondition,\r\n\tSmileyAnswerCondition,\r\n\tTimeAnswerCondition,\r\n} from \"../../checklist.interface\";\r\nimport { throwExhaustiveError } from \"source/app/configuration/errors/exhaustive-error\";\r\n\r\n/**\r\n * Evaluates the given answer condition against a form group.\r\n *\r\n * @param condition The answer condition to evaluate.\r\n * @param formGroup The form group containing the answers.\r\n * @returns An observable that emits a boolean value based on the evaluation of the condition.\r\n */\r\nexport function evaluateAnswerCondition(\r\n\tcondition: AnswerCondition,\r\n\tformGroup: FormRecord>,\r\n): Observable {\r\n\tconst formAnswerGroup = formGroup.controls[condition.left];\r\n\tconst formControl = formAnswerGroup.controls.question;\r\n\tconst answerObservable = formControl.valueChanges;\r\n\tconst answerValidator = createAnswerValidationFunction(condition);\r\n\r\n\treturn defer(() =>\r\n\t\tanswerObservable.pipe(\r\n\t\t\tstartWith(formControl.value),\r\n\t\t\tmap((formQuestion) => answerValidator(formQuestion)),\r\n\t\t),\r\n\t);\r\n}\r\nfunction createAnswerValidationFunction(condition: AnswerCondition): (question: FormQuestion) => boolean {\r\n\tswitch (condition.comparer) {\r\n\t\tcase \"EQ\":\r\n\t\tcase \"NEQ\":\r\n\t\t\treturn createEqualityComparisonFunction(condition);\r\n\t\tcase \"GT\":\r\n\t\tcase \"GTEQ\":\r\n\t\tcase \"LT\":\r\n\t\tcase \"LTEQ\":\r\n\t\t\treturn createNumberComparisonFunction(condition);\r\n\t\tcase \"MoreThanInPast\":\r\n\t\tcase \"LessThanInPast\":\r\n\t\tcase \"MoreThanInFuture\":\r\n\t\tcase \"LessThanInFuture\":\r\n\t\t\treturn createTimeComparisonFunction(condition);\r\n\t\tcase \"BetterThan\":\r\n\t\tcase \"WorseThan\":\r\n\t\tcase \"NA\":\r\n\t\t\treturn createSmileyComparisonFunction(condition);\r\n\t\tcase \"Answered\":\r\n\t\tcase \"NotAnswered\":\r\n\t\t\treturn createAnsweredComparisonFunction(condition);\r\n\t\tdefault:\r\n\t\t\tthrowExhaustiveError(\"Unhandled condition\", condition);\r\n\t}\r\n}\r\n\r\nfunction createEqualityComparisonFunction(condition: EqualityAnswerCondition) {\r\n\treturn function equalityComparison(question: FormQuestion): boolean {\r\n\t\tif (!question) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tconst testValue = Number(condition.right);\r\n\t\tconst isNumber = !isNaN(testValue);\r\n\r\n\t\tswitch (condition.comparer) {\r\n\t\t\tcase \"EQ\":\r\n\t\t\t\treturn isNumber ? Number(question.answers) === testValue : question.answers?.includes(condition.right);\r\n\t\t\tcase \"NEQ\":\r\n\t\t\t\treturn isNumber ? Number(question.answers) !== testValue : !question.answers.includes(condition.right);\r\n\t\t\tdefault:\r\n\t\t\t\tthrowExhaustiveError(\"Unhandled comparer\", condition.comparer);\r\n\t\t}\r\n\t};\r\n}\r\n\r\nfunction createNumberComparisonFunction(condition: NumberAnswerCondition) {\r\n\treturn function numberComparison(question: FormQuestion): boolean {\r\n\t\tif (!question) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tconst testValue = Number(condition.right);\r\n\t\tconst answerValue = Number(question.answers[0]);\r\n\r\n\t\tswitch (condition.comparer) {\r\n\t\t\tcase \"GT\":\r\n\t\t\t\treturn answerValue > testValue;\r\n\t\t\tcase \"GTEQ\":\r\n\t\t\t\treturn answerValue >= testValue;\r\n\t\t\tcase \"LT\":\r\n\t\t\t\treturn answerValue < testValue;\r\n\t\t\tcase \"LTEQ\":\r\n\t\t\t\treturn answerValue <= testValue;\r\n\t\t\tdefault:\r\n\t\t\t\tthrowExhaustiveError(\"Unhandled comparer\", condition.comparer);\r\n\t\t}\r\n\t};\r\n}\r\n\r\nfunction createAnsweredComparisonFunction(condition: AnsweredAnswerCondition) {\r\n\treturn function answeredComparison(question: FormQuestion): boolean {\r\n\t\tswitch (condition.comparer) {\r\n\t\t\tcase \"Answered\":\r\n\t\t\t\treturn question?.answers?.length > 0;\r\n\t\t\tcase \"NotAnswered\":\r\n\t\t\t\treturn !question;\r\n\t\t\tdefault:\r\n\t\t\t\tthrowExhaustiveError(\"Unhandled comparer\", condition.comparer);\r\n\t\t}\r\n\t};\r\n}\r\n\r\nfunction createSmileyComparisonFunction(condition: SmileyAnswerCondition) {\r\n\treturn function smileyComparison(question: FormQuestion): boolean {\r\n\t\tif (!question || Number(question.answers[0]) === -1) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tconst testValue = Number(condition.right);\r\n\t\tconst answerValue = Number(question.answers[0]);\r\n\r\n\t\tswitch (condition.comparer) {\r\n\t\t\tcase \"NA\":\r\n\t\t\t\treturn answerValue === -1;\r\n\t\t\tcase \"BetterThan\":\r\n\t\t\t\treturn answerValue > testValue;\r\n\t\t\tcase \"WorseThan\":\r\n\t\t\t\treturn answerValue < testValue;\r\n\t\t\tdefault:\r\n\t\t\t\tthrowExhaustiveError(\"Unhandled comparer\", condition.comparer);\r\n\t\t}\r\n\t};\r\n}\r\n\r\nfunction createTimeComparisonFunction(condition: TimeAnswerCondition) {\r\n\treturn function timeComparison(question: FormQuestion): boolean {\r\n\t\tif (!question) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tconst selectedDate = new Date(question.answers[0]);\r\n\t\tconst answered = new Date(question.answered);\r\n\t\tconst pointInPast = addHours(answered, -parseInt(condition.right));\r\n\t\tconst pointInFuture = addHours(answered, parseInt(condition.right));\r\n\r\n\t\tswitch (condition.comparer) {\r\n\t\t\tcase \"MoreThanInPast\":\r\n\t\t\t\treturn isBefore(selectedDate, pointInPast);\r\n\t\t\tcase \"LessThanInPast\":\r\n\t\t\t\treturn isAfter(selectedDate, pointInPast) && isBefore(selectedDate, answered);\r\n\t\t\tcase \"MoreThanInFuture\":\r\n\t\t\t\treturn isAfter(selectedDate, pointInFuture);\r\n\t\t\tcase \"LessThanInFuture\":\r\n\t\t\t\treturn isAfter(selectedDate, answered) && isBefore(selectedDate, pointInFuture);\r\n\t\t\tdefault:\r\n\t\t\t\tthrowExhaustiveError(\"Unhandled comparer\", condition.comparer);\r\n\t\t}\r\n\t};\r\n}\r\n","import { Observable, of } from \"rxjs\";\r\nimport { throwExhaustiveError } from \"source/app/configuration/errors/exhaustive-error\";\r\nimport { DateTimeCondition } from \"../../checklist.interface\";\r\n\r\n/**\r\n * Evaluates the current day of the week with the day specified in the condition using the provided comparer.\r\n *\r\n * The function handles the following comparers:\r\n * - \"EQ\": Returns true if the current day of the week matches the specified day.\r\n * - \"NEQ\": Returns true if the current day of the week does not match the specified day.\r\n *\r\n * @param condition The DateTimeCondition to evaluate.\r\n * @returns An Observable indicating whether the condition is true or false.\r\n * @throws When an unhandled logical comparer is encountered.\r\n */\r\nexport function evaluateDateTimeCondition(condition: DateTimeCondition): Observable {\r\n\tconst timeNow = new Date();\r\n\tconst weekday = parseInt(condition.right);\r\n\tconst currentIsoWeekday = timeNow.getDay() || 7;\r\n\r\n\tswitch (condition.comparer) {\r\n\t\tcase \"EQ\":\r\n\t\t\treturn of(weekday === currentIsoWeekday);\r\n\t\tcase \"NEQ\":\r\n\t\t\treturn of(weekday !== currentIsoWeekday);\r\n\t\tdefault:\r\n\t\t\tthrowExhaustiveError(\"Unhandled logical comparer\", condition.comparer);\r\n\t}\r\n}\r\n","import { Observable, of } from \"rxjs\";\r\nimport { throwExhaustiveError } from \"source/app/configuration/errors/exhaustive-error\";\r\nimport { containsAll, containsAny } from \"source/app/configuration/utils\";\r\nimport { PropertyCondition } from \"../../checklist.interface\";\r\n\r\n/**\r\n * Evaluates a property based on the provided comparer and test values.\r\n *\r\n * The function handles the following comparers:\r\n * - \"ContainsAny\": Returns true if any of the test values are present in the properties.\r\n * - \"NotContainsAny\": Returns true if none of the test values are present in the properties.\r\n * - \"ContainsAll\": Returns true if all of the test values are present in the properties.\r\n * - \"NotContainsAll\": Returns true if not all of the test values are present in the properties.\r\n *\r\n * @param condition The property condition to evaluate.\r\n * @param properties The array of properties to compare against the test values.\r\n * @returns An Observable indicating the result of the evaluation.\r\n * @throws When an unhandled logical comparer is encountered, an exhaustive error is thrown.\r\n *\r\n */\r\nexport function evaluatePropertyCondition(condition: PropertyCondition, properties: string[]): Observable {\r\n\tconst testValues = condition.right.split(\",\");\r\n\r\n\tswitch (condition.comparer) {\r\n\t\tcase \"ContainsAny\":\r\n\t\t\treturn of(containsAny(properties, testValues));\r\n\t\tcase \"NotContainsAny\":\r\n\t\t\treturn of(!containsAny(properties, testValues));\r\n\t\tcase \"ContainsAll\":\r\n\t\t\treturn of(containsAll(properties, testValues));\r\n\t\tcase \"NotContainsAll\":\r\n\t\t\treturn of(!containsAll(properties, testValues));\r\n\t\tdefault:\r\n\t\t\tthrowExhaustiveError(\"Unhandled logical comparer\", condition.comparer);\r\n\t}\r\n}\r\n","import { Observable, of } from \"rxjs\";\r\nimport { throwExhaustiveError } from \"source/app/configuration/errors/exhaustive-error\";\r\nimport { StateCondition } from \"../../checklist.interface\";\r\n\r\n/**\r\n * Evaluates a state condition based on the provided comparer and state value.\r\n *\r\n * The function handles the following comparers:\r\n * - \"EQ\": Checks if the state is equal to the condition's right value.\r\n * - \"NEQ\": Checks if the state is not equal to the condition's right value.\r\n *\r\n * @param condition - The StateCondition object containing the comparer and right value to compare.\r\n * @param state - The current state value to compare against.\r\n * @returns An Observable indicating the result of the evaluation.\r\n * @throws When an unhandled logical comparer is encountered, an exhaustive error is thrown.\r\n */\r\nexport function evaluateStateCondition(condition: StateCondition, state: string): Observable {\r\n\tswitch (condition.comparer) {\r\n\t\tcase \"EQ\":\r\n\t\t\treturn of(state === condition.right);\r\n\t\tcase \"NEQ\":\r\n\t\t\treturn of(state !== condition.right);\r\n\t\tdefault:\r\n\t\t\tthrowExhaustiveError(\"Unhandled logical comparer\", condition.comparer);\r\n\t}\r\n}\r\n","import { Observable, of } from \"rxjs\";\r\nimport { throwExhaustiveError } from \"source/app/configuration/errors/exhaustive-error\";\r\nimport { containsAll, containsAny } from \"source/app/configuration/utils\";\r\nimport { MembershipCondition } from \"../../checklist.interface\";\r\n\r\n/**\r\n * Evaluates memberships based on the provided comparer and test values.\r\n *\r\n * The function handles the following comparers:\r\n * - \"ContainsAny\": Returns true if any of the test values are present in the memberships.\r\n * - \"NotContainsAny\": Returns true if none of the test values are present in the memberships.\r\n * - \"ContainsAll\": Returns true if all of the test values are present in the memberships.\r\n * - \"NotContainsAll\": Returns true if not all of the test values are present in the memberships.\r\n *\r\n * @param condition - The membership condition to evaluate.\r\n * @param memberships - An array of memberships to check against the condition.\r\n * @returns An Observable indicating the result of the evaluation.\r\n * @throws When an unhandled logical comparer is encountered, an exhaustive error is thrown.\r\n */\r\nexport function evaluateMembershipCondition(\r\n\tcondition: MembershipCondition,\r\n\tmemberships: string[],\r\n): Observable {\r\n\tconst testValues = condition.right.split(\",\");\r\n\r\n\tswitch (condition.comparer) {\r\n\t\tcase \"ContainsAny\":\r\n\t\t\treturn of(containsAny(memberships, testValues));\r\n\t\tcase \"NotContainsAny\":\r\n\t\t\treturn of(!containsAny(memberships, testValues));\r\n\t\tcase \"ContainsAll\":\r\n\t\t\treturn of(containsAll(memberships, testValues));\r\n\t\tcase \"NotContainsAll\":\r\n\t\t\treturn of(!containsAll(memberships, testValues));\r\n\t\tdefault:\r\n\t\t\tthrowExhaustiveError(\"Unhandled logical comparer\", condition.comparer);\r\n\t}\r\n}\r\n","import { map, Observable } from \"rxjs\";\r\nimport { throwExhaustiveError } from \"source/app/configuration/errors/exhaustive-error\";\r\nimport { VisibilityCondition } from \"../../checklist.interface\";\r\n\r\n/**\r\n * Evaluates the visibility condition based on the provided elements' visibility status.\r\n *\r\n * The function handles the following comparers:\r\n * - \"Visible\": Returns the Observable of the element's visibility status.\r\n * - \"NotVisible\": Returns an Observable that emits the negation of the element's visibility status.\r\n *\r\n * @param condition - The visibility condition to evaluate.\r\n * @param elementsVisible - An array of objects containing element IDs and their visibility status Observables.\r\n * @returns An Observable representing the evaluation result of the visibility condition.\r\n * @throws When an unhandled logical comparer is encountered, an exhaustive error is thrown.\r\n */\r\nexport function evaluateVisibilityCondition(\r\n\tcondition: VisibilityCondition,\r\n\telementsVisible: { id: string; isVisible$: Observable }[],\r\n): Observable {\r\n\tconst elementVisible$ = elementsVisible.find((x) => x.id === condition.left)?.isVisible$;\r\n\r\n\tswitch (condition.comparer) {\r\n\t\tcase \"Visible\":\r\n\t\t\treturn elementVisible$;\r\n\t\tcase \"NotVisible\":\r\n\t\t\treturn elementVisible$.pipe(map((visible) => !visible));\r\n\t\tdefault:\r\n\t\t\tthrowExhaustiveError(\"Unhandled logical comparer\", condition.comparer);\r\n\t}\r\n}\r\n","\r\n\t\r\n\t\t\r\n\t\t\t{{ activePage.name }}\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\r\n\t\t\t
    \r\n\t\t\t\t\r\n\t\t\t\t\t{{ \"CHECKLISTS__QUESTIONS__BUTTONS__SUBMIT\" | transloco }}\r\n\t\t\t\t\r\n\t\t\t
    \r\n\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t
    \r\n\t
    \r\n
    \r\n","import { Component, OnInit } from \"@angular/core\";\r\nimport { AlertController, ModalController } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { LoadingService } from \"../../../configuration/services/loading.service\";\r\nimport { ChecklistProgressStateQuery } from \"../state/checklist-progress-state.query\";\r\nimport { ChecklistProgressStateService } from \"../state/checklist-progress-state.service\";\r\nimport { FileUploadsModalService } from \"source/app/modals/file-uploads/file-uploads-modal-service\";\r\nimport { FormControl, FormGroup, FormRecord, Validators } from \"@angular/forms\";\r\nimport { BehaviorSubject, Observable, combineLatest, defer, map, of, startWith } from \"rxjs\";\r\nimport {\r\n\tAssignmentWithData,\r\n\tChecklist,\r\n\tFormAnswerGroup,\r\n\tFormQuestion,\r\n\tImageAttachment,\r\n\tPageElement,\r\n\tQuestion,\r\n\tRequirementTrigger,\r\n\tResponse,\r\n} from \"../checklist.interface\";\r\nimport { ChecklistService } from \"source/app/features/checklists/services/checklist.service\";\r\nimport { LogicProperties, LogicService } from \"../services/logic.service\";\r\nimport { UntilDestroy, untilDestroyed } from \"@ngneat/until-destroy\";\r\n\r\n@Component({\r\n\tselector: \"app-checklist-modal\",\r\n\ttemplateUrl: \"./checklist-modal.component.html\",\r\n\tstyleUrls: [\"./checklist-modal.component.scss\"],\r\n})\r\n@UntilDestroy()\r\nexport class ChecklistModalComponent implements OnInit {\r\n\tpublic static returnCodes = {\r\n\t\tsubmitted: \"Submitted\",\r\n\t};\r\n\r\n\tconstructor(\r\n\t\tprivate checklistProgressQuery: ChecklistProgressStateQuery,\r\n\t\tprivate checklistProgressService: ChecklistProgressStateService,\r\n\t\tprivate loadingService: LoadingService,\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate alertController: AlertController,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t\tprivate FileUploadsModalService: FileUploadsModalService,\r\n\t\tprivate checklistService: ChecklistService,\r\n\t\tprivate logicService: LogicService,\r\n\t) {}\r\n\r\n\tactivePage: ChecklistPageWithVisibility;\r\n\tvisiblePages$: Observable;\r\n\tactivePageId$ = new BehaviorSubject(\"\");\r\n\tisFirstPage = true;\r\n\tisLastPage = true;\r\n\r\n\tform: FormRecord>;\r\n\tready = false;\r\n\tprivate submitting = false;\r\n\r\n\tcancel = async () => {\r\n\t\tawait this.modalController.dismiss();\r\n\t};\r\n\r\n\tsubmit = async () => {\r\n\t\tif (this.submitting) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.submitting = true;\r\n\t\t//we need to know if there are any images, and if they are uploaded\r\n\t\tconst imagesThatCantBeTranslated = await this.checklistService.imagesThatCantbeTranslated(this.form);\r\n\r\n\t\tif (imagesThatCantBeTranslated.length > 0) {\r\n\t\t\tconst modal = await this.FileUploadsModalService.create(imagesThatCantBeTranslated);\r\n\r\n\t\t\tawait modal.present();\r\n\t\t\tawait modal.onDidDismiss();\r\n\t\t\tconst newImagesThatCantBeTranslated = await this.checklistService.imagesThatCantbeTranslated(this.form);\r\n\t\t\tif (newImagesThatCantBeTranslated.length > 0) {\r\n\t\t\t\t//images stll in queu, user can click submit again later\r\n\t\t\t\tthis.submitting = false;\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tconst loading = await this.loadingService.createLoader();\r\n\t\tloading.present();\r\n\t\ttry {\r\n\t\t\tconst checklistSubmitDelayMessage = setTimeout(() => {\r\n\t\t\t\tloading.message = this.translocoService.translate(\"CHECKLIST_SUBMIT_SUBMIT__TIME_DELAY\");\r\n\t\t\t}, 7500);\r\n\r\n\t\t\tconst checklist = await this.checklistProgressQuery.checklist$.firstAsync();\r\n\t\t\tconst visiblePages = await this.visiblePages$.firstAsync();\r\n\r\n\t\t\tawait this.checklistService.submit(checklist, this.form, visiblePages);\r\n\t\t\tclearTimeout(checklistSubmitDelayMessage);\r\n\r\n\t\t\tawait this.modalController.dismiss(ChecklistModalComponent.returnCodes.submitted);\r\n\t\t\tloading.dismiss();\r\n\t\t} catch (_error) {\r\n\t\t\tloading.dismiss();\r\n\r\n\t\t\tconst alert = await this.alertController.create({\r\n\t\t\t\theader: this.translocoService.translate(\"CHECKLIST_SUBMIT_ERROR__HEADER\"),\r\n\t\t\t\tsubHeader: this.translocoService.translate(\"CHECKLIST_SUBMIT_ERROR__SUB_HEADER\"),\r\n\t\t\t\tmessage: this.translocoService.translate(\"CHECKLIST_SUBMIT_ERROR__MESSAGE\"),\r\n\t\t\t\tbuttons: [this.translocoService.translate(\"CHECKLIST_SUBMIT_ERROR__OK\")],\r\n\t\t\t});\r\n\t\t\tawait alert.present();\r\n\r\n\t\t\tthis.submitting = false;\r\n\t\t}\r\n\t};\r\n\r\n\tnextPage = async () => {\r\n\t\tconst visiblePages = await this.visiblePages$.firstAsync();\r\n\t\tconst currentIndex = visiblePages.findIndex((page) => page.id === this.activePage.id);\r\n\r\n\t\tif (currentIndex < visiblePages.length - 1) {\r\n\t\t\tthis.activePageId$.next(visiblePages[currentIndex + 1].id);\r\n\t\t}\r\n\t};\r\n\r\n\tpreviousPage = async () => {\r\n\t\tconst visiblePages = await this.visiblePages$.firstAsync();\r\n\t\tconst currentIndex = visiblePages.findIndex((page) => page.id === this.activePage.id);\r\n\r\n\t\tif (currentIndex > 0) {\r\n\t\t\tthis.activePageId$.next(visiblePages[currentIndex - 1].id);\r\n\t\t}\r\n\t};\r\n\r\n\tgoToPage = async (pageId: string) => {\r\n\t\tconst visiblePages = await this.visiblePages$.firstAsync();\r\n\t\tconst index = visiblePages.findIndex((page) => page.id === pageId);\r\n\r\n\t\tif (index > -1) {\r\n\t\t\tthis.activePageId$.next(pageId);\r\n\t\t}\r\n\t};\r\n\r\n\tprivate createForm = async (checklist: Checklist): Promise>> => {\r\n\t\tconst checklistForm = new FormRecord>({});\r\n\r\n\t\tchecklist.pages.forEach((page) => {\r\n\t\t\tpage.elements.forEach((element) => {\r\n\t\t\t\tif (element.stereotype !== \"Question\") {\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tconst formGroup = this.createFormGroup();\r\n\t\t\t\tif (page.logic != null || element.logic != null) {\r\n\t\t\t\t\t//If Logic is defined, the question is not available, until logic triggers the question\r\n\t\t\t\t\tformGroup.disable();\r\n\t\t\t\t}\r\n\r\n\t\t\t\tchecklistForm.addControl(element.id, formGroup);\r\n\t\t\t});\r\n\t\t});\r\n\r\n\t\treturn checklistForm;\r\n\t};\r\n\r\n\tprivate createFormGroup = (): FormGroup => {\r\n\t\treturn new FormGroup({\r\n\t\t\tquestion: new FormControl({ disabled: false, value: undefined }, [Validators.required]),\r\n\t\t\tcomment: new FormControl({ value: \"\", disabled: false }),\r\n\t\t\tattachments: new FormControl({ value: [], disabled: false }),\r\n\t\t\tassignments: new FormControl({ value: [], disabled: false }),\r\n\t\t});\r\n\t};\r\n\r\n\tprivate getFormValue = (resultValues: Response[], checklist: Checklist): Record => {\r\n\t\tconst elements = checklist.pages.flatMap((page) => page.elements);\r\n\t\tconst elementIds = elements.map((element) => element.id);\r\n\r\n\t\tconst record: Record = {};\r\n\r\n\t\tresultValues.forEach((response) => {\r\n\t\t\t// we filter out elements, that are no longer included in the checklist\r\n\t\t\tif (elementIds.includes(response.question) == false) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tconst {\r\n\t\t\t\tanswers,\r\n\t\t\t\tanswered,\r\n\t\t\t\tposition,\r\n\t\t\t\tuser,\r\n\t\t\t\tquestion: key,\r\n\t\t\t\tcomment,\r\n\t\t\t\timageAttachments: attachments,\r\n\t\t\t\tassignments: assignments = [],\r\n\t\t\t} = response;\r\n\r\n\t\t\tconst question: FormQuestion = {\r\n\t\t\t\tanswers,\r\n\t\t\t\tanswered,\r\n\t\t\t\tposition,\r\n\t\t\t\tuser,\r\n\t\t\t\tadHocScheduleSlots: [],\r\n\t\t\t};\r\n\r\n\t\t\trecord[key] = {\r\n\t\t\t\tquestion,\r\n\t\t\t\tcomment,\r\n\t\t\t\tattachments,\r\n\t\t\t\tassignments: assignments.map((x) => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tassignment: x,\r\n\t\t\t\t\t\tsolution: x.solution,\r\n\t\t\t\t\t\ttriggeredBy: this.checklistService.getAssignmentTrigger(elements, x),\r\n\t\t\t\t\t};\r\n\t\t\t\t}),\r\n\t\t\t};\r\n\t\t});\r\n\r\n\t\treturn record;\r\n\t};\r\n\r\n\tprivate initializeChecklistLogic = (checklist: Checklist, logicProperties: LogicProperties) => {\r\n\t\tconst elementsVisible: { id: string; isVisible$: Observable }[] = [];\r\n\t\tconst pages: ChecklistPageWithVisibility[] = checklist.pages.map((page) => {\r\n\t\t\tconst isPageVisible$: Observable = this.logicService.evaluatePageLogic(\r\n\t\t\t\tpage,\r\n\t\t\t\tlogicProperties,\r\n\t\t\t\telementsVisible,\r\n\t\t\t\tthis.form,\r\n\t\t\t);\r\n\r\n\t\t\tconst elements: CheklistPageElementWithVisibility[] = page.elements.map((element) => {\r\n\t\t\t\tconst isElementVisible$: Observable = this.logicService.evaluateElementLogic(\r\n\t\t\t\t\tisPageVisible$,\r\n\t\t\t\t\telement,\r\n\t\t\t\t\tlogicProperties,\r\n\t\t\t\t\telementsVisible,\r\n\t\t\t\t\tthis.form,\r\n\t\t\t\t);\r\n\r\n\t\t\t\telementsVisible.push({ id: element.id, isVisible$: isElementVisible$ });\r\n\r\n\t\t\t\t//This is to keep the observeables hot until we exit the checklist\r\n\t\t\t\tisElementVisible$.pipe(untilDestroyed(this)).subscribe();\r\n\r\n\t\t\t\tif (element.stereotype === \"Question\") {\r\n\t\t\t\t\tconst questionElement = element as Question;\r\n\t\t\t\t\tconst requirementTriggers: RequirementTrigger[] = questionElement.triggers.filter(\r\n\t\t\t\t\t\t(trigger) => trigger.type === \"RequirementTrigger\",\r\n\t\t\t\t\t) as RequirementTrigger[];\r\n\r\n\t\t\t\t\tif (requirementTriggers.length > 0) {\r\n\t\t\t\t\t\tconst requirementObserveable$ = this.logicService.evaluateRequirementTriggerLogic(\r\n\t\t\t\t\t\t\telement.id,\r\n\t\t\t\t\t\t\trequirementTriggers,\r\n\t\t\t\t\t\t\tthis.form,\r\n\t\t\t\t\t\t);\r\n\r\n\t\t\t\t\t\trequirementObserveable$.pipe(untilDestroyed(this)).subscribe();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn {\r\n\t\t\t\t\tisVisible$: combineLatest([isPageVisible$, isElementVisible$]).pipe(\r\n\t\t\t\t\t\tmap(([isPageVisible, isElementVisible]) => isPageVisible && isElementVisible),\r\n\t\t\t\t\t),\r\n\t\t\t\t\telement: element,\r\n\t\t\t\t};\r\n\t\t\t});\r\n\r\n\t\t\tconst questionElementIds = page.elements\r\n\t\t\t\t.filter((element) => element.stereotype == \"Question\")\r\n\t\t\t\t.map((element) => element.id);\r\n\r\n\t\t\tconst questions = questionElementIds.map(\r\n\t\t\t\t(elementId) => >defer(() =>\r\n\t\t\t\t\t\tthis.form.get(elementId).statusChanges.pipe(\r\n\t\t\t\t\t\t\tstartWith(this.form.get(elementId).status),\r\n\t\t\t\t\t\t\tmap((status) => status === \"VALID\" || status === \"DISABLED\"),\r\n\t\t\t\t\t\t),\r\n\t\t\t\t\t),\r\n\t\t\t);\r\n\r\n\t\t\tconst isCompleted$ =\r\n\t\t\t\tquestionElementIds.length == 0\r\n\t\t\t\t\t? of(true)\r\n\t\t\t\t\t: combineLatest(questions).pipe(map((values) => values.every((value) => value)));\r\n\r\n\t\t\treturn {\r\n\t\t\t\t...page,\r\n\t\t\t\tname: page.translatedName,\r\n\t\t\t\tisCompleted$,\r\n\t\t\t\tisVisible$: isPageVisible$,\r\n\t\t\t\telements,\r\n\t\t\t};\r\n\t\t});\r\n\r\n\t\tthis.visiblePages$ = combineLatest(\r\n\t\t\tpages.map((page) => page.isVisible$.pipe(map((visible) => ({ page, visible })))),\r\n\t\t).pipe(map((results) => results.filter((result) => result.visible).map((result) => result.page)));\r\n\t};\r\n\r\n\tprivate saveFormOnChanges = () => {\r\n\t\tthis.form.valueChanges.pipe(untilDestroyed(this)).subscribe((values) => {\r\n\t\t\tconst responses: Response[] = Object.entries(values)\r\n\t\t\t\t.filter(([key, _value]) => this.form.controls[key].valid && this.form.controls[key].enabled)\r\n\t\t\t\t.map(([key, value]) => ({\r\n\t\t\t\t\tanswers: value.question.answers,\r\n\t\t\t\t\tanswered: value.question.answered,\r\n\t\t\t\t\tposition: value.question.position,\r\n\t\t\t\t\tuser: value.question.user,\r\n\t\t\t\t\tquestion: key,\r\n\t\t\t\t\tcomment: value.comment,\r\n\t\t\t\t\timageAttachments: value.attachments,\r\n\t\t\t\t\tadHocScheduleSlots: value.question.adHocScheduleSlots,\r\n\t\t\t\t\tassignments: value.assignments.map((x) => {\r\n\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\t...x.assignment,\r\n\t\t\t\t\t\t\tsolution: x.solution,\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t}),\r\n\t\t\t\t}));\r\n\r\n\t\t\tthis.checklistProgressService.setResponses(responses);\r\n\t\t});\r\n\t};\r\n\r\n\tasync ngOnInit(): Promise {\r\n\t\tconst checklist = await this.checklistProgressQuery.checklist$.firstAsync();\r\n\t\tconst resultValues = await this.checklistProgressQuery.responses$.firstAsync();\r\n\t\tconst logicProperties = await this.logicService.getLogicProperties(checklist);\r\n\r\n\t\tthis.form = await this.createForm(checklist);\r\n\t\tconst formValue = this.getFormValue(resultValues, checklist);\r\n\t\tthis.form.patchValue(formValue);\r\n\r\n\t\t// We dont currently support language switching, so we use the checklist default language\r\n\t\tthis.checklistService.translateChecklist(checklist, checklist.language);\r\n\t\tthis.checklistService.parseDocumentation(checklist);\r\n\t\tthis.initializeChecklistLogic(checklist, logicProperties);\r\n\t\tthis.saveFormOnChanges();\r\n\r\n\t\tcombineLatest([this.activePageId$, this.visiblePages$])\r\n\t\t\t.pipe(untilDestroyed(this))\r\n\t\t\t.subscribe(([activePageId, visiblePages]) => {\r\n\t\t\t\tconst currentPageId = activePageId || visiblePages[0].id;\r\n\t\t\t\tthis.activePage = visiblePages.find((page) => page.id === currentPageId);\r\n\t\t\t\tthis.isFirstPage = visiblePages[0].id === currentPageId;\r\n\t\t\t\tthis.isLastPage = visiblePages[visiblePages.length - 1].id === currentPageId;\r\n\t\t\t});\r\n\r\n\t\tthis.ready = true;\r\n\t}\r\n}\r\n\r\nexport type FormResponse = Partial<{\r\n\tquestion: FormQuestion;\r\n\tcomment: string;\r\n\tattachments: ImageAttachment[];\r\n\tassignments: AssignmentWithData[];\r\n}>;\r\n\r\nexport interface ChecklistPageWithVisibility {\r\n\tid: string;\r\n\tname: string;\r\n\tisVisible$: Observable;\r\n\tisCompleted$: Observable;\r\n\telements: CheklistPageElementWithVisibility[];\r\n}\r\n\r\nexport interface CheklistPageElementWithVisibility {\r\n\tisVisible$: Observable;\r\n\telement: PageElement;\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { ChecklistProgressStateService } from \"../state/checklist-progress-state.service\";\r\nimport { ChecklistModalComponent } from \"./checklist-modal.component\";\r\nimport { ApiService } from \"source/app/configuration/services/api.service\";\r\nimport { UnsupportedQuestionsService } from \"../services/unsupported-questions.service\";\r\nimport { UnsupportedElementsCheckResult } from \"../services/unsupported-questions.service\";\r\nimport { LocationActivity } from \"../checklist.interface\";\r\n\r\n@Injectable()\r\nexport class ChecklistModalService {\r\n\tconstructor(\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate unsupportedQuestionsService: UnsupportedQuestionsService,\r\n\t\tprivate checklistProgressService: ChecklistProgressStateService,\r\n\t\tprivate apiService: ApiService,\r\n\t) {}\r\n\r\n\tasync show(activity: LocationActivity): Promise {\r\n\t\tconst checklist = await this.apiService.getChecklist(activity);\r\n\r\n\t\tconst unsupportedQuestionsCheckResult =\r\n\t\t\tawait this.unsupportedQuestionsService.checkForUnsupportedQuestions(checklist);\r\n\r\n\t\tif (unsupportedQuestionsCheckResult !== UnsupportedElementsCheckResult.Continue) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tawait this.checklistProgressService.setActiveChecklist(checklist, activity);\r\n\r\n\t\tconst modal = await this.modalController.create({\r\n\t\t\tcssClass: \"checklist-modal\",\r\n\t\t\tcomponent: ChecklistModalComponent,\r\n\t\t});\r\n\r\n\t\tawait modal.present();\r\n\t\tconst result = await modal.onDidDismiss();\r\n\r\n\t\treturn result.data === ChecklistModalComponent.returnCodes.submitted;\r\n\t}\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { Checklist, Question } from \"../checklist.interface\";\r\nimport { ElementType } from \"../checklist.models\";\r\nimport { AlertController } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { UpdateService } from \"source/app/configuration/services/update.service\";\r\n\r\n@Injectable()\r\nexport class UnsupportedQuestionsService {\r\n\tstatic supportedElements = Object.values(ElementType);\r\n\tstatic unsupportedAnswerValue = \"_NOT_SUPPORTED_\";\r\n\r\n\tconstructor(\r\n\t\tprivate alertController: AlertController,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t\tprivate updateService: UpdateService,\r\n\t) {}\r\n\r\n\tcheckForUnsupportedQuestions = async (checklist: Checklist): Promise => {\r\n\t\tconst unsupportedQuestions = this.getUnsupportedQuestions(checklist);\r\n\r\n\t\tif (unsupportedQuestions.length === 0) {\r\n\t\t\treturn UnsupportedElementsCheckResult.Continue;\r\n\t\t}\r\n\r\n\t\tconst pendingUpdate = await this.updateService.checkForUpdate();\r\n\r\n\t\tif (pendingUpdate) {\r\n\t\t\tthis.showUpdateRequired();\r\n\t\t\treturn UnsupportedElementsCheckResult.Cancel;\r\n\t\t}\r\n\r\n\t\tconst continueDespiteUnsupportedElements = await this.alertUnsupportedQuestions(\r\n\t\t\tchecklist,\r\n\t\t\tunsupportedQuestions,\r\n\t\t);\r\n\r\n\t\treturn continueDespiteUnsupportedElements\r\n\t\t\t? UnsupportedElementsCheckResult.Continue\r\n\t\t\t: UnsupportedElementsCheckResult.Cancel;\r\n\t};\r\n\r\n\tisElementSupported = (element: ElementType) => UnsupportedQuestionsService.supportedElements.includes(element);\r\n\r\n\tprivate showUpdateRequired = async () => {\r\n\t\t//The update service itself, might already be showing an alert to update\r\n\t\tconst alertElement = await this.alertController.getTop();\r\n\t\tif (alertElement?.id === UpdateService.updateAlertId) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst alert = await this.alertController.create({\r\n\t\t\theader: this.translocoService.translate(\"CHECKLIST_UNSUPPORTED_QUESTIONS_UPDATE_AVAILABLE_HEADER\"),\r\n\t\t\tmessage: this.translocoService.translate(\"CHECKLIST_UNSUPPORTED_QUESTIONS_UPDATE_AVAILABLE_MESSAGE\"),\r\n\t\t\tbuttons: [this.translocoService.translate(\"CHECKLIST_UNSUPPORTED_QUESTIONS_UPDATE_AVAILABLE_OK\")],\r\n\t\t});\r\n\r\n\t\talert.onDidDismiss().then(() => document.location.reload());\r\n\r\n\t\tawait alert.present();\r\n\t};\r\n\r\n\tprivate alertUnsupportedQuestions = async (checklist: Checklist, questions: Question[]): Promise => {\r\n\t\tconst alert = await this.alertController.create({\r\n\t\t\theader: this.translocoService.translate(\"CHECKLIST_UNSUPPORTED_QUESTIONS_HEADER\"),\r\n\t\t\tmessage: this.translocoService.translate(\"CHECKLIST_UNSUPPORTED_QUESTIONS_MESSAGE\", {\r\n\t\t\t\tchecklist: checklist.name[checklist.language],\r\n\t\t\t\tquestions: questions.map((q) => q.text[checklist.language]).join(\", \"),\r\n\t\t\t}),\r\n\t\t\tbuttons: [\r\n\t\t\t\t{\r\n\t\t\t\t\ttext: this.translocoService.translate(\"CHECKLIST_UNSUPPORTED_QUESTIONS_CANCEL\"),\r\n\t\t\t\t\trole: \"cancel\",\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\ttext: this.translocoService.translate(\"CHECKLIST_UNSUPPORTED_QUESTIONS_CONTINUE\"),\r\n\t\t\t\t\trole: \"continue\",\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t\tbackdropDismiss: false,\r\n\t\t});\r\n\r\n\t\tawait alert.present();\r\n\t\tconst response = await alert.onDidDismiss();\r\n\r\n\t\treturn response.role === \"continue\";\r\n\t};\r\n\r\n\tprivate getUnsupportedQuestions = (checklist: Checklist) => {\r\n\t\treturn checklist.pages\r\n\t\t\t.flatMap((page) => page.elements)\r\n\t\t\t.filter(\r\n\t\t\t\t(element) => element.stereotype === \"Question\" && this.isElementSupported(element.type) === false,\r\n\t\t\t) as Question[];\r\n\t};\r\n}\r\n\r\nexport enum UnsupportedElementsCheckResult {\r\n\tContinue,\r\n\tCancel,\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { select } from \"@ngneat/elf\";\r\n\r\nimport { ChecklistProgressStateStore } from \"./checklist-progress-state.store\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class ChecklistProgressStateQuery {\r\n\tconstructor(private checklistProgressStateStore: ChecklistProgressStateStore) {}\r\n\r\n\tchecklist$ = this.checklistProgressStateStore.store.pipe(select((state) => state.checklist));\r\n\tresponses$ = this.checklistProgressStateStore.store.pipe(select((state) => state.responses));\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ChecklistProgressStateStore } from \"./checklist-progress-state.store\";\r\nimport { Checklist, LocationActivity, Response } from \"../checklist.interface\";\r\nimport { UnsupportedQuestionsService } from \"../services/unsupported-questions.service\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class ChecklistProgressStateService {\r\n\tconstructor(\r\n\t\tprivate checklistProgressStateStore: ChecklistProgressStateStore,\r\n\t\tprivate unsupportedQuestionsService: UnsupportedQuestionsService,\r\n\t) {}\r\n\r\n\tclearProgress = () => {\r\n\t\tthis.checklistProgressStateStore.store.reset();\r\n\t};\r\n\r\n\tsetActiveChecklist = async (checklist: Checklist, activity: LocationActivity) => {\r\n\t\tthis.checklistProgressStateStore.store.update((state) => {\r\n\t\t\tconst newChecklist = state.checklist?.id !== checklist.id;\r\n\t\t\tchecklist.started ??= new Date().toISOString();\r\n\t\t\tchecklist.activity = activity;\r\n\r\n\t\t\tconst responses = newChecklist ? [] : this.clearResponsesSetAsUnsupported(checklist, state.responses);\r\n\r\n\t\t\treturn {\r\n\t\t\t\tchecklist: checklist,\r\n\t\t\t\tcurrentPageIndex: newChecklist ? 0 : state.currentPageIndex,\r\n\t\t\t\tresponses: responses,\r\n\t\t\t};\r\n\t\t});\r\n\t};\r\n\r\n\tprivate clearResponsesSetAsUnsupported = (checklist: Checklist, responses: Response[]): Response[] => {\r\n\t\tconst responsesSetAsNotSupported = responses.filter(\r\n\t\t\t(response) =>\r\n\t\t\t\tresponse.answers.length == 1 &&\r\n\t\t\t\tresponse.answers[0] === UnsupportedQuestionsService.unsupportedAnswerValue,\r\n\t\t);\r\n\r\n\t\tif (responsesSetAsNotSupported.length === 0) {\r\n\t\t\treturn responses;\r\n\t\t}\r\n\t\t// Flatten all checklist elements\r\n\t\tconst checklistElements = checklist.pages.flatMap((page) => page.elements);\r\n\r\n\t\t// Find question IDs that are now supported\r\n\t\tconst nowSupportedQuestionIds = responsesSetAsNotSupported\r\n\t\t\t.filter((notSupportedResponse) => {\r\n\t\t\t\tconst element = checklistElements.find((element) => element.id === notSupportedResponse.question);\r\n\t\t\t\treturn this.unsupportedQuestionsService.isElementSupported(element?.type);\r\n\t\t\t})\r\n\t\t\t.map((response) => response.question);\r\n\r\n\t\t// Return updated responses without unsupported questions\r\n\t\treturn responses.filter((x) => nowSupportedQuestionIds.includes(x.question) === false);\r\n\t};\r\n\r\n\tsetResponses = (responses: Response[]) => {\r\n\t\tthis.checklistProgressStateStore.store.update((state) => {\r\n\t\t\treturn { ...state, responses: responses };\r\n\t\t});\r\n\t};\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { createStore, withProps } from \"@ngneat/elf\";\r\nimport { Checklist, Response } from \"../checklist.interface\";\r\nimport { localStorageStrategy, persistState } from \"@ngneat/elf-persist-state\";\r\nimport { debounceTime } from \"rxjs\";\r\n\r\nexport function createInitialState(): ChecklistProgressState {\r\n\treturn {\r\n\t\tchecklist: undefined,\r\n\t\tcurrentPageIndex: 0,\r\n\t\tresponses: [],\r\n\t};\r\n}\r\n\r\nconst checklistProgressStateStore = createStore(\r\n\t{ name: \"checklist-progress-state\" },\r\n\twithProps(createInitialState()),\r\n);\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class ChecklistProgressStateStore {\r\n\tconstructor() {\r\n\t\tpersistState(checklistProgressStateStore, {\r\n\t\t\tstorage: localStorageStrategy,\r\n\t\t\tsource: () => checklistProgressStateStore.pipe(debounceTime(1000)),\r\n\t\t});\r\n\t}\r\n\r\n\tpublic store = checklistProgressStateStore;\r\n\r\n\treset = () => checklistProgressStateStore.reset();\r\n}\r\n\r\nexport interface ChecklistProgressState {\r\n\tchecklist: Checklist;\r\n\tcurrentPageIndex: number;\r\n\tresponses: Response[];\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ChecklistStateStore } from \"./checklist-state.store\";\r\nimport { select } from \"@ngneat/elf\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class ChecklistStateQuery {\r\n\tconstructor(private checklistStateStore: ChecklistStateStore) {}\r\n\r\n\tpreopeningChecklistSubmitted$ = this.checklistStateStore.store.pipe(\r\n\t\tselect((state) => state.preopeningChecklistSubmitted),\r\n\t);\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ChecklistStateStore } from \"./checklist-state.store\";\r\nimport { ChecklistStateQuery } from \"./checklist-state.query\";\r\nimport { addMinutes, isAfter } from \"date-fns\";\r\nimport { combineLatest, filter, interval } from \"rxjs\";\r\nimport { RaygunService } from \"source/app/configuration/services/raygun.service\";\r\nimport { LocationStateQuery } from \"source/app/configuration/state/location-state.query\";\r\nimport { IsClearedForOperationDetails } from \"source/app/configuration/state/location-state.store\";\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class ChecklistStateService {\r\n\tconstructor(\r\n\t\tprivate checklistStateStore: ChecklistStateStore,\r\n\t\tprivate checklistStateQuery: ChecklistStateQuery,\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate raygunService: RaygunService,\r\n\t) {\r\n\t\tthis.activate();\r\n\t}\r\n\r\n\tsetPreopeningChecklistSubmitted = (resultId: string) => {\r\n\t\tthis.checklistStateStore.store.update(() => ({\r\n\t\t\tpreopeningChecklistSubmitted: { result: resultId, submitted: new Date().toISOString() },\r\n\t\t}));\r\n\t};\r\n\r\n\tclearPreopeningChecklistSubmitted = () => {\r\n\t\tthis.checklistStateStore.store.update(() => ({ preopeningChecklistSubmitted: null }));\r\n\t};\r\n\r\n\tprivate shouldClearPreopeningChecklistSubmittedOn = (details: IsClearedForOperationDetails) => {\r\n\t\tconst noPreopeningCheclistConfigured = details.preopeningChecklists.length === 0;\r\n\t\tif (noPreopeningCheclistConfigured) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\r\n\t\t// As we currently only support 1 preopening checklist, we just work with the first for now.\r\n\t\tconst isFirstPreopeningChecklistCompleted = details.preopeningChecklists[0].completed != null;\r\n\t\treturn isFirstPreopeningChecklistCompleted;\r\n\t};\r\n\r\n\tprivate activate = () => {\r\n\t\tconst maxAgeMinutes = 5;\r\n\r\n\t\tthis.locationStateQuery.isClearedForOperationDetails$.subscribe((isClearedForOperationDetails) => {\r\n\t\t\tif (this.shouldClearPreopeningChecklistSubmittedOn(isClearedForOperationDetails)) {\r\n\t\t\t\t// Clear the local submitted date, as we from this point on, should only rely on the server information\r\n\t\t\t\tthis.clearPreopeningChecklistSubmitted();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tcombineLatest([\r\n\t\t\tthis.checklistStateQuery.preopeningChecklistSubmitted$,\r\n\t\t\tthis.locationStateQuery.lastServerUpdate$,\r\n\t\t\tinterval(5000),\r\n\t\t])\r\n\t\t\t.pipe(filter(([preopeningChecklist]) => preopeningChecklist !== null))\r\n\t\t\t.subscribe(([preopeningChecklist, lastServerUpdate]) => {\r\n\t\t\t\tconst validUntil = addMinutes(preopeningChecklist.submitted, maxAgeMinutes);\r\n\r\n\t\t\t\tif (isAfter(lastServerUpdate, validUntil)) {\r\n\t\t\t\t\t//The Result should be included in the location status by now\r\n\t\t\t\t\t//we remove it from submitted, and log it to RayGun\r\n\t\t\t\t\tthis.raygunService.send(new Error(`Result is not completed after ${maxAgeMinutes} minutes`), {\r\n\t\t\t\t\t\tresultId: preopeningChecklist.result,\r\n\t\t\t\t\t\tsubmitted: preopeningChecklist.submitted,\r\n\t\t\t\t\t\tlastServerUpdate,\r\n\t\t\t\t\t});\r\n\t\t\t\t\tthis.clearPreopeningChecklistSubmitted();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t};\r\n}\r\n","import { addMilliseconds } from \"./addMilliseconds.mjs\";\nimport { millisecondsInMinute } from \"./constants.mjs\";\n\n/**\n * @name addMinutes\n * @category Minute Helpers\n * @summary Add the specified number of minutes to the given date.\n *\n * @description\n * Add the specified number of minutes to the given date.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The date to be changed\n * @param amount - The amount of minutes to be added.\n *\n * @returns The new date with the minutes added\n *\n * @example\n * // Add 30 minutes to 10 July 2014 12:00:00:\n * const result = addMinutes(new Date(2014, 6, 10, 12, 0), 30)\n * //=> Thu Jul 10 2014 12:30:00\n */\nexport function addMinutes(date, amount) {\n return addMilliseconds(date, amount * millisecondsInMinute);\n}\n\n// Fallback for modularized imports:\nexport default addMinutes;\n","import { Injectable } from \"@angular/core\";\r\nimport { createStore, withProps } from \"@ngneat/elf\";\r\nimport { localStorageStrategy, persistState } from \"@ngneat/elf-persist-state\";\r\nimport { debounceTime } from \"rxjs\";\r\n\r\nexport function createInitialState(): ChecklistState {\r\n\treturn {\r\n\t\tpreopeningChecklistSubmitted: null,\r\n\t};\r\n}\r\nconst checklistStateStore = createStore({ name: \"checklist-state\" }, withProps(createInitialState()));\r\n\r\n@Injectable({ providedIn: \"root\" })\r\nexport class ChecklistStateStore {\r\n\tconstructor() {\r\n\t\tpersistState(checklistStateStore, {\r\n\t\t\tstorage: localStorageStrategy,\r\n\t\t\tsource: () => checklistStateStore.pipe(debounceTime(1000)),\r\n\t\t});\r\n\t}\r\n\r\n\tpublic store = checklistStateStore;\r\n\r\n\treset = () => {\r\n\t\tchecklistStateStore.reset();\r\n\t};\r\n}\r\n\r\nexport interface ChecklistState {\r\n\tpreopeningChecklistSubmitted: { result: string; submitted: string };\r\n}\r\n","import { Component } from \"@angular/core\";\r\nimport { PopoverController } from \"@ionic/angular\";\r\nimport { UiService } from \"../../../configuration/state/ui.service\";\r\n\r\n@Component({\r\n\tselector: \"app-queue-widget-settings\",\r\n\ttemplate: `\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t{{ \"WIDGET__HIDE_FROM_DASHBOARD\" | transloco }}\r\n\t\t\t\r\n\t\t\r\n\t`,\r\n})\r\nexport class QueueWidgetSettingsComponent {\r\n\tconstructor(\r\n\t\tprivate popoverController: PopoverController,\r\n\t\tprivate uiService: UiService,\r\n\t) {}\r\n\r\n\thide = () => {\r\n\t\tthis.uiService.setQueueTimeVisible(false);\r\n\t\tthis.popoverController.dismiss();\r\n\t};\r\n}\r\n","\r\n\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t
    \r\n\t\t
    \r\n\t
    \r\n\r\n\t\r\n\t\t
    \r\n\t\t\t\r\n\r\n\t\t\t\r\n\t\t\t\t{{ \"WIDGET__SET_QUEUE_TIME\" | transloco }}\r\n\t\t\t\r\n\r\n\t\t\t
    \r\n\t\t\t\t
    0\">\r\n\t\t\t\t\t
    {{ queueTimeSpan.hours }}
    \r\n\t\t\t\t\t
    {{ \"WIDGET__HOURS\" | transloco }}
    \r\n\t\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\t
    {{ queueTimeSpan.minutes }}
    \r\n\t\t\t\t\t
    {{ \"WIDGET__MINUTES\" | transloco }}
    \r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t
    \r\n\t
    \r\n\r\n","import { Component } from \"@angular/core\";\r\nimport { PopoverController } from \"@ionic/angular\";\r\nimport { UntilDestroy, untilDestroyed } from \"@ngneat/until-destroy\";\r\nimport { combineLatest, interval } from \"rxjs\";\r\nimport { map, startWith, tap } from \"rxjs/operators\";\r\nimport { UtilityService } from \"source/app/configuration/services/utility.service\";\r\nimport { UiQuery } from \"source/app/configuration/state/ui.query\";\r\nimport { TimeSpanModel } from \"source/app/models/time-span.model\";\r\nimport { ActionsService } from \"../../../configuration/state/actions.service\";\r\nimport { LocationStateQuery } from \"../../../configuration/state/location-state.query\";\r\nimport { QueueWidgetSettingsComponent } from \"./queue-widget-settings.component\";\r\n\r\n@UntilDestroy()\r\n@Component({\r\n\tselector: \"app-queue-widget\",\r\n\ttemplateUrl: \"./queue-widget.component.html\",\r\n\tstyleUrls: [\"./queue-widget.component.scss\"],\r\n})\r\nexport class QueueWidgetComponent {\r\n\tconstructor(\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate actionsService: ActionsService,\r\n\t\tprivate popoverController: PopoverController,\r\n\t\tprivate utilityService: UtilityService,\r\n\t\tprivate uiQuery: UiQuery,\r\n\t) {}\r\n\r\n\tqueueTime: number;\r\n\tqueueTimeSpan: TimeSpanModel;\r\n\r\n\tshowSettings$ = this.uiQuery.locked$.pipe(map((locked) => !locked));\r\n\tsettings$ = this.locationStateQuery.rideOpsSettings$.pipe(\r\n\t\tmap((settings) => {\r\n\t\t\treturn {\r\n\t\t\t\tmaximum: settings.maximumQueueTimeMinutes,\r\n\t\t\t\tstepSize: settings.queueTimeStepSizeMinutes,\r\n\t\t\t\twarningThreshold: settings.queueTimeUpdateWarningThreshold,\r\n\t\t\t};\r\n\t\t}),\r\n\t);\r\n\r\n\tlastUpdated$ = this.locationStateQuery.lastQueueTimeUpdate$.pipe(\r\n\t\tuntilDestroyed(this),\r\n\t\ttap((update) => {\r\n\t\t\tif (this.queueTime != null) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tthis.queueTime = update?.time ?? 0;\r\n\t\t\tthis.queueTimeChanged();\r\n\t\t}),\r\n\t\tmap((update) => update?.lastUpdated),\r\n\t);\r\n\r\n\tlastUpdatedIsExpired$ = combineLatest([interval(1000).pipe(startWith(0)), this.lastUpdated$, this.settings$]).pipe(\r\n\t\tuntilDestroyed(this),\r\n\t\tmap(\r\n\t\t\t([_tick, lastUpdated, settings]) =>\r\n\t\t\t\tthis.utilityService.getMinutesSince(lastUpdated) >= settings.warningThreshold,\r\n\t\t),\r\n\t);\r\n\r\n\tqueueTimeChanged() {\r\n\t\tthis.queueTimeSpan = TimeSpanModel.fromMinutes(this.queueTime);\r\n\t}\r\n\tsubmit() {\r\n\t\tthis.actionsService.addUpdateQueueTimeAction(this.queueTime);\r\n\t}\r\n\tasync showSettings($event: Event) {\r\n\t\tconst popover = await this.popoverController.create({\r\n\t\t\tcomponent: QueueWidgetSettingsComponent,\r\n\t\t\tevent: $event,\r\n\t\t\ttranslucent: true,\r\n\t\t});\r\n\r\n\t\tawait popover.present();\r\n\t}\r\n}\r\n","
    \r\n\t
    \r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t
    \r\n
    \r\n","import { Component } from \"@angular/core\";\r\nimport { map } from \"rxjs\";\r\nimport { LocationStateQuery } from \"source/app/configuration/state/location-state.query\";\r\nimport { NoteEditorComponent, NoteEditorComponentMode } from \"source/app/modals/note-editor/note-editor.component\";\r\nimport { ModalController } from \"@ionic/angular\";\r\n\r\n@Component({\r\n\tselector: \"app-note-template\",\r\n\ttemplateUrl: \"./note-template.component.html\",\r\n\tstyleUrls: [\"./note-template.component.scss\"],\r\n})\r\nexport class NoteTemplateComponent {\r\n\tconstructor(\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate modalController: ModalController,\r\n\t) {}\r\n\r\n\ttemplatesExist$ = this.locationStateQuery.noteTemplates$.pipe(map((templates) => templates?.length > 0));\r\n\r\n\tcreate = async () => {\r\n\t\tconst modal = await this.modalController.create({\r\n\t\t\tcomponent: NoteEditorComponent,\r\n\t\t\tcssClass: \"note-editor-modal auto-height\",\r\n\t\t\tcomponentProps: {\r\n\t\t\t\tmode: NoteEditorComponentMode.Create,\r\n\t\t\t},\r\n\t\t});\r\n\r\n\t\treturn await modal.present();\r\n\t};\r\n}\r\n","
    \r\n\t

    {{ label }}

    \r\n\r\n\t\r\n\t\t
    \r\n\t\t\t 0 }\"\r\n\t\t\t>\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t{{ \"OPERATORS_PAGE__LOGOUT\" | transloco }}\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\r\n\t\t\t\t{{ operator.name }}\r\n\t\t\t\r\n\t\t
    \r\n\r\n\t\t
    \r\n\t\t\t{{ \"OPERATORS_PAGE__NO_OPERATORS_WHEN_SEARCHING_FOR\" | transloco }}\r\n\t\t\t {{ userSearch.value }}\r\n\t\t
    \r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t
    \r\n\t\t\t\r\n\t\t
    \r\n\t
    \r\n
    \r\n","import { Component, Input, OnInit } from \"@angular/core\";\r\nimport { Observable, combineLatest, map, of, startWith } from \"rxjs\";\r\nimport { OperatorService } from \"source/app/configuration/services/operator.service\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { FormControl } from \"@angular/forms\";\r\n\r\n@Component({\r\n\tselector: \"app-user-picker\",\r\n\ttemplateUrl: \"./user-picker.component.html\",\r\n\tstyleUrls: [\"./user-picker.component.scss\"],\r\n})\r\nexport class UserPickerComponent implements OnInit {\r\n\tconstructor(\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate operatorService: OperatorService,\r\n\t) {}\r\n\r\n\t@Input() label: string;\r\n\t@Input() requiredCompetencies: DocumentReference[] = [];\r\n\t@Input() operators: Operator[] = [];\r\n\t@Input() currentOperatorId: string | undefined;\r\n\r\n\tuserSearch = new FormControl(\"\");\r\n\tsearchValue$ = this.userSearch.valueChanges.pipe(\r\n\t\tstartWith(\"\"),\r\n\t\tmap((x) => x.toLocaleLowerCase()),\r\n\t);\r\n\r\n\toperatorsWithMissingCompetencies = this.operatorService.populateMissingCompetencies(\r\n\t\tthis.operators,\r\n\t\tthis.requiredCompetencies,\r\n\t);\r\n\r\n\toperators$: Observable;\r\n\r\n\tselect = async (operator: Operator) => {\r\n\t\tthis.modalController.dismiss(operator);\r\n\t};\r\n\r\n\tprivate setup = () => {\r\n\t\tthis.operatorsWithMissingCompetencies = this.operatorService.populateMissingCompetencies(\r\n\t\t\tthis.operators,\r\n\t\t\tthis.requiredCompetencies,\r\n\t\t);\r\n\r\n\t\tthis.operators$ = combineLatest([of(this.operatorsWithMissingCompetencies), this.searchValue$]).pipe(\r\n\t\t\tmap(([operators, searchValue]) => {\r\n\t\t\t\tconst sortByCurrentOperatorAndName = (a: Operator, b: Operator): number => {\r\n\t\t\t\t\tconst aIsOperator = a.id == this.currentOperatorId ? 0 : 1;\r\n\t\t\t\t\tconst bIsOperator = b.id == this.currentOperatorId ? 0 : 1;\r\n\r\n\t\t\t\t\treturn aIsOperator - bIsOperator || a.name.localeCompare(b.name);\r\n\t\t\t\t};\r\n\r\n\t\t\t\tconst filteredOperators =\r\n\t\t\t\t\tsearchValue === \"\"\r\n\t\t\t\t\t\t? operators\r\n\t\t\t\t\t\t: operators.filter((x) => x.name.toLocaleLowerCase().indexOf(searchValue) > -1);\r\n\t\t\t\treturn [...filteredOperators].sort(sortByCurrentOperatorAndName);\r\n\t\t\t}),\r\n\t\t);\r\n\t};\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.setup();\r\n\t}\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { UserPickerComponent } from \"./user-picker.component\";\r\nimport { RidePosition } from \"source/app/configuration/state/location-state.store\";\r\nimport { LocationStateQuery } from \"source/app/configuration/state/location-state.query\";\r\nimport { OperatorService } from \"source/app/configuration/services/operator.service\";\r\n\r\n@Injectable()\r\nexport class UserPickerModal {\r\n\tconstructor(\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate operatorService: OperatorService,\r\n\t) {}\r\n\r\n\tselectAttendant = async (ridePosition: RidePosition) => {\r\n\t\tconst attendants = await this.locationStateQuery.attendants$.firstAsync();\r\n\t\tconst requiredCompetenciesForAttendants =\r\n\t\t\tawait this.locationStateQuery.requiredCompetenciesForAttendants$.firstAsync();\r\n\r\n\t\tconst modal = await this.create(\r\n\t\t\tridePosition.name,\r\n\t\t\t[...ridePosition.requiredCompetencies, ...requiredCompetenciesForAttendants],\r\n\t\t\tattendants,\r\n\t\t\tridePosition.attendant?.user?.id,\r\n\t\t);\r\n\r\n\t\tawait modal.present();\r\n\t\tconst result = await modal.onDidDismiss();\r\n\r\n\t\tif (result.data === undefined) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tawait this.operatorService.selectAttendant(result.data, ridePosition);\r\n\t};\r\n\r\n\tcreate = (\r\n\t\tlabel: string,\r\n\t\trequiredCompetencies: DocumentReference[],\r\n\t\toperators: Operator[],\r\n\t\tcurrentOperatorId: string | undefined,\r\n\t) =>\r\n\t\tthis.modalController.create({\r\n\t\t\tid: \"attendant-picker-modal\",\r\n\t\t\tcomponent: UserPickerComponent,\r\n\t\t\tcomponentProps: {\r\n\t\t\t\tlabel,\r\n\t\t\t\trequiredCompetencies,\r\n\t\t\t\toperators,\r\n\t\t\t\tcurrentOperatorId,\r\n\t\t\t},\r\n\t\t});\r\n}\r\n","\r\n\t\r\n\t\t{{ \"ASSET_PICKER__TITLE\" | transloco }}\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n\r\n\t\r\n\t\t

    \r\n\t\t\t{{ \"ASSET_PICKER__DESCRIPTION\" | transloco }}\r\n\t\t

    \r\n\t
    \r\n\t\r\n\t\t\r\n\t\t\t{{ \"ASSET_PICKER__BREADCRUMB_START\" | transloco }}\r\n\t\t\t\r\n\t\t\t\t  >\r\n\t\t\t\t{{ breadcrumb.name }}\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t 1\" (click)=\"goBack()\">\r\n\t\t\t\r\n\t\t\t{{ \"BASE__BACK\" | transloco }}\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t{{ node.name }}\r\n\t\t\t\t 0\"\r\n\t\t\t\t\tinnerHTML=\"{{ 'ASSET_PICKER__CONTAINS' | transloco: { number: node.nodes.length } }}\"\r\n\t\t\t\t>

    \r\n\t\t\t
    \r\n\t\t\t{{ \"ASSET_PICKER__CHOOSE_ASSET\" | transloco }}\r\n\t\t
    \r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t{{ \"ASSET_PICKER__NO_ASSET\" | transloco }}\r\n\t\t\t{{ \"ASSET_PICKER__CHOOSE_ASSET\" | transloco }}\r\n\t\t\r\n\t
    \r\n
    \r\n","import { Component, Input, OnInit } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { AssetHierarchyResponse } from \"source/app/configuration/services/api.service\";\r\n\r\n@Component({\r\n\tselector: \"app-asset-picker-modal\",\r\n\ttemplateUrl: \"./asset-picker.modal.component.html\",\r\n\tstyleUrls: [\"./asset-picker.modal.component.scss\"],\r\n})\r\nexport class AssetPickerModalComponent implements OnInit {\r\n\tstatic modalId = \"asset-picker-component\";\r\n\tstatic save = \"save\";\r\n\tstatic cancel = \"cancel\";\r\n\r\n\tconstructor(private modalController: ModalController) {}\r\n\t@Input() assetHierarchy: AssetHierarchyResponse;\r\n\r\n\tcurrentNode: AssetHierarchyResponse;\r\n\tnodeTree: AssetHierarchyResponse[] = [];\r\n\r\n\tclose = () =>\r\n\t\tthis.modalController.dismiss(undefined, AssetPickerModalComponent.cancel, AssetPickerModalComponent.modalId);\r\n\r\n\texpand = (node: AssetHierarchyResponse) => {\r\n\t\tif (node.nodes.length === 0) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.nodeTree.push(node);\r\n\t\tthis.currentNode = node;\r\n\t};\r\n\r\n\tchoose = (node: AssetHierarchyResponse) =>\r\n\t\tthis.modalController.dismiss(\r\n\t\t\t{ id: node.id, name: node.name },\r\n\t\t\tAssetPickerModalComponent.save,\r\n\t\t\tAssetPickerModalComponent.modalId,\r\n\t\t);\r\n\r\n\tnoAsset = () =>\r\n\t\tthis.modalController.dismiss(null, AssetPickerModalComponent.save, AssetPickerModalComponent.modalId);\r\n\r\n\tgoBack = () => {\r\n\t\tif (this.nodeTree.length > 1) {\r\n\t\t\tthis.nodeTree.pop();\r\n\t\t\tthis.currentNode = this.nodeTree[this.nodeTree.length - 1];\r\n\t\t}\r\n\t};\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.currentNode = this.assetHierarchy;\r\n\t\tthis.nodeTree.push(this.assetHierarchy);\r\n\t}\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { AssetPickerModalComponent } from \"./asset-picker.modal.component\";\r\nimport { AssetHierarchyResponse } from \"source/app/configuration/services/api.service\";\r\n\r\n@Injectable()\r\nexport class AssetPickerModalService {\r\n\tconstructor(private modalController: ModalController) {}\r\n\r\n\tcreate = async (assets: AssetHierarchyResponse) => {\r\n\t\treturn this.modalController.create({\r\n\t\t\tid: AssetPickerModalComponent.modalId,\r\n\t\t\tcomponent: AssetPickerModalComponent,\r\n\t\t\tcssClass: \"asset-picker-modal\",\r\n\t\t\tcomponentProps: {\r\n\t\t\t\tassetHierarchy: assets,\r\n\t\t\t},\r\n\t\t});\r\n\t};\r\n}\r\n","
    \r\n\t
    \r\n\t\t
    \r\n\t\t\t
    {{ \"CHANGE_PIN__CHANGE_PIN\" | transloco }}
    \r\n\t\t\t
    {{ \"CHANGE_PIN__CURRENT_PIN\" | transloco }}
    \r\n\t\t
    \r\n\r\n\t\t
    \r\n\t\t\t
    {{ \"CHANGE_PIN__CHANGE_PIN\" | transloco }}
    \r\n\t\t\t
    {{ \"CHANGE_PIN__NEW_PIN\" | transloco }}
    \r\n\t\t
    \r\n\r\n\t\t
    \r\n\t\t\t
    {{ \"CHANGE_PIN__CHANGE_PIN\" | transloco }}
    \r\n\t\t\t
    \r\n\t\t\t\t{{ \"CHANGE_PIN__CONFIRM_NEW_PIN\" | transloco }}\r\n\t\t\t
    \r\n\t\t
    \r\n\r\n\t\t\r\n\t
    \r\n
    \r\n","import { Component, Input, ViewChild } from \"@angular/core\";\r\nimport { AlertController, ModalController } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\nimport { take } from \"rxjs/operators\";\r\nimport { LocationStateQuery } from \"source/app/configuration/state/location-state.query\";\r\nimport { LocationStateService } from \"source/app/configuration/state/location-state.service\";\r\nimport { PinCodeInputComponent } from \"../../components/pin-code-input/pin-code-input.component\";\r\nimport { ApiService } from \"../../configuration/services/api.service\";\r\n\r\n@Component({\r\n\tselector: \"app-change-pin-code\",\r\n\ttemplateUrl: \"./change-pin-code.component.html\",\r\n\tstyleUrls: [\"./change-pin-code.component.scss\"],\r\n})\r\nexport class ChangePinCodeComponent {\r\n\tconstructor(\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate apiService: ApiService,\r\n\t\tprivate alertController: AlertController,\r\n\t\tprivate locationStateService: LocationStateService,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t) {}\r\n\r\n\t@ViewChild(PinCodeInputComponent) pinCodeInput: PinCodeInputComponent;\r\n\t@Input() state: ChangePinCodeState = ChangePinCodeState.ChooseNew;\r\n\t@Input() currentPin = \"\";\r\n\r\n\tonCurrentPinEntered = async (pin: string) => {\r\n\t\tconst operator = await this.locationStateQuery.selectOperator$.pipe(take(1)).toPromise();\r\n\r\n\t\tif (operator.pin == pin) {\r\n\t\t\tthis.state = ChangePinCodeState.ChooseNew;\r\n\t\t} else {\r\n\t\t\tawait this.showCurrentPinIncorrectAlert();\r\n\t\t}\r\n\t};\r\n\tprivate newPin = \"\";\r\n\tonNewPinEntered = (pin: string) => {\r\n\t\tthis.state = ChangePinCodeState.ConfirmNew;\r\n\t\tthis.newPin = pin;\r\n\t};\r\n\tonNewPinConfirmationEntered = async (pin: string) => {\r\n\t\tif (this.newPin == pin) {\r\n\t\t\tawait this.apiService.changePin(this.newPin);\r\n\t\t\tawait this.modalController.dismiss();\r\n\r\n\t\t\tthis.locationStateService.setPinForOperator(this.newPin);\r\n\t\t} else {\r\n\t\t\tthis.showConfirmationPinDoesNotMatchAlert();\r\n\t\t\tthis.state = ChangePinCodeState.ChooseNew;\r\n\t\t}\r\n\r\n\t\tthis.newPin = \"\";\r\n\t};\r\n\tasync onPinCodeEntered(pin: string) {\r\n\t\tswitch (this.state) {\r\n\t\t\tcase ChangePinCodeState.EnterCurrent: {\r\n\t\t\t\tawait this.onCurrentPinEntered(pin);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase ChangePinCodeState.ChooseNew: {\r\n\t\t\t\tthis.onNewPinEntered(pin);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase ChangePinCodeState.ConfirmNew: {\r\n\t\t\t\tawait this.onNewPinConfirmationEntered(pin);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis.pinCodeInput.clear();\r\n\t\tthis.currentPin = \"\";\r\n\t}\r\n\r\n\tprivate async showCurrentPinIncorrectAlert() {\r\n\t\tconst alert = await this.alertController.create({\r\n\t\t\tmessage: this.translocoService.translate(\"CHANGE_PIN__CURRENT_PIN_NOT_CORRECT\"),\r\n\t\t});\r\n\r\n\t\tawait alert.present();\r\n\t}\r\n\r\n\tprivate async showConfirmationPinDoesNotMatchAlert() {\r\n\t\tconst alert = await this.alertController.create({\r\n\t\t\tmessage: this.translocoService.translate(\"CHANGE_PIN__NO_MATCH\"),\r\n\t\t});\r\n\r\n\t\tawait alert.present();\r\n\t}\r\n}\r\n\r\nexport enum ChangePinCodeState {\r\n\tEnterCurrent = \"EnterCurrent\",\r\n\tChooseNew = \"ChooseNew\",\r\n\tConfirmNew = \"ConfirmNew\",\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { ChangePinCodeComponent, ChangePinCodeState } from \"./change-pin-code.component\";\r\n\r\n@Injectable()\r\nexport class ChangePinCodeModal {\r\n\tconstructor(private modalController: ModalController) {}\r\n\r\n\tasync show(properties: ChangePinCodeModalProperties = null): Promise {\r\n\t\tconst modal = await this.modalController.create({\r\n\t\t\tid: \"change-pin-modal\",\r\n\t\t\tcomponent: ChangePinCodeComponent,\r\n\t\t\tcomponentProps: {\r\n\t\t\t\tcurrentPin: properties.currentPin || \"\",\r\n\t\t\t\tstate: properties.requireCurrentPin ? ChangePinCodeState.EnterCurrent : ChangePinCodeState.ChooseNew,\r\n\t\t\t},\r\n\t\t});\r\n\r\n\t\tawait modal.present();\r\n\t\tawait modal.onDidDismiss();\r\n\t}\r\n}\r\n\r\nexport interface ChangePinCodeModalProperties {\r\n\tcurrentPin?: string;\r\n\trequireCurrentPin: boolean;\r\n}\r\n","import { Component, Input, OnInit } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { Observable, combineLatest, map, tap } from \"rxjs\";\r\nimport { FileUploadsQuery } from \"source/app/configuration/state/file-uploads.query\";\r\nimport { FileUploadsService } from \"source/app/configuration/state/file-uploads.service\";\r\n\r\n@Component({\r\n\tselector: \"app-file-uploads\",\r\n\tstyleUrls: [\"./file-uploads.component.scss\"],\r\n\ttemplateUrl: \"file-uploads.component.html\",\r\n})\r\nexport class FileUploadsComponent implements OnInit {\r\n\tconstructor(\r\n\t\tprivate fileUploadsQuery: FileUploadsQuery,\r\n\t\tprivate fileUploadsService: FileUploadsService,\r\n\t\tprivate modalController: ModalController,\r\n\t) {}\r\n\t@Input() files: string[];\r\n\r\n\ttotal = 0;\r\n\tcurrent = 0;\r\n\r\n\tprogress: Observable;\r\n\r\n\tclose = () => {\r\n\t\tthis.modalController.dismiss();\r\n\t};\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.total = this.files.length;\r\n\r\n\t\tthis.progress = combineLatest([\r\n\t\t\tthis.fileUploadsQuery.selectMany(this.files),\r\n\t\t\tthis.fileUploadsService.currentUploadProgress$,\r\n\t\t]).pipe(\r\n\t\t\ttap(([fileuploads, _currentProgress]) => {\r\n\t\t\t\tthis.current = this.total - fileuploads.length;\r\n\t\t\t\tif (fileuploads.length === 0) {\r\n\t\t\t\t\tthis.close();\r\n\t\t\t\t}\r\n\t\t\t}),\r\n\t\t\tmap(([fileuploads, currentProgress]) => (this.total - fileuploads.length + currentProgress) / this.total),\r\n\t\t);\r\n\t}\r\n}\r\n","
    \r\n\t
    \r\n\t\t
    {{ \"FILEUPLOADS_MODAL__UPLOADING_FILES\" | transloco }}
    \r\n\t\t
    {{ \"FILEUPLOADS_MODAL__UPLOADING_FILES_SUBHEADLINE\" | transloco }}
    \r\n\t
    \r\n\r\n\t
    \r\n\t\t{{ \"FILEUPLOADS_MODAL__CURRENTLY_UPLOADED\" | transloco: { current: current, total: total } }}\r\n\t\t\r\n\t
    \r\n\r\n\t
    \r\n\t\t\r\n\t\t\t{{ \"BASE__CANCEL\" | transloco }}\r\n\t\t\r\n\t
    \r\n
    \r\n","import { Injectable } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { FileUploadsComponent } from \"./file-uploads.component\";\r\n\r\n@Injectable()\r\nexport class FileUploadsModalService {\r\n\tconstructor(private modalController: ModalController) {}\r\n\r\n\tcreate = (fileUploads: string[]) => {\r\n\t\treturn this.modalController.create({\r\n\t\t\tid: \"\",\r\n\t\t\tcssClass: \"file-uploads-modal\",\r\n\t\t\tcomponent: FileUploadsComponent,\r\n\t\t\tcomponentProps: {\r\n\t\t\t\tfiles: fileUploads,\r\n\t\t\t},\r\n\t\t});\r\n\t};\r\n}\r\n","import { Component, Input } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\n\r\n@Component({\r\n\tselector: \"app-image-viewer\",\r\n\ttemplateUrl: \"./image-viewer.component.html\",\r\n})\r\nexport class ImageViewerComponent {\r\n\tstatic modalId: \"image-viewer-component\";\r\n\r\n\tconstructor(private modalController: ModalController) {}\r\n\r\n\t@Input() imageUrl: string;\r\n\r\n\tclose = () => {\r\n\t\tthis.modalController.dismiss();\r\n\t};\r\n}\r\n","
    \r\n\t\r\n\t\t\r\n\t\t\t{{ \"IMAGE_VIEW_MODAL__IMAGE\" | transloco }}\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n\t
    \r\n\t\t\r\n\t
    \r\n
    \r\n","import { Injectable } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { ImageViewerComponent } from \"./image-viewer.component\";\r\n\r\n@Injectable()\r\nexport class ImageViewerModalService {\r\n\tconstructor(private modalController: ModalController) {}\r\n\r\n\tcreate = (imageUrl: string) =>\r\n\t\tthis.modalController.create({\r\n\t\t\tid: ImageViewerComponent.modalId,\r\n\t\t\tcssClass: \"image-viewer-modal\",\r\n\t\t\tcomponent: ImageViewerComponent,\r\n\t\t\tcomponentProps: {\r\n\t\t\t\timageUrl: imageUrl,\r\n\t\t\t},\r\n\t\t});\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ValuePickerModalService } from \"../value-picker/value-picker-modal.service\";\r\nimport { LanguageService } from \"source/app/configuration/services/language.service\";\r\n\r\n@Injectable()\r\nexport class LanguagePickerModal {\r\n\tconstructor(\r\n\t\tprivate valuePickerModalService: ValuePickerModalService,\r\n\t\tprivate languageService: LanguageService,\r\n\t) {}\r\n\r\n\tasync show(): Promise {\r\n\t\tconst availableLanguages = this.languageService.getAvailableLangs();\r\n\t\tconst languages = availableLanguages\r\n\t\t\t.filter((language) => language.id !== \"source\") // We don't want to show the \"source\" language in the language picker\r\n\t\t\t.map((language) => ({ id: language.id, name: language.label }));\r\n\r\n\t\tconst modal = await this.valuePickerModalService.create({\r\n\t\t\telements: languages,\r\n\t\t\ttitle: \"LANGUAGE_PICKER__TITLE\",\r\n\t\t\tdescription: \"LANGUAGE_PICKER__DESCRIPTION\",\r\n\t\t});\r\n\r\n\t\tawait modal.present();\r\n\t\tconst result = await modal.onDidDismiss();\r\n\r\n\t\treturn result?.data;\r\n\t}\r\n}\r\n","import { CommonModule } from \"@angular/common\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { FormsModule } from \"@angular/forms\";\r\nimport { IonicModule } from \"@ionic/angular\";\r\nimport { TranslocoModule } from \"@ngneat/transloco\";\r\nimport { ValuePickerModule } from \"../value-picker/value-picker.module\";\r\nimport { LanguagePickerModal } from \"./language-picker.modal\";\r\n\r\n@NgModule({\r\n\timports: [CommonModule, FormsModule, IonicModule, TranslocoModule, ValuePickerModule],\r\n\tproviders: [LanguagePickerModal],\r\n})\r\nexport class LanguagePickerModalModule {}\r\n","import { Directive, ElementRef, OnInit } from \"@angular/core\";\r\n\r\n@Directive({\r\n\tselector: \"[appAutoFocus]\",\r\n})\r\nexport class AutoFocusDirective implements OnInit {\r\n\tconstructor(private elementReference: ElementRef) {}\r\n\r\n\tngOnInit(): void {\r\n\t\tsetTimeout(() => {\r\n\t\t\tthis.elementReference.nativeElement.setFocus();\r\n\t\t}, 500);\r\n\t}\r\n}\r\n","\r\n
    \r\n\t
    \r\n\t\t
    \r\n\t\t\t{{ noteTemplate.name }}\r\n\t\t\t{{ \"NOTE_EDITOR__CREATE_NOTE\" | transloco }}\r\n\t\t\t\r\n\t\t\t\t{{ \"NOTE_EDITOR__VIEW_NOTE\" | transloco }}\r\n\t\t\t\r\n\t\t
    \r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t 0\">\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{{ template.name }}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t
    \r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t{{ type.name }}\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t
    \r\n\t\t\t\r\n\t\t\t\t{{ \"NOTE_EDITOR__CLOSE\" | transloco }}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t{{ \"NOTE_EDITOR__CANCEL\" | transloco }}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t{{ \"NOTE_EDITOR__SAVE\" | transloco }}\r\n\t\t\t\r\n\t\t
    \r\n\t
    \r\n
    \r\n","import { Component, Input, OnInit } from \"@angular/core\";\r\nimport { FormBuilder, FormGroup, Validators } from \"@angular/forms\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { combineLatest } from \"rxjs\";\r\nimport { map, startWith } from \"rxjs/operators\";\r\nimport { ActionsService } from \"source/app/configuration/state/actions.service\";\r\nimport { LocationStateQuery } from \"source/app/configuration/state/location-state.query\";\r\nimport { NoteTemplateReference } from \"source/app/configuration/state/location-state.store\";\r\nimport { Note } from \"source/app/configuration/state/note.model\";\r\n\r\n@Component({\r\n\tselector: \"app-note-editor\",\r\n\ttemplateUrl: \"./note-editor.component.html\",\r\n\tstyleUrls: [\"./note-editor.component.scss\"],\r\n})\r\nexport class NoteEditorComponent implements OnInit {\r\n\tconstructor(\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate formBuilder: FormBuilder,\r\n\t\tprivate locationStateQuery: LocationStateQuery,\r\n\t\tprivate actionsService: ActionsService,\r\n\t) {}\r\n\r\n\tselectedTemplate: NoteTemplateReference;\r\n\tform: FormGroup = this.formBuilder.group({\r\n\t\tdescription: [\"\", [Validators.required]],\r\n\t\ttype: [null, [Validators.required]],\r\n\t});\r\n\r\n\ttypeValueChanges$ = this.form.controls[\"type\"].valueChanges.pipe(startWith(null));\r\n\ttemplates$ = this.locationStateQuery.noteTemplates$;\r\n\r\n\t// Filter out deleted noteTypes unless the current note is of that type\r\n\tnoteTypes$ = combineLatest([this.locationStateQuery.noteTypes$, this.typeValueChanges$]).pipe(\r\n\t\tmap(([noteTypes, typeValue]) => noteTypes.filter((x) => x.isDeleted === false || x.id === typeValue)),\r\n\t);\r\n\r\n\t@Input() mode: NoteEditorComponentMode = NoteEditorComponentMode.Create;\r\n\t@Input() noteTemplate: NoteTemplateReference;\r\n\t@Input() note: Note;\r\n\r\n\tisCreateMode = false;\r\n\r\n\tprivate getDefaultNoteType = async () => {\r\n\t\tconst noteTypes = await this.noteTypes$.firstAsync();\r\n\r\n\t\tif (noteTypes.length === 1) {\r\n\t\t\treturn noteTypes[0].id;\r\n\t\t}\r\n\r\n\t\treturn noteTypes.find((type) => type.isDefault)?.id;\r\n\t};\r\n\tclose = () => {\r\n\t\tthis.modalController.dismiss();\r\n\t};\r\n\tsave = () => {\r\n\t\tif (this.form.invalid) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.actionsService.addCreateNoteAction(this.form.value.description, this.form.value.type);\r\n\t\tthis.modalController.dismiss();\r\n\t};\r\n\tselectTemplate(template: NoteTemplateReference) {\r\n\t\tif (template == this.selectedTemplate) {\r\n\t\t\tthis.selectedTemplate = null;\r\n\t\t\tthis.form.controls[\"description\"].setValue(null);\r\n\t\t\tthis.form.controls[\"type\"].setValue(null);\r\n\t\t} else {\r\n\t\t\tthis.selectedTemplate = template;\r\n\t\t\tthis.form.controls[\"description\"].setValue(template.description);\r\n\t\t\tthis.form.controls[\"type\"].setValue(template.noteType);\r\n\t\t}\r\n\t}\r\n\tasync ngOnInit() {\r\n\t\tlet description = \"\";\r\n\t\tlet type: string = await this.getDefaultNoteType();\r\n\r\n\t\tif (this.mode == NoteEditorComponentMode.Create) {\r\n\t\t\tthis.isCreateMode = true;\r\n\t\t\tif (this.noteTemplate != undefined) {\r\n\t\t\t\tdescription = this.noteTemplate.description;\r\n\t\t\t\ttype = this.noteTemplate.noteType;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tdescription = this.note.description;\r\n\t\t\ttype = this.note.type.id;\r\n\t\t}\r\n\r\n\t\t// setTimeout is necessary to emit the value to the forms valueChanges observable\r\n\t\tsetTimeout(() => {\r\n\t\t\tthis.form.controls[\"description\"].setValue(description);\r\n\t\t\tthis.form.controls[\"type\"].setValue(type);\r\n\r\n\t\t\tif (this.mode === NoteEditorComponentMode.View) {\r\n\t\t\t\tthis.form.disable();\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n}\r\n\r\nexport enum NoteEditorComponentMode {\r\n\tCreate,\r\n\tView,\r\n}\r\n","export var Html5QrcodeSupportedFormats;\n(function (Html5QrcodeSupportedFormats) {\n Html5QrcodeSupportedFormats[Html5QrcodeSupportedFormats[\"QR_CODE\"] = 0] = \"QR_CODE\";\n Html5QrcodeSupportedFormats[Html5QrcodeSupportedFormats[\"AZTEC\"] = 1] = \"AZTEC\";\n Html5QrcodeSupportedFormats[Html5QrcodeSupportedFormats[\"CODABAR\"] = 2] = \"CODABAR\";\n Html5QrcodeSupportedFormats[Html5QrcodeSupportedFormats[\"CODE_39\"] = 3] = \"CODE_39\";\n Html5QrcodeSupportedFormats[Html5QrcodeSupportedFormats[\"CODE_93\"] = 4] = \"CODE_93\";\n Html5QrcodeSupportedFormats[Html5QrcodeSupportedFormats[\"CODE_128\"] = 5] = \"CODE_128\";\n Html5QrcodeSupportedFormats[Html5QrcodeSupportedFormats[\"DATA_MATRIX\"] = 6] = \"DATA_MATRIX\";\n Html5QrcodeSupportedFormats[Html5QrcodeSupportedFormats[\"MAXICODE\"] = 7] = \"MAXICODE\";\n Html5QrcodeSupportedFormats[Html5QrcodeSupportedFormats[\"ITF\"] = 8] = \"ITF\";\n Html5QrcodeSupportedFormats[Html5QrcodeSupportedFormats[\"EAN_13\"] = 9] = \"EAN_13\";\n Html5QrcodeSupportedFormats[Html5QrcodeSupportedFormats[\"EAN_8\"] = 10] = \"EAN_8\";\n Html5QrcodeSupportedFormats[Html5QrcodeSupportedFormats[\"PDF_417\"] = 11] = \"PDF_417\";\n Html5QrcodeSupportedFormats[Html5QrcodeSupportedFormats[\"RSS_14\"] = 12] = \"RSS_14\";\n Html5QrcodeSupportedFormats[Html5QrcodeSupportedFormats[\"RSS_EXPANDED\"] = 13] = \"RSS_EXPANDED\";\n Html5QrcodeSupportedFormats[Html5QrcodeSupportedFormats[\"UPC_A\"] = 14] = \"UPC_A\";\n Html5QrcodeSupportedFormats[Html5QrcodeSupportedFormats[\"UPC_E\"] = 15] = \"UPC_E\";\n Html5QrcodeSupportedFormats[Html5QrcodeSupportedFormats[\"UPC_EAN_EXTENSION\"] = 16] = \"UPC_EAN_EXTENSION\";\n})(Html5QrcodeSupportedFormats || (Html5QrcodeSupportedFormats = {}));\nvar html5QrcodeSupportedFormatsTextMap = new Map([\n [Html5QrcodeSupportedFormats.QR_CODE, \"QR_CODE\"],\n [Html5QrcodeSupportedFormats.AZTEC, \"AZTEC\"],\n [Html5QrcodeSupportedFormats.CODABAR, \"CODABAR\"],\n [Html5QrcodeSupportedFormats.CODE_39, \"CODE_39\"],\n [Html5QrcodeSupportedFormats.CODE_93, \"CODE_93\"],\n [Html5QrcodeSupportedFormats.CODE_128, \"CODE_128\"],\n [Html5QrcodeSupportedFormats.DATA_MATRIX, \"DATA_MATRIX\"],\n [Html5QrcodeSupportedFormats.MAXICODE, \"MAXICODE\"],\n [Html5QrcodeSupportedFormats.ITF, \"ITF\"],\n [Html5QrcodeSupportedFormats.EAN_13, \"EAN_13\"],\n [Html5QrcodeSupportedFormats.EAN_8, \"EAN_8\"],\n [Html5QrcodeSupportedFormats.PDF_417, \"PDF_417\"],\n [Html5QrcodeSupportedFormats.RSS_14, \"RSS_14\"],\n [Html5QrcodeSupportedFormats.RSS_EXPANDED, \"RSS_EXPANDED\"],\n [Html5QrcodeSupportedFormats.UPC_A, \"UPC_A\"],\n [Html5QrcodeSupportedFormats.UPC_E, \"UPC_E\"],\n [Html5QrcodeSupportedFormats.UPC_EAN_EXTENSION, \"UPC_EAN_EXTENSION\"]\n]);\nexport var DecodedTextType;\n(function (DecodedTextType) {\n DecodedTextType[DecodedTextType[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\n DecodedTextType[DecodedTextType[\"URL\"] = 1] = \"URL\";\n})(DecodedTextType || (DecodedTextType = {}));\nexport function isValidHtml5QrcodeSupportedFormats(format) {\n return Object.values(Html5QrcodeSupportedFormats).includes(format);\n}\nexport var Html5QrcodeScanType;\n(function (Html5QrcodeScanType) {\n Html5QrcodeScanType[Html5QrcodeScanType[\"SCAN_TYPE_CAMERA\"] = 0] = \"SCAN_TYPE_CAMERA\";\n Html5QrcodeScanType[Html5QrcodeScanType[\"SCAN_TYPE_FILE\"] = 1] = \"SCAN_TYPE_FILE\";\n})(Html5QrcodeScanType || (Html5QrcodeScanType = {}));\nvar Html5QrcodeConstants = (function () {\n function Html5QrcodeConstants() {\n }\n Html5QrcodeConstants.GITHUB_PROJECT_URL = \"https://github.com/mebjas/html5-qrcode\";\n Html5QrcodeConstants.SCAN_DEFAULT_FPS = 2;\n Html5QrcodeConstants.DEFAULT_DISABLE_FLIP = false;\n Html5QrcodeConstants.DEFAULT_REMEMBER_LAST_CAMERA_USED = true;\n Html5QrcodeConstants.DEFAULT_SUPPORTED_SCAN_TYPE = [\n Html5QrcodeScanType.SCAN_TYPE_CAMERA,\n Html5QrcodeScanType.SCAN_TYPE_FILE\n ];\n return Html5QrcodeConstants;\n}());\nexport { Html5QrcodeConstants };\nvar QrcodeResultFormat = (function () {\n function QrcodeResultFormat(format, formatName) {\n this.format = format;\n this.formatName = formatName;\n }\n QrcodeResultFormat.prototype.toString = function () {\n return this.formatName;\n };\n QrcodeResultFormat.create = function (format) {\n if (!html5QrcodeSupportedFormatsTextMap.has(format)) {\n throw \"\".concat(format, \" not in html5QrcodeSupportedFormatsTextMap\");\n }\n return new QrcodeResultFormat(format, html5QrcodeSupportedFormatsTextMap.get(format));\n };\n return QrcodeResultFormat;\n}());\nexport { QrcodeResultFormat };\nvar Html5QrcodeResultFactory = (function () {\n function Html5QrcodeResultFactory() {\n }\n Html5QrcodeResultFactory.createFromText = function (decodedText) {\n var qrcodeResult = {\n text: decodedText\n };\n return {\n decodedText: decodedText,\n result: qrcodeResult\n };\n };\n Html5QrcodeResultFactory.createFromQrcodeResult = function (qrcodeResult) {\n return {\n decodedText: qrcodeResult.text,\n result: qrcodeResult\n };\n };\n return Html5QrcodeResultFactory;\n}());\nexport { Html5QrcodeResultFactory };\nexport var Html5QrcodeErrorTypes;\n(function (Html5QrcodeErrorTypes) {\n Html5QrcodeErrorTypes[Html5QrcodeErrorTypes[\"UNKWOWN_ERROR\"] = 0] = \"UNKWOWN_ERROR\";\n Html5QrcodeErrorTypes[Html5QrcodeErrorTypes[\"IMPLEMENTATION_ERROR\"] = 1] = \"IMPLEMENTATION_ERROR\";\n Html5QrcodeErrorTypes[Html5QrcodeErrorTypes[\"NO_CODE_FOUND_ERROR\"] = 2] = \"NO_CODE_FOUND_ERROR\";\n})(Html5QrcodeErrorTypes || (Html5QrcodeErrorTypes = {}));\nvar Html5QrcodeErrorFactory = (function () {\n function Html5QrcodeErrorFactory() {\n }\n Html5QrcodeErrorFactory.createFrom = function (error) {\n return {\n errorMessage: error,\n type: Html5QrcodeErrorTypes.UNKWOWN_ERROR\n };\n };\n return Html5QrcodeErrorFactory;\n}());\nexport { Html5QrcodeErrorFactory };\nvar BaseLoggger = (function () {\n function BaseLoggger(verbose) {\n this.verbose = verbose;\n }\n BaseLoggger.prototype.log = function (message) {\n if (this.verbose) {\n console.log(message);\n }\n };\n BaseLoggger.prototype.warn = function (message) {\n if (this.verbose) {\n console.warn(message);\n }\n };\n BaseLoggger.prototype.logError = function (message, isExperimental) {\n if (this.verbose || isExperimental === true) {\n console.error(message);\n }\n };\n BaseLoggger.prototype.logErrors = function (errors) {\n if (errors.length === 0) {\n throw \"Logger#logError called without arguments\";\n }\n if (this.verbose) {\n console.error(errors);\n }\n };\n return BaseLoggger;\n}());\nexport { BaseLoggger };\nexport function isNullOrUndefined(obj) {\n return (typeof obj === \"undefined\") || obj === null;\n}\nexport function clip(value, minValue, maxValue) {\n if (value > maxValue) {\n return maxValue;\n }\n if (value < minValue) {\n return minValue;\n }\n return value;\n}\n","var Html5QrcodeStrings = (function () {\n function Html5QrcodeStrings() {\n }\n Html5QrcodeStrings.codeParseError = function (exception) {\n return \"QR code parse error, error = \".concat(exception);\n };\n Html5QrcodeStrings.errorGettingUserMedia = function (error) {\n return \"Error getting userMedia, error = \".concat(error);\n };\n Html5QrcodeStrings.onlyDeviceSupportedError = function () {\n return \"The device doesn't support navigator.mediaDevices , only \"\n + \"supported cameraIdOrConfig in this case is deviceId parameter \"\n + \"(string).\";\n };\n Html5QrcodeStrings.cameraStreamingNotSupported = function () {\n return \"Camera streaming not supported by the browser.\";\n };\n Html5QrcodeStrings.unableToQuerySupportedDevices = function () {\n return \"Unable to query supported devices, unknown error.\";\n };\n Html5QrcodeStrings.insecureContextCameraQueryError = function () {\n return \"Camera access is only supported in secure context like https \"\n + \"or localhost.\";\n };\n Html5QrcodeStrings.scannerPaused = function () {\n return \"Scanner paused\";\n };\n return Html5QrcodeStrings;\n}());\nexport { Html5QrcodeStrings };\nvar Html5QrcodeScannerStrings = (function () {\n function Html5QrcodeScannerStrings() {\n }\n Html5QrcodeScannerStrings.scanningStatus = function () {\n return \"Scanning\";\n };\n Html5QrcodeScannerStrings.idleStatus = function () {\n return \"Idle\";\n };\n Html5QrcodeScannerStrings.errorStatus = function () {\n return \"Error\";\n };\n Html5QrcodeScannerStrings.permissionStatus = function () {\n return \"Permission\";\n };\n Html5QrcodeScannerStrings.noCameraFoundErrorStatus = function () {\n return \"No Cameras\";\n };\n Html5QrcodeScannerStrings.lastMatch = function (decodedText) {\n return \"Last Match: \".concat(decodedText);\n };\n Html5QrcodeScannerStrings.codeScannerTitle = function () {\n return \"Code Scanner\";\n };\n Html5QrcodeScannerStrings.cameraPermissionTitle = function () {\n return \"Request Camera Permissions\";\n };\n Html5QrcodeScannerStrings.cameraPermissionRequesting = function () {\n return \"Requesting camera permissions...\";\n };\n Html5QrcodeScannerStrings.noCameraFound = function () {\n return \"No camera found\";\n };\n Html5QrcodeScannerStrings.scanButtonStopScanningText = function () {\n return \"Stop Scanning\";\n };\n Html5QrcodeScannerStrings.scanButtonStartScanningText = function () {\n return \"Start Scanning\";\n };\n Html5QrcodeScannerStrings.torchOnButton = function () {\n return \"Switch On Torch\";\n };\n Html5QrcodeScannerStrings.torchOffButton = function () {\n return \"Switch Off Torch\";\n };\n Html5QrcodeScannerStrings.torchOnFailedMessage = function () {\n return \"Failed to turn on torch\";\n };\n Html5QrcodeScannerStrings.torchOffFailedMessage = function () {\n return \"Failed to turn off torch\";\n };\n Html5QrcodeScannerStrings.scanButtonScanningStarting = function () {\n return \"Launching Camera...\";\n };\n Html5QrcodeScannerStrings.textIfCameraScanSelected = function () {\n return \"Scan an Image File\";\n };\n Html5QrcodeScannerStrings.textIfFileScanSelected = function () {\n return \"Scan using camera directly\";\n };\n Html5QrcodeScannerStrings.selectCamera = function () {\n return \"Select Camera\";\n };\n Html5QrcodeScannerStrings.fileSelectionChooseImage = function () {\n return \"Choose Image\";\n };\n Html5QrcodeScannerStrings.fileSelectionChooseAnother = function () {\n return \"Choose Another\";\n };\n Html5QrcodeScannerStrings.fileSelectionNoImageSelected = function () {\n return \"No image choosen\";\n };\n Html5QrcodeScannerStrings.anonymousCameraPrefix = function () {\n return \"Anonymous Camera\";\n };\n Html5QrcodeScannerStrings.dragAndDropMessage = function () {\n return \"Or drop an image to scan\";\n };\n Html5QrcodeScannerStrings.dragAndDropMessageOnlyImages = function () {\n return \"Or drop an image to scan (other files not supported)\";\n };\n Html5QrcodeScannerStrings.zoom = function () {\n return \"zoom\";\n };\n Html5QrcodeScannerStrings.loadingImage = function () {\n return \"Loading image...\";\n };\n Html5QrcodeScannerStrings.cameraScanAltText = function () {\n return \"Camera based scan\";\n };\n Html5QrcodeScannerStrings.fileScanAltText = function () {\n return \"Fule based scan\";\n };\n return Html5QrcodeScannerStrings;\n}());\nexport { Html5QrcodeScannerStrings };\nvar LibraryInfoStrings = (function () {\n function LibraryInfoStrings() {\n }\n LibraryInfoStrings.poweredBy = function () {\n return \"Powered by \";\n };\n LibraryInfoStrings.reportIssues = function () {\n return \"Report issues\";\n };\n return LibraryInfoStrings;\n}());\nexport { LibraryInfoStrings };\n","var VideoConstraintsUtil = (function () {\n function VideoConstraintsUtil() {\n }\n VideoConstraintsUtil.isMediaStreamConstraintsValid = function (videoConstraints, logger) {\n if (typeof videoConstraints !== \"object\") {\n var typeofVideoConstraints = typeof videoConstraints;\n logger.logError(\"videoConstraints should be of type object, the \"\n + \"object passed is of type \".concat(typeofVideoConstraints, \".\"), true);\n return false;\n }\n var bannedKeys = [\n \"autoGainControl\",\n \"channelCount\",\n \"echoCancellation\",\n \"latency\",\n \"noiseSuppression\",\n \"sampleRate\",\n \"sampleSize\",\n \"volume\"\n ];\n var bannedkeysSet = new Set(bannedKeys);\n var keysInVideoConstraints = Object.keys(videoConstraints);\n for (var _i = 0, keysInVideoConstraints_1 = keysInVideoConstraints; _i < keysInVideoConstraints_1.length; _i++) {\n var key = keysInVideoConstraints_1[_i];\n if (bannedkeysSet.has(key)) {\n logger.logError(\"\".concat(key, \" is not supported videoConstaints.\"), true);\n return false;\n }\n }\n return true;\n };\n return VideoConstraintsUtil;\n}());\nexport { VideoConstraintsUtil };\n","import * as ZXing from \"../third_party/zxing-js.umd\";\nimport { QrcodeResultFormat, Html5QrcodeSupportedFormats } from \"./core\";\nvar ZXingHtml5QrcodeDecoder = (function () {\n function ZXingHtml5QrcodeDecoder(requestedFormats, verbose, logger) {\n this.formatMap = new Map([\n [Html5QrcodeSupportedFormats.QR_CODE, ZXing.BarcodeFormat.QR_CODE],\n [Html5QrcodeSupportedFormats.AZTEC, ZXing.BarcodeFormat.AZTEC],\n [Html5QrcodeSupportedFormats.CODABAR, ZXing.BarcodeFormat.CODABAR],\n [Html5QrcodeSupportedFormats.CODE_39, ZXing.BarcodeFormat.CODE_39],\n [Html5QrcodeSupportedFormats.CODE_93, ZXing.BarcodeFormat.CODE_93],\n [\n Html5QrcodeSupportedFormats.CODE_128,\n ZXing.BarcodeFormat.CODE_128\n ],\n [\n Html5QrcodeSupportedFormats.DATA_MATRIX,\n ZXing.BarcodeFormat.DATA_MATRIX\n ],\n [\n Html5QrcodeSupportedFormats.MAXICODE,\n ZXing.BarcodeFormat.MAXICODE\n ],\n [Html5QrcodeSupportedFormats.ITF, ZXing.BarcodeFormat.ITF],\n [Html5QrcodeSupportedFormats.EAN_13, ZXing.BarcodeFormat.EAN_13],\n [Html5QrcodeSupportedFormats.EAN_8, ZXing.BarcodeFormat.EAN_8],\n [Html5QrcodeSupportedFormats.PDF_417, ZXing.BarcodeFormat.PDF_417],\n [Html5QrcodeSupportedFormats.RSS_14, ZXing.BarcodeFormat.RSS_14],\n [\n Html5QrcodeSupportedFormats.RSS_EXPANDED,\n ZXing.BarcodeFormat.RSS_EXPANDED\n ],\n [Html5QrcodeSupportedFormats.UPC_A, ZXing.BarcodeFormat.UPC_A],\n [Html5QrcodeSupportedFormats.UPC_E, ZXing.BarcodeFormat.UPC_E],\n [\n Html5QrcodeSupportedFormats.UPC_EAN_EXTENSION,\n ZXing.BarcodeFormat.UPC_EAN_EXTENSION\n ]\n ]);\n this.reverseFormatMap = this.createReverseFormatMap();\n if (!ZXing) {\n throw \"Use html5qrcode.min.js without edit, ZXing not found.\";\n }\n this.verbose = verbose;\n this.logger = logger;\n var formats = this.createZXingFormats(requestedFormats);\n var hints = new Map();\n hints.set(ZXing.DecodeHintType.POSSIBLE_FORMATS, formats);\n hints.set(ZXing.DecodeHintType.TRY_HARDER, false);\n this.hints = hints;\n }\n ZXingHtml5QrcodeDecoder.prototype.decodeAsync = function (canvas) {\n var _this = this;\n return new Promise(function (resolve, reject) {\n try {\n resolve(_this.decode(canvas));\n }\n catch (error) {\n reject(error);\n }\n });\n };\n ZXingHtml5QrcodeDecoder.prototype.decode = function (canvas) {\n var zxingDecoder = new ZXing.MultiFormatReader(this.verbose, this.hints);\n var luminanceSource = new ZXing.HTMLCanvasElementLuminanceSource(canvas);\n var binaryBitmap = new ZXing.BinaryBitmap(new ZXing.HybridBinarizer(luminanceSource));\n var result = zxingDecoder.decode(binaryBitmap);\n return {\n text: result.text,\n format: QrcodeResultFormat.create(this.toHtml5QrcodeSupportedFormats(result.format)),\n debugData: this.createDebugData()\n };\n };\n ZXingHtml5QrcodeDecoder.prototype.createReverseFormatMap = function () {\n var result = new Map();\n this.formatMap.forEach(function (value, key, _) {\n result.set(value, key);\n });\n return result;\n };\n ZXingHtml5QrcodeDecoder.prototype.toHtml5QrcodeSupportedFormats = function (zxingFormat) {\n if (!this.reverseFormatMap.has(zxingFormat)) {\n throw \"reverseFormatMap doesn't have \".concat(zxingFormat);\n }\n return this.reverseFormatMap.get(zxingFormat);\n };\n ZXingHtml5QrcodeDecoder.prototype.createZXingFormats = function (requestedFormats) {\n var zxingFormats = [];\n for (var _i = 0, requestedFormats_1 = requestedFormats; _i < requestedFormats_1.length; _i++) {\n var requestedFormat = requestedFormats_1[_i];\n if (this.formatMap.has(requestedFormat)) {\n zxingFormats.push(this.formatMap.get(requestedFormat));\n }\n else {\n this.logger.logError(\"\".concat(requestedFormat, \" is not supported by\")\n + \"ZXingHtml5QrcodeShim\");\n }\n }\n return zxingFormats;\n };\n ZXingHtml5QrcodeDecoder.prototype.createDebugData = function () {\n return { decoderName: \"zxing-js\" };\n };\n return ZXingHtml5QrcodeDecoder;\n}());\nexport { ZXingHtml5QrcodeDecoder };\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nimport { QrcodeResultFormat, Html5QrcodeSupportedFormats } from \"./core\";\nvar BarcodeDetectorDelegate = (function () {\n function BarcodeDetectorDelegate(requestedFormats, verbose, logger) {\n this.formatMap = new Map([\n [Html5QrcodeSupportedFormats.QR_CODE, \"qr_code\"],\n [Html5QrcodeSupportedFormats.AZTEC, \"aztec\"],\n [Html5QrcodeSupportedFormats.CODABAR, \"codabar\"],\n [Html5QrcodeSupportedFormats.CODE_39, \"code_39\"],\n [Html5QrcodeSupportedFormats.CODE_93, \"code_93\"],\n [Html5QrcodeSupportedFormats.CODE_128, \"code_128\"],\n [Html5QrcodeSupportedFormats.DATA_MATRIX, \"data_matrix\"],\n [Html5QrcodeSupportedFormats.ITF, \"itf\"],\n [Html5QrcodeSupportedFormats.EAN_13, \"ean_13\"],\n [Html5QrcodeSupportedFormats.EAN_8, \"ean_8\"],\n [Html5QrcodeSupportedFormats.PDF_417, \"pdf417\"],\n [Html5QrcodeSupportedFormats.UPC_A, \"upc_a\"],\n [Html5QrcodeSupportedFormats.UPC_E, \"upc_e\"]\n ]);\n this.reverseFormatMap = this.createReverseFormatMap();\n if (!BarcodeDetectorDelegate.isSupported()) {\n throw \"Use html5qrcode.min.js without edit, Use \"\n + \"BarcodeDetectorDelegate only if it isSupported();\";\n }\n this.verbose = verbose;\n this.logger = logger;\n var formats = this.createBarcodeDetectorFormats(requestedFormats);\n this.detector = new BarcodeDetector(formats);\n if (!this.detector) {\n throw \"BarcodeDetector detector not supported\";\n }\n }\n BarcodeDetectorDelegate.isSupported = function () {\n if (!(\"BarcodeDetector\" in window)) {\n return false;\n }\n var dummyDetector = new BarcodeDetector({ formats: [\"qr_code\"] });\n return typeof dummyDetector !== \"undefined\";\n };\n BarcodeDetectorDelegate.prototype.decodeAsync = function (canvas) {\n return __awaiter(this, void 0, void 0, function () {\n var barcodes, largestBarcode;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4, this.detector.detect(canvas)];\n case 1:\n barcodes = _a.sent();\n if (!barcodes || barcodes.length === 0) {\n throw \"No barcode or QR code detected.\";\n }\n largestBarcode = this.selectLargestBarcode(barcodes);\n return [2, {\n text: largestBarcode.rawValue,\n format: QrcodeResultFormat.create(this.toHtml5QrcodeSupportedFormats(largestBarcode.format)),\n debugData: this.createDebugData()\n }];\n }\n });\n });\n };\n BarcodeDetectorDelegate.prototype.selectLargestBarcode = function (barcodes) {\n var largestBarcode = null;\n var maxArea = 0;\n for (var _i = 0, barcodes_1 = barcodes; _i < barcodes_1.length; _i++) {\n var barcode = barcodes_1[_i];\n var area = barcode.boundingBox.width * barcode.boundingBox.height;\n if (area > maxArea) {\n maxArea = area;\n largestBarcode = barcode;\n }\n }\n if (!largestBarcode) {\n throw \"No largest barcode found\";\n }\n return largestBarcode;\n };\n BarcodeDetectorDelegate.prototype.createBarcodeDetectorFormats = function (requestedFormats) {\n var formats = [];\n for (var _i = 0, requestedFormats_1 = requestedFormats; _i < requestedFormats_1.length; _i++) {\n var requestedFormat = requestedFormats_1[_i];\n if (this.formatMap.has(requestedFormat)) {\n formats.push(this.formatMap.get(requestedFormat));\n }\n else {\n this.logger.warn(\"\".concat(requestedFormat, \" is not supported by\")\n + \"BarcodeDetectorDelegate\");\n }\n }\n return { formats: formats };\n };\n BarcodeDetectorDelegate.prototype.toHtml5QrcodeSupportedFormats = function (barcodeDetectorFormat) {\n if (!this.reverseFormatMap.has(barcodeDetectorFormat)) {\n throw \"reverseFormatMap doesn't have \".concat(barcodeDetectorFormat);\n }\n return this.reverseFormatMap.get(barcodeDetectorFormat);\n };\n BarcodeDetectorDelegate.prototype.createReverseFormatMap = function () {\n var result = new Map();\n this.formatMap.forEach(function (value, key, _) {\n result.set(value, key);\n });\n return result;\n };\n BarcodeDetectorDelegate.prototype.createDebugData = function () {\n return { decoderName: \"BarcodeDetector\" };\n };\n return BarcodeDetectorDelegate;\n}());\nexport { BarcodeDetectorDelegate };\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nimport { ZXingHtml5QrcodeDecoder } from \"./zxing-html5-qrcode-decoder\";\nimport { BarcodeDetectorDelegate } from \"./native-bar-code-detector\";\nvar Html5QrcodeShim = (function () {\n function Html5QrcodeShim(requestedFormats, useBarCodeDetectorIfSupported, verbose, logger) {\n this.EXECUTIONS_TO_REPORT_PERFORMANCE = 100;\n this.executions = 0;\n this.executionResults = [];\n this.wasPrimaryDecoderUsedInLastDecode = false;\n this.verbose = verbose;\n if (useBarCodeDetectorIfSupported\n && BarcodeDetectorDelegate.isSupported()) {\n this.primaryDecoder = new BarcodeDetectorDelegate(requestedFormats, verbose, logger);\n this.secondaryDecoder = new ZXingHtml5QrcodeDecoder(requestedFormats, verbose, logger);\n }\n else {\n this.primaryDecoder = new ZXingHtml5QrcodeDecoder(requestedFormats, verbose, logger);\n }\n }\n Html5QrcodeShim.prototype.decodeAsync = function (canvas) {\n return __awaiter(this, void 0, void 0, function () {\n var startTime;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n startTime = performance.now();\n _a.label = 1;\n case 1:\n _a.trys.push([1, , 3, 4]);\n return [4, this.getDecoder().decodeAsync(canvas)];\n case 2: return [2, _a.sent()];\n case 3:\n this.possiblyLogPerformance(startTime);\n return [7];\n case 4: return [2];\n }\n });\n });\n };\n Html5QrcodeShim.prototype.decodeRobustlyAsync = function (canvas) {\n return __awaiter(this, void 0, void 0, function () {\n var startTime, error_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n startTime = performance.now();\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, 4, 5]);\n return [4, this.primaryDecoder.decodeAsync(canvas)];\n case 2: return [2, _a.sent()];\n case 3:\n error_1 = _a.sent();\n if (this.secondaryDecoder) {\n return [2, this.secondaryDecoder.decodeAsync(canvas)];\n }\n throw error_1;\n case 4:\n this.possiblyLogPerformance(startTime);\n return [7];\n case 5: return [2];\n }\n });\n });\n };\n Html5QrcodeShim.prototype.getDecoder = function () {\n if (!this.secondaryDecoder) {\n return this.primaryDecoder;\n }\n if (this.wasPrimaryDecoderUsedInLastDecode === false) {\n this.wasPrimaryDecoderUsedInLastDecode = true;\n return this.primaryDecoder;\n }\n this.wasPrimaryDecoderUsedInLastDecode = false;\n return this.secondaryDecoder;\n };\n Html5QrcodeShim.prototype.possiblyLogPerformance = function (startTime) {\n if (!this.verbose) {\n return;\n }\n var executionTime = performance.now() - startTime;\n this.executionResults.push(executionTime);\n this.executions++;\n this.possiblyFlushPerformanceReport();\n };\n Html5QrcodeShim.prototype.possiblyFlushPerformanceReport = function () {\n if (this.executions < this.EXECUTIONS_TO_REPORT_PERFORMANCE) {\n return;\n }\n var sum = 0;\n for (var _i = 0, _a = this.executionResults; _i < _a.length; _i++) {\n var executionTime = _a[_i];\n sum += executionTime;\n }\n var mean = sum / this.executionResults.length;\n console.log(\"\".concat(mean, \" ms for \").concat(this.executionResults.length, \" last runs.\"));\n this.executions = 0;\n this.executionResults = [];\n };\n return Html5QrcodeShim;\n}());\nexport { Html5QrcodeShim };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar AbstractCameraCapability = (function () {\n function AbstractCameraCapability(name, track) {\n this.name = name;\n this.track = track;\n }\n AbstractCameraCapability.prototype.isSupported = function () {\n if (!this.track.getCapabilities) {\n return false;\n }\n return this.name in this.track.getCapabilities();\n };\n AbstractCameraCapability.prototype.apply = function (value) {\n var constraint = {};\n constraint[this.name] = value;\n var constraints = { advanced: [constraint] };\n return this.track.applyConstraints(constraints);\n };\n AbstractCameraCapability.prototype.value = function () {\n var settings = this.track.getSettings();\n if (this.name in settings) {\n var settingValue = settings[this.name];\n return settingValue;\n }\n return null;\n };\n return AbstractCameraCapability;\n}());\nvar AbstractRangeCameraCapability = (function (_super) {\n __extends(AbstractRangeCameraCapability, _super);\n function AbstractRangeCameraCapability(name, track) {\n return _super.call(this, name, track) || this;\n }\n AbstractRangeCameraCapability.prototype.min = function () {\n return this.getCapabilities().min;\n };\n AbstractRangeCameraCapability.prototype.max = function () {\n return this.getCapabilities().max;\n };\n AbstractRangeCameraCapability.prototype.step = function () {\n return this.getCapabilities().step;\n };\n AbstractRangeCameraCapability.prototype.apply = function (value) {\n var constraint = {};\n constraint[this.name] = value;\n var constraints = { advanced: [constraint] };\n return this.track.applyConstraints(constraints);\n };\n AbstractRangeCameraCapability.prototype.getCapabilities = function () {\n this.failIfNotSupported();\n var capabilities = this.track.getCapabilities();\n var capability = capabilities[this.name];\n return {\n min: capability.min,\n max: capability.max,\n step: capability.step,\n };\n };\n AbstractRangeCameraCapability.prototype.failIfNotSupported = function () {\n if (!this.isSupported()) {\n throw new Error(\"\".concat(this.name, \" capability not supported\"));\n }\n };\n return AbstractRangeCameraCapability;\n}(AbstractCameraCapability));\nvar ZoomFeatureImpl = (function (_super) {\n __extends(ZoomFeatureImpl, _super);\n function ZoomFeatureImpl(track) {\n return _super.call(this, \"zoom\", track) || this;\n }\n return ZoomFeatureImpl;\n}(AbstractRangeCameraCapability));\nvar TorchFeatureImpl = (function (_super) {\n __extends(TorchFeatureImpl, _super);\n function TorchFeatureImpl(track) {\n return _super.call(this, \"torch\", track) || this;\n }\n return TorchFeatureImpl;\n}(AbstractCameraCapability));\nvar CameraCapabilitiesImpl = (function () {\n function CameraCapabilitiesImpl(track) {\n this.track = track;\n }\n CameraCapabilitiesImpl.prototype.zoomFeature = function () {\n return new ZoomFeatureImpl(this.track);\n };\n CameraCapabilitiesImpl.prototype.torchFeature = function () {\n return new TorchFeatureImpl(this.track);\n };\n return CameraCapabilitiesImpl;\n}());\nvar RenderedCameraImpl = (function () {\n function RenderedCameraImpl(parentElement, mediaStream, callbacks) {\n this.isClosed = false;\n this.parentElement = parentElement;\n this.mediaStream = mediaStream;\n this.callbacks = callbacks;\n this.surface = this.createVideoElement(this.parentElement.clientWidth);\n parentElement.append(this.surface);\n }\n RenderedCameraImpl.prototype.createVideoElement = function (width) {\n var videoElement = document.createElement(\"video\");\n videoElement.style.width = \"\".concat(width, \"px\");\n videoElement.style.display = \"block\";\n videoElement.muted = true;\n videoElement.setAttribute(\"muted\", \"true\");\n videoElement.playsInline = true;\n return videoElement;\n };\n RenderedCameraImpl.prototype.setupSurface = function () {\n var _this = this;\n this.surface.onabort = function () {\n throw \"RenderedCameraImpl video surface onabort() called\";\n };\n this.surface.onerror = function () {\n throw \"RenderedCameraImpl video surface onerror() called\";\n };\n var onVideoStart = function () {\n var videoWidth = _this.surface.clientWidth;\n var videoHeight = _this.surface.clientHeight;\n _this.callbacks.onRenderSurfaceReady(videoWidth, videoHeight);\n _this.surface.removeEventListener(\"playing\", onVideoStart);\n };\n this.surface.addEventListener(\"playing\", onVideoStart);\n this.surface.srcObject = this.mediaStream;\n this.surface.play();\n };\n RenderedCameraImpl.create = function (parentElement, mediaStream, options, callbacks) {\n return __awaiter(this, void 0, void 0, function () {\n var renderedCamera, aspectRatioConstraint;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n renderedCamera = new RenderedCameraImpl(parentElement, mediaStream, callbacks);\n if (!options.aspectRatio) return [3, 2];\n aspectRatioConstraint = {\n aspectRatio: options.aspectRatio\n };\n return [4, renderedCamera.getFirstTrackOrFail().applyConstraints(aspectRatioConstraint)];\n case 1:\n _a.sent();\n _a.label = 2;\n case 2:\n renderedCamera.setupSurface();\n return [2, renderedCamera];\n }\n });\n });\n };\n RenderedCameraImpl.prototype.failIfClosed = function () {\n if (this.isClosed) {\n throw \"The RenderedCamera has already been closed.\";\n }\n };\n RenderedCameraImpl.prototype.getFirstTrackOrFail = function () {\n this.failIfClosed();\n if (this.mediaStream.getVideoTracks().length === 0) {\n throw \"No video tracks found\";\n }\n return this.mediaStream.getVideoTracks()[0];\n };\n RenderedCameraImpl.prototype.pause = function () {\n this.failIfClosed();\n this.surface.pause();\n };\n RenderedCameraImpl.prototype.resume = function (onResumeCallback) {\n this.failIfClosed();\n var $this = this;\n var onVideoResume = function () {\n setTimeout(onResumeCallback, 200);\n $this.surface.removeEventListener(\"playing\", onVideoResume);\n };\n this.surface.addEventListener(\"playing\", onVideoResume);\n this.surface.play();\n };\n RenderedCameraImpl.prototype.isPaused = function () {\n this.failIfClosed();\n return this.surface.paused;\n };\n RenderedCameraImpl.prototype.getSurface = function () {\n this.failIfClosed();\n return this.surface;\n };\n RenderedCameraImpl.prototype.getRunningTrackCapabilities = function () {\n return this.getFirstTrackOrFail().getCapabilities();\n };\n RenderedCameraImpl.prototype.getRunningTrackSettings = function () {\n return this.getFirstTrackOrFail().getSettings();\n };\n RenderedCameraImpl.prototype.applyVideoConstraints = function (constraints) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (\"aspectRatio\" in constraints) {\n throw \"Changing 'aspectRatio' in run-time is not yet supported.\";\n }\n return [2, this.getFirstTrackOrFail().applyConstraints(constraints)];\n });\n });\n };\n RenderedCameraImpl.prototype.close = function () {\n if (this.isClosed) {\n return Promise.resolve();\n }\n var $this = this;\n return new Promise(function (resolve, _) {\n var tracks = $this.mediaStream.getVideoTracks();\n var tracksToClose = tracks.length;\n var tracksClosed = 0;\n $this.mediaStream.getVideoTracks().forEach(function (videoTrack) {\n $this.mediaStream.removeTrack(videoTrack);\n videoTrack.stop();\n ++tracksClosed;\n if (tracksClosed >= tracksToClose) {\n $this.isClosed = true;\n $this.parentElement.removeChild($this.surface);\n resolve();\n }\n });\n });\n };\n RenderedCameraImpl.prototype.getCapabilities = function () {\n return new CameraCapabilitiesImpl(this.getFirstTrackOrFail());\n };\n return RenderedCameraImpl;\n}());\nvar CameraImpl = (function () {\n function CameraImpl(mediaStream) {\n this.mediaStream = mediaStream;\n }\n CameraImpl.prototype.render = function (parentElement, options, callbacks) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2, RenderedCameraImpl.create(parentElement, this.mediaStream, options, callbacks)];\n });\n });\n };\n CameraImpl.create = function (videoConstraints) {\n return __awaiter(this, void 0, void 0, function () {\n var constraints, mediaStream;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!navigator.mediaDevices) {\n throw \"navigator.mediaDevices not supported\";\n }\n constraints = {\n audio: false,\n video: videoConstraints\n };\n return [4, navigator.mediaDevices.getUserMedia(constraints)];\n case 1:\n mediaStream = _a.sent();\n return [2, new CameraImpl(mediaStream)];\n }\n });\n });\n };\n return CameraImpl;\n}());\nexport { CameraImpl };\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nimport { CameraImpl } from \"./core-impl\";\nvar CameraFactory = (function () {\n function CameraFactory() {\n }\n CameraFactory.failIfNotSupported = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (!navigator.mediaDevices) {\n throw \"navigator.mediaDevices not supported\";\n }\n return [2, new CameraFactory()];\n });\n });\n };\n CameraFactory.prototype.create = function (videoConstraints) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2, CameraImpl.create(videoConstraints)];\n });\n });\n };\n return CameraFactory;\n}());\nexport { CameraFactory };\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nimport { Html5QrcodeStrings } from \"../strings\";\nvar CameraRetriever = (function () {\n function CameraRetriever() {\n }\n CameraRetriever.retrieve = function () {\n if (navigator.mediaDevices) {\n return CameraRetriever.getCamerasFromMediaDevices();\n }\n var mst = MediaStreamTrack;\n if (MediaStreamTrack && mst.getSources) {\n return CameraRetriever.getCamerasFromMediaStreamTrack();\n }\n return CameraRetriever.rejectWithError();\n };\n CameraRetriever.rejectWithError = function () {\n var errorMessage = Html5QrcodeStrings.unableToQuerySupportedDevices();\n if (!CameraRetriever.isHttpsOrLocalhost()) {\n errorMessage = Html5QrcodeStrings.insecureContextCameraQueryError();\n }\n return Promise.reject(errorMessage);\n };\n CameraRetriever.isHttpsOrLocalhost = function () {\n if (location.protocol === \"https:\") {\n return true;\n }\n var host = location.host.split(\":\")[0];\n return host === \"127.0.0.1\" || host === \"localhost\";\n };\n CameraRetriever.getCamerasFromMediaDevices = function () {\n return __awaiter(this, void 0, void 0, function () {\n var closeActiveStreams, mediaStream, devices, results, _i, devices_1, device;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n closeActiveStreams = function (stream) {\n var tracks = stream.getVideoTracks();\n for (var _i = 0, tracks_1 = tracks; _i < tracks_1.length; _i++) {\n var track = tracks_1[_i];\n track.enabled = false;\n track.stop();\n stream.removeTrack(track);\n }\n };\n return [4, navigator.mediaDevices.getUserMedia({ audio: false, video: true })];\n case 1:\n mediaStream = _a.sent();\n return [4, navigator.mediaDevices.enumerateDevices()];\n case 2:\n devices = _a.sent();\n results = [];\n for (_i = 0, devices_1 = devices; _i < devices_1.length; _i++) {\n device = devices_1[_i];\n if (device.kind === \"videoinput\") {\n results.push({\n id: device.deviceId,\n label: device.label\n });\n }\n }\n closeActiveStreams(mediaStream);\n return [2, results];\n }\n });\n });\n };\n CameraRetriever.getCamerasFromMediaStreamTrack = function () {\n return new Promise(function (resolve, _) {\n var callback = function (sourceInfos) {\n var results = [];\n for (var _i = 0, sourceInfos_1 = sourceInfos; _i < sourceInfos_1.length; _i++) {\n var sourceInfo = sourceInfos_1[_i];\n if (sourceInfo.kind === \"video\") {\n results.push({\n id: sourceInfo.id,\n label: sourceInfo.label\n });\n }\n }\n resolve(results);\n };\n var mst = MediaStreamTrack;\n mst.getSources(callback);\n });\n };\n return CameraRetriever;\n}());\nexport { CameraRetriever };\n","export var Html5QrcodeScannerState;\n(function (Html5QrcodeScannerState) {\n Html5QrcodeScannerState[Html5QrcodeScannerState[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\n Html5QrcodeScannerState[Html5QrcodeScannerState[\"NOT_STARTED\"] = 1] = \"NOT_STARTED\";\n Html5QrcodeScannerState[Html5QrcodeScannerState[\"SCANNING\"] = 2] = \"SCANNING\";\n Html5QrcodeScannerState[Html5QrcodeScannerState[\"PAUSED\"] = 3] = \"PAUSED\";\n})(Html5QrcodeScannerState || (Html5QrcodeScannerState = {}));\nvar StateManagerImpl = (function () {\n function StateManagerImpl() {\n this.state = Html5QrcodeScannerState.NOT_STARTED;\n this.onGoingTransactionNewState = Html5QrcodeScannerState.UNKNOWN;\n }\n StateManagerImpl.prototype.directTransition = function (newState) {\n this.failIfTransitionOngoing();\n this.validateTransition(newState);\n this.state = newState;\n };\n StateManagerImpl.prototype.startTransition = function (newState) {\n this.failIfTransitionOngoing();\n this.validateTransition(newState);\n this.onGoingTransactionNewState = newState;\n return this;\n };\n StateManagerImpl.prototype.execute = function () {\n if (this.onGoingTransactionNewState\n === Html5QrcodeScannerState.UNKNOWN) {\n throw \"Transaction is already cancelled, cannot execute().\";\n }\n var tempNewState = this.onGoingTransactionNewState;\n this.onGoingTransactionNewState = Html5QrcodeScannerState.UNKNOWN;\n this.directTransition(tempNewState);\n };\n StateManagerImpl.prototype.cancel = function () {\n if (this.onGoingTransactionNewState\n === Html5QrcodeScannerState.UNKNOWN) {\n throw \"Transaction is already cancelled, cannot cancel().\";\n }\n this.onGoingTransactionNewState = Html5QrcodeScannerState.UNKNOWN;\n };\n StateManagerImpl.prototype.getState = function () {\n return this.state;\n };\n StateManagerImpl.prototype.failIfTransitionOngoing = function () {\n if (this.onGoingTransactionNewState\n !== Html5QrcodeScannerState.UNKNOWN) {\n throw \"Cannot transition to a new state, already under transition\";\n }\n };\n StateManagerImpl.prototype.validateTransition = function (newState) {\n switch (this.state) {\n case Html5QrcodeScannerState.UNKNOWN:\n throw \"Transition from unknown is not allowed\";\n case Html5QrcodeScannerState.NOT_STARTED:\n this.failIfNewStateIs(newState, [Html5QrcodeScannerState.PAUSED]);\n break;\n case Html5QrcodeScannerState.SCANNING:\n break;\n case Html5QrcodeScannerState.PAUSED:\n break;\n }\n };\n StateManagerImpl.prototype.failIfNewStateIs = function (newState, disallowedStatesToTransition) {\n for (var _i = 0, disallowedStatesToTransition_1 = disallowedStatesToTransition; _i < disallowedStatesToTransition_1.length; _i++) {\n var disallowedState = disallowedStatesToTransition_1[_i];\n if (newState === disallowedState) {\n throw \"Cannot transition from \".concat(this.state, \" to \").concat(newState);\n }\n }\n };\n return StateManagerImpl;\n}());\nvar StateManagerProxy = (function () {\n function StateManagerProxy(stateManager) {\n this.stateManager = stateManager;\n }\n StateManagerProxy.prototype.startTransition = function (newState) {\n return this.stateManager.startTransition(newState);\n };\n StateManagerProxy.prototype.directTransition = function (newState) {\n this.stateManager.directTransition(newState);\n };\n StateManagerProxy.prototype.getState = function () {\n return this.stateManager.getState();\n };\n StateManagerProxy.prototype.canScanFile = function () {\n return this.stateManager.getState() === Html5QrcodeScannerState.NOT_STARTED;\n };\n StateManagerProxy.prototype.isScanning = function () {\n return this.stateManager.getState() !== Html5QrcodeScannerState.NOT_STARTED;\n };\n StateManagerProxy.prototype.isStrictlyScanning = function () {\n return this.stateManager.getState() === Html5QrcodeScannerState.SCANNING;\n };\n StateManagerProxy.prototype.isPaused = function () {\n return this.stateManager.getState() === Html5QrcodeScannerState.PAUSED;\n };\n return StateManagerProxy;\n}());\nexport { StateManagerProxy };\nvar StateManagerFactory = (function () {\n function StateManagerFactory() {\n }\n StateManagerFactory.create = function () {\n return new StateManagerProxy(new StateManagerImpl());\n };\n return StateManagerFactory;\n}());\nexport { StateManagerFactory };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { BaseLoggger, Html5QrcodeResultFactory, Html5QrcodeErrorFactory, Html5QrcodeSupportedFormats, isValidHtml5QrcodeSupportedFormats, Html5QrcodeConstants, isNullOrUndefined } from \"./core\";\nimport { Html5QrcodeStrings } from \"./strings\";\nimport { VideoConstraintsUtil } from \"./utils\";\nimport { Html5QrcodeShim } from \"./code-decoder\";\nimport { CameraFactory } from \"./camera/factories\";\nimport { CameraRetriever } from \"./camera/retriever\";\nimport { StateManagerFactory, Html5QrcodeScannerState } from \"./state-manager\";\nvar Constants = (function (_super) {\n __extends(Constants, _super);\n function Constants() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Constants.DEFAULT_WIDTH = 300;\n Constants.DEFAULT_WIDTH_OFFSET = 2;\n Constants.FILE_SCAN_MIN_HEIGHT = 300;\n Constants.FILE_SCAN_HIDDEN_CANVAS_PADDING = 100;\n Constants.MIN_QR_BOX_SIZE = 50;\n Constants.SHADED_LEFT = 1;\n Constants.SHADED_RIGHT = 2;\n Constants.SHADED_TOP = 3;\n Constants.SHADED_BOTTOM = 4;\n Constants.SHADED_REGION_ELEMENT_ID = \"qr-shaded-region\";\n Constants.VERBOSE = false;\n Constants.BORDER_SHADER_DEFAULT_COLOR = \"#ffffff\";\n Constants.BORDER_SHADER_MATCH_COLOR = \"rgb(90, 193, 56)\";\n return Constants;\n}(Html5QrcodeConstants));\nvar InternalHtml5QrcodeConfig = (function () {\n function InternalHtml5QrcodeConfig(config, logger) {\n this.logger = logger;\n this.fps = Constants.SCAN_DEFAULT_FPS;\n if (!config) {\n this.disableFlip = Constants.DEFAULT_DISABLE_FLIP;\n }\n else {\n if (config.fps) {\n this.fps = config.fps;\n }\n this.disableFlip = config.disableFlip === true;\n this.qrbox = config.qrbox;\n this.aspectRatio = config.aspectRatio;\n this.videoConstraints = config.videoConstraints;\n }\n }\n InternalHtml5QrcodeConfig.prototype.isMediaStreamConstraintsValid = function () {\n if (!this.videoConstraints) {\n this.logger.logError(\"Empty videoConstraints\", true);\n return false;\n }\n return VideoConstraintsUtil.isMediaStreamConstraintsValid(this.videoConstraints, this.logger);\n };\n InternalHtml5QrcodeConfig.prototype.isShadedBoxEnabled = function () {\n return !isNullOrUndefined(this.qrbox);\n };\n InternalHtml5QrcodeConfig.create = function (config, logger) {\n return new InternalHtml5QrcodeConfig(config, logger);\n };\n return InternalHtml5QrcodeConfig;\n}());\nvar Html5Qrcode = (function () {\n function Html5Qrcode(elementId, configOrVerbosityFlag) {\n this.element = null;\n this.canvasElement = null;\n this.scannerPausedUiElement = null;\n this.hasBorderShaders = null;\n this.borderShaders = null;\n this.qrMatch = null;\n this.renderedCamera = null;\n this.qrRegion = null;\n this.context = null;\n this.lastScanImageFile = null;\n this.isScanning = false;\n if (!document.getElementById(elementId)) {\n throw \"HTML Element with id=\".concat(elementId, \" not found\");\n }\n this.elementId = elementId;\n this.verbose = false;\n var experimentalFeatureConfig;\n var configObject;\n if (typeof configOrVerbosityFlag == \"boolean\") {\n this.verbose = configOrVerbosityFlag === true;\n }\n else if (configOrVerbosityFlag) {\n configObject = configOrVerbosityFlag;\n this.verbose = configObject.verbose === true;\n experimentalFeatureConfig = configObject.experimentalFeatures;\n }\n this.logger = new BaseLoggger(this.verbose);\n this.qrcode = new Html5QrcodeShim(this.getSupportedFormats(configOrVerbosityFlag), this.getUseBarCodeDetectorIfSupported(configObject), this.verbose, this.logger);\n this.foreverScanTimeout;\n this.shouldScan = true;\n this.stateManagerProxy = StateManagerFactory.create();\n }\n Html5Qrcode.prototype.start = function (cameraIdOrConfig, configuration, qrCodeSuccessCallback, qrCodeErrorCallback) {\n var _this = this;\n if (!cameraIdOrConfig) {\n throw \"cameraIdOrConfig is required\";\n }\n if (!qrCodeSuccessCallback\n || typeof qrCodeSuccessCallback != \"function\") {\n throw \"qrCodeSuccessCallback is required and should be a function.\";\n }\n var qrCodeErrorCallbackInternal;\n if (qrCodeErrorCallback) {\n qrCodeErrorCallbackInternal = qrCodeErrorCallback;\n }\n else {\n qrCodeErrorCallbackInternal\n = this.verbose ? this.logger.log : function () { };\n }\n var internalConfig = InternalHtml5QrcodeConfig.create(configuration, this.logger);\n this.clearElement();\n var videoConstraintsAvailableAndValid = false;\n if (internalConfig.videoConstraints) {\n if (!internalConfig.isMediaStreamConstraintsValid()) {\n this.logger.logError(\"'videoConstraints' is not valid 'MediaStreamConstraints, \"\n + \"it will be ignored.'\", true);\n }\n else {\n videoConstraintsAvailableAndValid = true;\n }\n }\n var areVideoConstraintsEnabled = videoConstraintsAvailableAndValid;\n var element = document.getElementById(this.elementId);\n var rootElementWidth = element.clientWidth\n ? element.clientWidth : Constants.DEFAULT_WIDTH;\n element.style.position = \"relative\";\n this.shouldScan = true;\n this.element = element;\n var $this = this;\n var toScanningStateChangeTransaction = this.stateManagerProxy.startTransition(Html5QrcodeScannerState.SCANNING);\n return new Promise(function (resolve, reject) {\n var videoConstraints = areVideoConstraintsEnabled\n ? internalConfig.videoConstraints\n : $this.createVideoConstraints(cameraIdOrConfig);\n if (!videoConstraints) {\n toScanningStateChangeTransaction.cancel();\n reject(\"videoConstraints should be defined\");\n return;\n }\n var cameraRenderingOptions = {};\n if (!areVideoConstraintsEnabled || internalConfig.aspectRatio) {\n cameraRenderingOptions.aspectRatio = internalConfig.aspectRatio;\n }\n var renderingCallbacks = {\n onRenderSurfaceReady: function (viewfinderWidth, viewfinderHeight) {\n $this.setupUi(viewfinderWidth, viewfinderHeight, internalConfig);\n $this.isScanning = true;\n $this.foreverScan(internalConfig, qrCodeSuccessCallback, qrCodeErrorCallbackInternal);\n }\n };\n CameraFactory.failIfNotSupported().then(function (factory) {\n factory.create(videoConstraints).then(function (camera) {\n return camera.render(_this.element, cameraRenderingOptions, renderingCallbacks)\n .then(function (renderedCamera) {\n $this.renderedCamera = renderedCamera;\n toScanningStateChangeTransaction.execute();\n resolve(null);\n })\n .catch(function (error) {\n toScanningStateChangeTransaction.cancel();\n reject(error);\n });\n }).catch(function (error) {\n toScanningStateChangeTransaction.cancel();\n reject(Html5QrcodeStrings.errorGettingUserMedia(error));\n });\n }).catch(function (_) {\n toScanningStateChangeTransaction.cancel();\n reject(Html5QrcodeStrings.cameraStreamingNotSupported());\n });\n });\n };\n Html5Qrcode.prototype.pause = function (shouldPauseVideo) {\n if (!this.stateManagerProxy.isStrictlyScanning()) {\n throw \"Cannot pause, scanner is not scanning.\";\n }\n this.stateManagerProxy.directTransition(Html5QrcodeScannerState.PAUSED);\n this.showPausedState();\n if (isNullOrUndefined(shouldPauseVideo) || shouldPauseVideo !== true) {\n shouldPauseVideo = false;\n }\n if (shouldPauseVideo && this.renderedCamera) {\n this.renderedCamera.pause();\n }\n };\n Html5Qrcode.prototype.resume = function () {\n if (!this.stateManagerProxy.isPaused()) {\n throw \"Cannot result, scanner is not paused.\";\n }\n if (!this.renderedCamera) {\n throw \"renderedCamera doesn't exist while trying resume()\";\n }\n var $this = this;\n var transitionToScanning = function () {\n $this.stateManagerProxy.directTransition(Html5QrcodeScannerState.SCANNING);\n $this.hidePausedState();\n };\n if (!this.renderedCamera.isPaused()) {\n transitionToScanning();\n return;\n }\n this.renderedCamera.resume(function () {\n transitionToScanning();\n });\n };\n Html5Qrcode.prototype.getState = function () {\n return this.stateManagerProxy.getState();\n };\n Html5Qrcode.prototype.stop = function () {\n var _this = this;\n if (!this.stateManagerProxy.isScanning()) {\n throw \"Cannot stop, scanner is not running or paused.\";\n }\n var toStoppedStateTransaction = this.stateManagerProxy.startTransition(Html5QrcodeScannerState.NOT_STARTED);\n this.shouldScan = false;\n if (this.foreverScanTimeout) {\n clearTimeout(this.foreverScanTimeout);\n }\n var removeQrRegion = function () {\n if (!_this.element) {\n return;\n }\n var childElement = document.getElementById(Constants.SHADED_REGION_ELEMENT_ID);\n if (childElement) {\n _this.element.removeChild(childElement);\n }\n };\n var $this = this;\n return this.renderedCamera.close().then(function () {\n $this.renderedCamera = null;\n if ($this.element) {\n $this.element.removeChild($this.canvasElement);\n $this.canvasElement = null;\n }\n removeQrRegion();\n if ($this.qrRegion) {\n $this.qrRegion = null;\n }\n if ($this.context) {\n $this.context = null;\n }\n toStoppedStateTransaction.execute();\n $this.hidePausedState();\n $this.isScanning = false;\n return Promise.resolve();\n });\n };\n Html5Qrcode.prototype.scanFile = function (imageFile, showImage) {\n return this.scanFileV2(imageFile, showImage)\n .then(function (html5qrcodeResult) { return html5qrcodeResult.decodedText; });\n };\n Html5Qrcode.prototype.scanFileV2 = function (imageFile, showImage) {\n var _this = this;\n if (!imageFile || !(imageFile instanceof File)) {\n throw \"imageFile argument is mandatory and should be instance \"\n + \"of File. Use 'event.target.files[0]'.\";\n }\n if (isNullOrUndefined(showImage)) {\n showImage = true;\n }\n if (!this.stateManagerProxy.canScanFile()) {\n throw \"Cannot start file scan - ongoing camera scan\";\n }\n return new Promise(function (resolve, reject) {\n _this.possiblyCloseLastScanImageFile();\n _this.clearElement();\n _this.lastScanImageFile = URL.createObjectURL(imageFile);\n var inputImage = new Image;\n inputImage.onload = function () {\n var imageWidth = inputImage.width;\n var imageHeight = inputImage.height;\n var element = document.getElementById(_this.elementId);\n var containerWidth = element.clientWidth\n ? element.clientWidth : Constants.DEFAULT_WIDTH;\n var containerHeight = Math.max(element.clientHeight ? element.clientHeight : imageHeight, Constants.FILE_SCAN_MIN_HEIGHT);\n var config = _this.computeCanvasDrawConfig(imageWidth, imageHeight, containerWidth, containerHeight);\n if (showImage) {\n var visibleCanvas = _this.createCanvasElement(containerWidth, containerHeight, \"qr-canvas-visible\");\n visibleCanvas.style.display = \"inline-block\";\n element.appendChild(visibleCanvas);\n var context_1 = visibleCanvas.getContext(\"2d\");\n if (!context_1) {\n throw \"Unable to get 2d context from canvas\";\n }\n context_1.canvas.width = containerWidth;\n context_1.canvas.height = containerHeight;\n context_1.drawImage(inputImage, 0, 0, imageWidth, imageHeight, config.x, config.y, config.width, config.height);\n }\n var padding = Constants.FILE_SCAN_HIDDEN_CANVAS_PADDING;\n var hiddenImageWidth = Math.max(inputImage.width, config.width);\n var hiddenImageHeight = Math.max(inputImage.height, config.height);\n var hiddenCanvasWidth = hiddenImageWidth + 2 * padding;\n var hiddenCanvasHeight = hiddenImageHeight + 2 * padding;\n var hiddenCanvas = _this.createCanvasElement(hiddenCanvasWidth, hiddenCanvasHeight);\n element.appendChild(hiddenCanvas);\n var context = hiddenCanvas.getContext(\"2d\");\n if (!context) {\n throw \"Unable to get 2d context from canvas\";\n }\n context.canvas.width = hiddenCanvasWidth;\n context.canvas.height = hiddenCanvasHeight;\n context.drawImage(inputImage, 0, 0, imageWidth, imageHeight, padding, padding, hiddenImageWidth, hiddenImageHeight);\n try {\n _this.qrcode.decodeRobustlyAsync(hiddenCanvas)\n .then(function (result) {\n resolve(Html5QrcodeResultFactory.createFromQrcodeResult(result));\n })\n .catch(reject);\n }\n catch (exception) {\n reject(\"QR code parse error, error = \".concat(exception));\n }\n };\n inputImage.onerror = reject;\n inputImage.onabort = reject;\n inputImage.onstalled = reject;\n inputImage.onsuspend = reject;\n inputImage.src = URL.createObjectURL(imageFile);\n });\n };\n Html5Qrcode.prototype.clear = function () {\n this.clearElement();\n };\n Html5Qrcode.getCameras = function () {\n return CameraRetriever.retrieve();\n };\n Html5Qrcode.prototype.getRunningTrackCapabilities = function () {\n return this.getRenderedCameraOrFail().getRunningTrackCapabilities();\n };\n Html5Qrcode.prototype.getRunningTrackSettings = function () {\n return this.getRenderedCameraOrFail().getRunningTrackSettings();\n };\n Html5Qrcode.prototype.getRunningTrackCameraCapabilities = function () {\n return this.getRenderedCameraOrFail().getCapabilities();\n };\n Html5Qrcode.prototype.applyVideoConstraints = function (videoConstaints) {\n if (!videoConstaints) {\n throw \"videoConstaints is required argument.\";\n }\n else if (!VideoConstraintsUtil.isMediaStreamConstraintsValid(videoConstaints, this.logger)) {\n throw \"invalid videoConstaints passed, check logs for more details\";\n }\n return this.getRenderedCameraOrFail().applyVideoConstraints(videoConstaints);\n };\n Html5Qrcode.prototype.getRenderedCameraOrFail = function () {\n if (this.renderedCamera == null) {\n throw \"Scanning is not in running state, call this API only when\"\n + \" QR code scanning using camera is in running state.\";\n }\n return this.renderedCamera;\n };\n Html5Qrcode.prototype.getSupportedFormats = function (configOrVerbosityFlag) {\n var allFormats = [\n Html5QrcodeSupportedFormats.QR_CODE,\n Html5QrcodeSupportedFormats.AZTEC,\n Html5QrcodeSupportedFormats.CODABAR,\n Html5QrcodeSupportedFormats.CODE_39,\n Html5QrcodeSupportedFormats.CODE_93,\n Html5QrcodeSupportedFormats.CODE_128,\n Html5QrcodeSupportedFormats.DATA_MATRIX,\n Html5QrcodeSupportedFormats.MAXICODE,\n Html5QrcodeSupportedFormats.ITF,\n Html5QrcodeSupportedFormats.EAN_13,\n Html5QrcodeSupportedFormats.EAN_8,\n Html5QrcodeSupportedFormats.PDF_417,\n Html5QrcodeSupportedFormats.RSS_14,\n Html5QrcodeSupportedFormats.RSS_EXPANDED,\n Html5QrcodeSupportedFormats.UPC_A,\n Html5QrcodeSupportedFormats.UPC_E,\n Html5QrcodeSupportedFormats.UPC_EAN_EXTENSION,\n ];\n if (!configOrVerbosityFlag\n || typeof configOrVerbosityFlag == \"boolean\") {\n return allFormats;\n }\n if (!configOrVerbosityFlag.formatsToSupport) {\n return allFormats;\n }\n if (!Array.isArray(configOrVerbosityFlag.formatsToSupport)) {\n throw \"configOrVerbosityFlag.formatsToSupport should be undefined \"\n + \"or an array.\";\n }\n if (configOrVerbosityFlag.formatsToSupport.length === 0) {\n throw \"Atleast 1 formatsToSupport is needed.\";\n }\n var supportedFormats = [];\n for (var _i = 0, _a = configOrVerbosityFlag.formatsToSupport; _i < _a.length; _i++) {\n var format = _a[_i];\n if (isValidHtml5QrcodeSupportedFormats(format)) {\n supportedFormats.push(format);\n }\n else {\n this.logger.warn(\"Invalid format: \".concat(format, \" passed in config, ignoring.\"));\n }\n }\n if (supportedFormats.length === 0) {\n throw \"None of formatsToSupport match supported values.\";\n }\n return supportedFormats;\n };\n Html5Qrcode.prototype.getUseBarCodeDetectorIfSupported = function (config) {\n if (isNullOrUndefined(config)) {\n return true;\n }\n if (!isNullOrUndefined(config.useBarCodeDetectorIfSupported)) {\n return config.useBarCodeDetectorIfSupported !== false;\n }\n if (isNullOrUndefined(config.experimentalFeatures)) {\n return true;\n }\n var experimentalFeatures = config.experimentalFeatures;\n if (isNullOrUndefined(experimentalFeatures.useBarCodeDetectorIfSupported)) {\n return true;\n }\n return experimentalFeatures.useBarCodeDetectorIfSupported !== false;\n };\n Html5Qrcode.prototype.validateQrboxSize = function (viewfinderWidth, viewfinderHeight, internalConfig) {\n var _this = this;\n var qrboxSize = internalConfig.qrbox;\n this.validateQrboxConfig(qrboxSize);\n var qrDimensions = this.toQrdimensions(viewfinderWidth, viewfinderHeight, qrboxSize);\n var validateMinSize = function (size) {\n if (size < Constants.MIN_QR_BOX_SIZE) {\n throw \"minimum size of 'config.qrbox' dimension value is\"\n + \" \".concat(Constants.MIN_QR_BOX_SIZE, \"px.\");\n }\n };\n var correctWidthBasedOnRootElementSize = function (configWidth) {\n if (configWidth > viewfinderWidth) {\n _this.logger.warn(\"`qrbox.width` or `qrbox` is larger than the\"\n + \" width of the root element. The width will be truncated\"\n + \" to the width of root element.\");\n configWidth = viewfinderWidth;\n }\n return configWidth;\n };\n validateMinSize(qrDimensions.width);\n validateMinSize(qrDimensions.height);\n qrDimensions.width = correctWidthBasedOnRootElementSize(qrDimensions.width);\n };\n Html5Qrcode.prototype.validateQrboxConfig = function (qrboxSize) {\n if (typeof qrboxSize === \"number\") {\n return;\n }\n if (typeof qrboxSize === \"function\") {\n return;\n }\n if (qrboxSize.width === undefined || qrboxSize.height === undefined) {\n throw \"Invalid instance of QrDimensions passed for \"\n + \"'config.qrbox'. Both 'width' and 'height' should be set.\";\n }\n };\n Html5Qrcode.prototype.toQrdimensions = function (viewfinderWidth, viewfinderHeight, qrboxSize) {\n if (typeof qrboxSize === \"number\") {\n return { width: qrboxSize, height: qrboxSize };\n }\n else if (typeof qrboxSize === \"function\") {\n try {\n return qrboxSize(viewfinderWidth, viewfinderHeight);\n }\n catch (error) {\n throw new Error(\"qrbox config was passed as a function but it failed with \"\n + \"unknown error\" + error);\n }\n }\n return qrboxSize;\n };\n Html5Qrcode.prototype.setupUi = function (viewfinderWidth, viewfinderHeight, internalConfig) {\n if (internalConfig.isShadedBoxEnabled()) {\n this.validateQrboxSize(viewfinderWidth, viewfinderHeight, internalConfig);\n }\n var qrboxSize = isNullOrUndefined(internalConfig.qrbox) ?\n { width: viewfinderWidth, height: viewfinderHeight } : internalConfig.qrbox;\n this.validateQrboxConfig(qrboxSize);\n var qrDimensions = this.toQrdimensions(viewfinderWidth, viewfinderHeight, qrboxSize);\n if (qrDimensions.height > viewfinderHeight) {\n this.logger.warn(\"[Html5Qrcode] config.qrbox has height that is\"\n + \"greater than the height of the video stream. Shading will be\"\n + \" ignored\");\n }\n var shouldShadingBeApplied = internalConfig.isShadedBoxEnabled()\n && qrDimensions.height <= viewfinderHeight;\n var defaultQrRegion = {\n x: 0,\n y: 0,\n width: viewfinderWidth,\n height: viewfinderHeight\n };\n var qrRegion = shouldShadingBeApplied\n ? this.getShadedRegionBounds(viewfinderWidth, viewfinderHeight, qrDimensions)\n : defaultQrRegion;\n var canvasElement = this.createCanvasElement(qrRegion.width, qrRegion.height);\n var contextAttributes = { willReadFrequently: true };\n var context = canvasElement.getContext(\"2d\", contextAttributes);\n context.canvas.width = qrRegion.width;\n context.canvas.height = qrRegion.height;\n this.element.append(canvasElement);\n if (shouldShadingBeApplied) {\n this.possiblyInsertShadingElement(this.element, viewfinderWidth, viewfinderHeight, qrDimensions);\n }\n this.createScannerPausedUiElement(this.element);\n this.qrRegion = qrRegion;\n this.context = context;\n this.canvasElement = canvasElement;\n };\n Html5Qrcode.prototype.createScannerPausedUiElement = function (rootElement) {\n var scannerPausedUiElement = document.createElement(\"div\");\n scannerPausedUiElement.innerText = Html5QrcodeStrings.scannerPaused();\n scannerPausedUiElement.style.display = \"none\";\n scannerPausedUiElement.style.position = \"absolute\";\n scannerPausedUiElement.style.top = \"0px\";\n scannerPausedUiElement.style.zIndex = \"1\";\n scannerPausedUiElement.style.background = \"rgba(9, 9, 9, 0.46)\";\n scannerPausedUiElement.style.color = \"#FFECEC\";\n scannerPausedUiElement.style.textAlign = \"center\";\n scannerPausedUiElement.style.width = \"100%\";\n rootElement.appendChild(scannerPausedUiElement);\n this.scannerPausedUiElement = scannerPausedUiElement;\n };\n Html5Qrcode.prototype.scanContext = function (qrCodeSuccessCallback, qrCodeErrorCallback) {\n var _this = this;\n if (this.stateManagerProxy.isPaused()) {\n return Promise.resolve(false);\n }\n return this.qrcode.decodeAsync(this.canvasElement)\n .then(function (result) {\n qrCodeSuccessCallback(result.text, Html5QrcodeResultFactory.createFromQrcodeResult(result));\n _this.possiblyUpdateShaders(true);\n return true;\n }).catch(function (error) {\n _this.possiblyUpdateShaders(false);\n var errorMessage = Html5QrcodeStrings.codeParseError(error);\n qrCodeErrorCallback(errorMessage, Html5QrcodeErrorFactory.createFrom(errorMessage));\n return false;\n });\n };\n Html5Qrcode.prototype.foreverScan = function (internalConfig, qrCodeSuccessCallback, qrCodeErrorCallback) {\n var _this = this;\n if (!this.shouldScan) {\n return;\n }\n if (!this.renderedCamera) {\n return;\n }\n var videoElement = this.renderedCamera.getSurface();\n var widthRatio = videoElement.videoWidth / videoElement.clientWidth;\n var heightRatio = videoElement.videoHeight / videoElement.clientHeight;\n if (!this.qrRegion) {\n throw \"qrRegion undefined when localMediaStream is ready.\";\n }\n var sWidthOffset = this.qrRegion.width * widthRatio;\n var sHeightOffset = this.qrRegion.height * heightRatio;\n var sxOffset = this.qrRegion.x * widthRatio;\n var syOffset = this.qrRegion.y * heightRatio;\n this.context.drawImage(videoElement, sxOffset, syOffset, sWidthOffset, sHeightOffset, 0, 0, this.qrRegion.width, this.qrRegion.height);\n var triggerNextScan = function () {\n _this.foreverScanTimeout = setTimeout(function () {\n _this.foreverScan(internalConfig, qrCodeSuccessCallback, qrCodeErrorCallback);\n }, _this.getTimeoutFps(internalConfig.fps));\n };\n this.scanContext(qrCodeSuccessCallback, qrCodeErrorCallback)\n .then(function (isSuccessfull) {\n if (!isSuccessfull && internalConfig.disableFlip !== true) {\n _this.context.translate(_this.context.canvas.width, 0);\n _this.context.scale(-1, 1);\n _this.scanContext(qrCodeSuccessCallback, qrCodeErrorCallback)\n .finally(function () {\n triggerNextScan();\n });\n }\n else {\n triggerNextScan();\n }\n }).catch(function (error) {\n _this.logger.logError(\"Error happend while scanning context\", error);\n triggerNextScan();\n });\n };\n Html5Qrcode.prototype.createVideoConstraints = function (cameraIdOrConfig) {\n if (typeof cameraIdOrConfig == \"string\") {\n return { deviceId: { exact: cameraIdOrConfig } };\n }\n else if (typeof cameraIdOrConfig == \"object\") {\n var facingModeKey = \"facingMode\";\n var deviceIdKey = \"deviceId\";\n var allowedFacingModeValues_1 = { \"user\": true, \"environment\": true };\n var exactKey = \"exact\";\n var isValidFacingModeValue = function (value) {\n if (value in allowedFacingModeValues_1) {\n return true;\n }\n else {\n throw \"config has invalid 'facingMode' value = \"\n + \"'\".concat(value, \"'\");\n }\n };\n var keys = Object.keys(cameraIdOrConfig);\n if (keys.length !== 1) {\n throw \"'cameraIdOrConfig' object should have exactly 1 key,\"\n + \" if passed as an object, found \".concat(keys.length, \" keys\");\n }\n var key = Object.keys(cameraIdOrConfig)[0];\n if (key !== facingModeKey && key !== deviceIdKey) {\n throw \"Only '\".concat(facingModeKey, \"' and '\").concat(deviceIdKey, \"' \")\n + \" are supported for 'cameraIdOrConfig'\";\n }\n if (key === facingModeKey) {\n var facingMode = cameraIdOrConfig.facingMode;\n if (typeof facingMode == \"string\") {\n if (isValidFacingModeValue(facingMode)) {\n return { facingMode: facingMode };\n }\n }\n else if (typeof facingMode == \"object\") {\n if (exactKey in facingMode) {\n if (isValidFacingModeValue(facingMode[\"\".concat(exactKey)])) {\n return {\n facingMode: {\n exact: facingMode[\"\".concat(exactKey)]\n }\n };\n }\n }\n else {\n throw \"'facingMode' should be string or object with\"\n + \" \".concat(exactKey, \" as key.\");\n }\n }\n else {\n var type_1 = (typeof facingMode);\n throw \"Invalid type of 'facingMode' = \".concat(type_1);\n }\n }\n else {\n var deviceId = cameraIdOrConfig.deviceId;\n if (typeof deviceId == \"string\") {\n return { deviceId: deviceId };\n }\n else if (typeof deviceId == \"object\") {\n if (exactKey in deviceId) {\n return {\n deviceId: { exact: deviceId[\"\".concat(exactKey)] }\n };\n }\n else {\n throw \"'deviceId' should be string or object with\"\n + \" \".concat(exactKey, \" as key.\");\n }\n }\n else {\n var type_2 = (typeof deviceId);\n throw \"Invalid type of 'deviceId' = \".concat(type_2);\n }\n }\n }\n var type = (typeof cameraIdOrConfig);\n throw \"Invalid type of 'cameraIdOrConfig' = \".concat(type);\n };\n Html5Qrcode.prototype.computeCanvasDrawConfig = function (imageWidth, imageHeight, containerWidth, containerHeight) {\n if (imageWidth <= containerWidth\n && imageHeight <= containerHeight) {\n var xoffset = (containerWidth - imageWidth) / 2;\n var yoffset = (containerHeight - imageHeight) / 2;\n return {\n x: xoffset,\n y: yoffset,\n width: imageWidth,\n height: imageHeight\n };\n }\n else {\n var formerImageWidth = imageWidth;\n var formerImageHeight = imageHeight;\n if (imageWidth > containerWidth) {\n imageHeight = (containerWidth / imageWidth) * imageHeight;\n imageWidth = containerWidth;\n }\n if (imageHeight > containerHeight) {\n imageWidth = (containerHeight / imageHeight) * imageWidth;\n imageHeight = containerHeight;\n }\n this.logger.log(\"Image downsampled from \"\n + \"\".concat(formerImageWidth, \"X\").concat(formerImageHeight)\n + \" to \".concat(imageWidth, \"X\").concat(imageHeight, \".\"));\n return this.computeCanvasDrawConfig(imageWidth, imageHeight, containerWidth, containerHeight);\n }\n };\n Html5Qrcode.prototype.clearElement = function () {\n if (this.stateManagerProxy.isScanning()) {\n throw \"Cannot clear while scan is ongoing, close it first.\";\n }\n var element = document.getElementById(this.elementId);\n if (element) {\n element.innerHTML = \"\";\n }\n };\n Html5Qrcode.prototype.possiblyUpdateShaders = function (qrMatch) {\n if (this.qrMatch === qrMatch) {\n return;\n }\n if (this.hasBorderShaders\n && this.borderShaders\n && this.borderShaders.length) {\n this.borderShaders.forEach(function (shader) {\n shader.style.backgroundColor = qrMatch\n ? Constants.BORDER_SHADER_MATCH_COLOR\n : Constants.BORDER_SHADER_DEFAULT_COLOR;\n });\n }\n this.qrMatch = qrMatch;\n };\n Html5Qrcode.prototype.possiblyCloseLastScanImageFile = function () {\n if (this.lastScanImageFile) {\n URL.revokeObjectURL(this.lastScanImageFile);\n this.lastScanImageFile = null;\n }\n };\n Html5Qrcode.prototype.createCanvasElement = function (width, height, customId) {\n var canvasWidth = width;\n var canvasHeight = height;\n var canvasElement = document.createElement(\"canvas\");\n canvasElement.style.width = \"\".concat(canvasWidth, \"px\");\n canvasElement.style.height = \"\".concat(canvasHeight, \"px\");\n canvasElement.style.display = \"none\";\n canvasElement.id = isNullOrUndefined(customId)\n ? \"qr-canvas\" : customId;\n return canvasElement;\n };\n Html5Qrcode.prototype.getShadedRegionBounds = function (width, height, qrboxSize) {\n if (qrboxSize.width > width || qrboxSize.height > height) {\n throw \"'config.qrbox' dimensions should not be greater than the \"\n + \"dimensions of the root HTML element.\";\n }\n return {\n x: (width - qrboxSize.width) / 2,\n y: (height - qrboxSize.height) / 2,\n width: qrboxSize.width,\n height: qrboxSize.height\n };\n };\n Html5Qrcode.prototype.possiblyInsertShadingElement = function (element, width, height, qrboxSize) {\n if ((width - qrboxSize.width) < 1 || (height - qrboxSize.height) < 1) {\n return;\n }\n var shadingElement = document.createElement(\"div\");\n shadingElement.style.position = \"absolute\";\n var rightLeftBorderSize = (width - qrboxSize.width) / 2;\n var topBottomBorderSize = (height - qrboxSize.height) / 2;\n shadingElement.style.borderLeft\n = \"\".concat(rightLeftBorderSize, \"px solid rgba(0, 0, 0, 0.48)\");\n shadingElement.style.borderRight\n = \"\".concat(rightLeftBorderSize, \"px solid rgba(0, 0, 0, 0.48)\");\n shadingElement.style.borderTop\n = \"\".concat(topBottomBorderSize, \"px solid rgba(0, 0, 0, 0.48)\");\n shadingElement.style.borderBottom\n = \"\".concat(topBottomBorderSize, \"px solid rgba(0, 0, 0, 0.48)\");\n shadingElement.style.boxSizing = \"border-box\";\n shadingElement.style.top = \"0px\";\n shadingElement.style.bottom = \"0px\";\n shadingElement.style.left = \"0px\";\n shadingElement.style.right = \"0px\";\n shadingElement.id = \"\".concat(Constants.SHADED_REGION_ELEMENT_ID);\n if ((width - qrboxSize.width) < 11\n || (height - qrboxSize.height) < 11) {\n this.hasBorderShaders = false;\n }\n else {\n var smallSize = 5;\n var largeSize = 40;\n this.insertShaderBorders(shadingElement, largeSize, smallSize, -smallSize, null, 0, true);\n this.insertShaderBorders(shadingElement, largeSize, smallSize, -smallSize, null, 0, false);\n this.insertShaderBorders(shadingElement, largeSize, smallSize, null, -smallSize, 0, true);\n this.insertShaderBorders(shadingElement, largeSize, smallSize, null, -smallSize, 0, false);\n this.insertShaderBorders(shadingElement, smallSize, largeSize + smallSize, -smallSize, null, -smallSize, true);\n this.insertShaderBorders(shadingElement, smallSize, largeSize + smallSize, null, -smallSize, -smallSize, true);\n this.insertShaderBorders(shadingElement, smallSize, largeSize + smallSize, -smallSize, null, -smallSize, false);\n this.insertShaderBorders(shadingElement, smallSize, largeSize + smallSize, null, -smallSize, -smallSize, false);\n this.hasBorderShaders = true;\n }\n element.append(shadingElement);\n };\n Html5Qrcode.prototype.insertShaderBorders = function (shaderElem, width, height, top, bottom, side, isLeft) {\n var elem = document.createElement(\"div\");\n elem.style.position = \"absolute\";\n elem.style.backgroundColor = Constants.BORDER_SHADER_DEFAULT_COLOR;\n elem.style.width = \"\".concat(width, \"px\");\n elem.style.height = \"\".concat(height, \"px\");\n if (top !== null) {\n elem.style.top = \"\".concat(top, \"px\");\n }\n if (bottom !== null) {\n elem.style.bottom = \"\".concat(bottom, \"px\");\n }\n if (isLeft) {\n elem.style.left = \"\".concat(side, \"px\");\n }\n else {\n elem.style.right = \"\".concat(side, \"px\");\n }\n if (!this.borderShaders) {\n this.borderShaders = [];\n }\n this.borderShaders.push(elem);\n shaderElem.appendChild(elem);\n };\n Html5Qrcode.prototype.showPausedState = function () {\n if (!this.scannerPausedUiElement) {\n throw \"[internal error] scanner paused UI element not found\";\n }\n this.scannerPausedUiElement.style.display = \"block\";\n };\n Html5Qrcode.prototype.hidePausedState = function () {\n if (!this.scannerPausedUiElement) {\n throw \"[internal error] scanner paused UI element not found\";\n }\n this.scannerPausedUiElement.style.display = \"none\";\n };\n Html5Qrcode.prototype.getTimeoutFps = function (fps) {\n return 1000 / fps;\n };\n return Html5Qrcode;\n}());\nexport { Html5Qrcode };\n","var SVG_XML_PREFIX = \"data:image/svg+xml;base64,\";\nexport var ASSET_CAMERA_SCAN = SVG_XML_PREFIX + \"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNzEuNjQzIDM3MS42NDMiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDM3MS42NDMgMzcxLjY0MyIgeG1sOnN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gNy4wMzMtMTUuNzEgMTUuNzEtMTUuNzFoNDMuMTAxYzguNjc2IDAgMTUuNzEgNy4wMzMgMTUuNzEgMTUuNzFWMzc3LjM2ek0yMzAgMTU3Yy0yMS41MzkgMC0zOS0xNy40NjEtMzktMzlzMTcuNDYxLTM5IDM5LTM5IDM5IDE3LjQ2MSAzOSAzOS0xNy40NjEgMzktMzkgMzl6Ii8+PC9zdmc+\";\nexport var ASSET_CLOSE_ICON_16PX = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAQgAAAEIBarqQRAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAE1SURBVDiNfdI7S0NBEAXgLya1otFgpbYSbISAgpXYi6CmiH9KCAiChaVga6OiWPgfRDQ+0itaGVNosXtluWwcuMzePfM4M3sq8lbHBubwg1dc4m1E/J/N4ghDPOIsfk/4xiEao5KX0McFljN4C9d4QTPXuY99jP3DsIoDPGM6BY5i5yI5R7O4q+ImFkJY2DCh3cAH2klyB+9J1xUMMAG7eCh1a+Mr+k48b5diXrFVwwLuS+BJ9MfR7+G0FHOHhTHhnXNWS87VDF4pcnfQK4Ep7XScNLmPTZgURNKKYENYWDpzW1BhscS1WHS8CDgURFJQrWcoF3c13KKbgg1BYQfy8xZWEzTTw1QZbAoKu8FqJnktdu5hcVSHmchiILzzuaDQvjBzV2m8yohCE1jHfPx/xhU+y4G/D75ELlRJsSYAAAAASUVORK5CYII=\";\n","var PersistedDataFactory = (function () {\n function PersistedDataFactory() {\n }\n PersistedDataFactory.createDefault = function () {\n return {\n hasPermission: false,\n lastUsedCameraId: null\n };\n };\n return PersistedDataFactory;\n}());\nvar PersistedDataManager = (function () {\n function PersistedDataManager() {\n this.data = PersistedDataFactory.createDefault();\n var data = localStorage.getItem(PersistedDataManager.LOCAL_STORAGE_KEY);\n if (!data) {\n this.reset();\n }\n else {\n this.data = JSON.parse(data);\n }\n }\n PersistedDataManager.prototype.hasCameraPermissions = function () {\n return this.data.hasPermission;\n };\n PersistedDataManager.prototype.getLastUsedCameraId = function () {\n return this.data.lastUsedCameraId;\n };\n PersistedDataManager.prototype.setHasPermission = function (hasPermission) {\n this.data.hasPermission = hasPermission;\n this.flush();\n };\n PersistedDataManager.prototype.setLastUsedCameraId = function (lastUsedCameraId) {\n this.data.lastUsedCameraId = lastUsedCameraId;\n this.flush();\n };\n PersistedDataManager.prototype.resetLastUsedCameraId = function () {\n this.data.lastUsedCameraId = null;\n this.flush();\n };\n PersistedDataManager.prototype.reset = function () {\n this.data = PersistedDataFactory.createDefault();\n this.flush();\n };\n PersistedDataManager.prototype.flush = function () {\n localStorage.setItem(PersistedDataManager.LOCAL_STORAGE_KEY, JSON.stringify(this.data));\n };\n PersistedDataManager.LOCAL_STORAGE_KEY = \"HTML5_QRCODE_DATA\";\n return PersistedDataManager;\n}());\nexport { PersistedDataManager };\n","import { ASSET_CLOSE_ICON_16PX, ASSET_INFO_ICON_16PX } from \"./image-assets\";\nimport { LibraryInfoStrings } from \"./strings\";\nvar LibraryInfoDiv = (function () {\n function LibraryInfoDiv() {\n this.infoDiv = document.createElement(\"div\");\n }\n LibraryInfoDiv.prototype.renderInto = function (parent) {\n this.infoDiv.style.position = \"absolute\";\n this.infoDiv.style.top = \"10px\";\n this.infoDiv.style.right = \"10px\";\n this.infoDiv.style.zIndex = \"2\";\n this.infoDiv.style.display = \"none\";\n this.infoDiv.style.padding = \"5pt\";\n this.infoDiv.style.border = \"1px solid #171717\";\n this.infoDiv.style.fontSize = \"10pt\";\n this.infoDiv.style.background = \"rgb(0 0 0 / 69%)\";\n this.infoDiv.style.borderRadius = \"5px\";\n this.infoDiv.style.textAlign = \"center\";\n this.infoDiv.style.fontWeight = \"400\";\n this.infoDiv.style.color = \"white\";\n this.infoDiv.innerText = LibraryInfoStrings.poweredBy();\n var projectLink = document.createElement(\"a\");\n projectLink.innerText = \"ScanApp\";\n projectLink.href = \"https://scanapp.org\";\n projectLink.target = \"new\";\n projectLink.style.color = \"white\";\n this.infoDiv.appendChild(projectLink);\n var breakElemFirst = document.createElement(\"br\");\n var breakElemSecond = document.createElement(\"br\");\n this.infoDiv.appendChild(breakElemFirst);\n this.infoDiv.appendChild(breakElemSecond);\n var reportIssueLink = document.createElement(\"a\");\n reportIssueLink.innerText = LibraryInfoStrings.reportIssues();\n reportIssueLink.href = \"https://github.com/mebjas/html5-qrcode/issues\";\n reportIssueLink.target = \"new\";\n reportIssueLink.style.color = \"white\";\n this.infoDiv.appendChild(reportIssueLink);\n parent.appendChild(this.infoDiv);\n };\n LibraryInfoDiv.prototype.show = function () {\n this.infoDiv.style.display = \"block\";\n };\n LibraryInfoDiv.prototype.hide = function () {\n this.infoDiv.style.display = \"none\";\n };\n return LibraryInfoDiv;\n}());\nvar LibraryInfoIcon = (function () {\n function LibraryInfoIcon(onTapIn, onTapOut) {\n this.isShowingInfoIcon = true;\n this.onTapIn = onTapIn;\n this.onTapOut = onTapOut;\n this.infoIcon = document.createElement(\"img\");\n }\n LibraryInfoIcon.prototype.renderInto = function (parent) {\n var _this = this;\n this.infoIcon.alt = \"Info icon\";\n this.infoIcon.src = ASSET_INFO_ICON_16PX;\n this.infoIcon.style.position = \"absolute\";\n this.infoIcon.style.top = \"4px\";\n this.infoIcon.style.right = \"4px\";\n this.infoIcon.style.opacity = \"0.6\";\n this.infoIcon.style.cursor = \"pointer\";\n this.infoIcon.style.zIndex = \"2\";\n this.infoIcon.style.width = \"16px\";\n this.infoIcon.style.height = \"16px\";\n this.infoIcon.onmouseover = function (_) { return _this.onHoverIn(); };\n this.infoIcon.onmouseout = function (_) { return _this.onHoverOut(); };\n this.infoIcon.onclick = function (_) { return _this.onClick(); };\n parent.appendChild(this.infoIcon);\n };\n LibraryInfoIcon.prototype.onHoverIn = function () {\n if (this.isShowingInfoIcon) {\n this.infoIcon.style.opacity = \"1\";\n }\n };\n LibraryInfoIcon.prototype.onHoverOut = function () {\n if (this.isShowingInfoIcon) {\n this.infoIcon.style.opacity = \"0.6\";\n }\n };\n LibraryInfoIcon.prototype.onClick = function () {\n if (this.isShowingInfoIcon) {\n this.isShowingInfoIcon = false;\n this.onTapIn();\n this.infoIcon.src = ASSET_CLOSE_ICON_16PX;\n this.infoIcon.style.opacity = \"1\";\n }\n else {\n this.isShowingInfoIcon = true;\n this.onTapOut();\n this.infoIcon.src = ASSET_INFO_ICON_16PX;\n this.infoIcon.style.opacity = \"0.6\";\n }\n };\n return LibraryInfoIcon;\n}());\nvar LibraryInfoContainer = (function () {\n function LibraryInfoContainer() {\n var _this = this;\n this.infoDiv = new LibraryInfoDiv();\n this.infoIcon = new LibraryInfoIcon(function () {\n _this.infoDiv.show();\n }, function () {\n _this.infoDiv.hide();\n });\n }\n LibraryInfoContainer.prototype.renderInto = function (parent) {\n this.infoDiv.renderInto(parent);\n this.infoIcon.renderInto(parent);\n };\n return LibraryInfoContainer;\n}());\nexport { LibraryInfoContainer };\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar CameraPermissions = (function () {\n function CameraPermissions() {\n }\n CameraPermissions.hasPermissions = function () {\n return __awaiter(this, void 0, void 0, function () {\n var devices, _i, devices_1, device;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4, navigator.mediaDevices.enumerateDevices()];\n case 1:\n devices = _a.sent();\n for (_i = 0, devices_1 = devices; _i < devices_1.length; _i++) {\n device = devices_1[_i];\n if (device.kind === \"videoinput\" && device.label) {\n return [2, true];\n }\n }\n return [2, false];\n }\n });\n });\n };\n return CameraPermissions;\n}());\nexport { CameraPermissions };\n","import { Html5QrcodeScanType, Html5QrcodeConstants } from \"../../core\";\nvar ScanTypeSelector = (function () {\n function ScanTypeSelector(supportedScanTypes) {\n this.supportedScanTypes = this.validateAndReturnScanTypes(supportedScanTypes);\n }\n ScanTypeSelector.prototype.getDefaultScanType = function () {\n return this.supportedScanTypes[0];\n };\n ScanTypeSelector.prototype.hasMoreThanOneScanType = function () {\n return this.supportedScanTypes.length > 1;\n };\n ScanTypeSelector.prototype.isCameraScanRequired = function () {\n for (var _i = 0, _a = this.supportedScanTypes; _i < _a.length; _i++) {\n var scanType = _a[_i];\n if (ScanTypeSelector.isCameraScanType(scanType)) {\n return true;\n }\n }\n return false;\n };\n ScanTypeSelector.isCameraScanType = function (scanType) {\n return scanType === Html5QrcodeScanType.SCAN_TYPE_CAMERA;\n };\n ScanTypeSelector.isFileScanType = function (scanType) {\n return scanType === Html5QrcodeScanType.SCAN_TYPE_FILE;\n };\n ScanTypeSelector.prototype.validateAndReturnScanTypes = function (supportedScanTypes) {\n if (!supportedScanTypes || supportedScanTypes.length === 0) {\n return Html5QrcodeConstants.DEFAULT_SUPPORTED_SCAN_TYPE;\n }\n var maxExpectedValues = Html5QrcodeConstants.DEFAULT_SUPPORTED_SCAN_TYPE.length;\n if (supportedScanTypes.length > maxExpectedValues) {\n throw \"Max \".concat(maxExpectedValues, \" values expected for \")\n + \"supportedScanTypes\";\n }\n for (var _i = 0, supportedScanTypes_1 = supportedScanTypes; _i < supportedScanTypes_1.length; _i++) {\n var scanType = supportedScanTypes_1[_i];\n if (!Html5QrcodeConstants.DEFAULT_SUPPORTED_SCAN_TYPE\n .includes(scanType)) {\n throw \"Unsupported scan type \".concat(scanType);\n }\n }\n return supportedScanTypes;\n };\n return ScanTypeSelector;\n}());\nexport { ScanTypeSelector };\n","var PublicUiElementIdAndClasses = (function () {\n function PublicUiElementIdAndClasses() {\n }\n PublicUiElementIdAndClasses.ALL_ELEMENT_CLASS = \"html5-qrcode-element\";\n PublicUiElementIdAndClasses.CAMERA_PERMISSION_BUTTON_ID = \"html5-qrcode-button-camera-permission\";\n PublicUiElementIdAndClasses.CAMERA_START_BUTTON_ID = \"html5-qrcode-button-camera-start\";\n PublicUiElementIdAndClasses.CAMERA_STOP_BUTTON_ID = \"html5-qrcode-button-camera-stop\";\n PublicUiElementIdAndClasses.TORCH_BUTTON_ID = \"html5-qrcode-button-torch\";\n PublicUiElementIdAndClasses.CAMERA_SELECTION_SELECT_ID = \"html5-qrcode-select-camera\";\n PublicUiElementIdAndClasses.FILE_SELECTION_BUTTON_ID = \"html5-qrcode-button-file-selection\";\n PublicUiElementIdAndClasses.ZOOM_SLIDER_ID = \"html5-qrcode-input-range-zoom\";\n PublicUiElementIdAndClasses.SCAN_TYPE_CHANGE_ANCHOR_ID = \"html5-qrcode-anchor-scan-type-change\";\n PublicUiElementIdAndClasses.TORCH_BUTTON_CLASS_TORCH_ON = \"html5-qrcode-button-torch-on\";\n PublicUiElementIdAndClasses.TORCH_BUTTON_CLASS_TORCH_OFF = \"html5-qrcode-button-torch-off\";\n return PublicUiElementIdAndClasses;\n}());\nexport { PublicUiElementIdAndClasses };\nvar BaseUiElementFactory = (function () {\n function BaseUiElementFactory() {\n }\n BaseUiElementFactory.createElement = function (elementType, elementId) {\n var element = (document.createElement(elementType));\n element.id = elementId;\n element.classList.add(PublicUiElementIdAndClasses.ALL_ELEMENT_CLASS);\n if (elementType === \"button\") {\n element.setAttribute(\"type\", \"button\");\n }\n return element;\n };\n return BaseUiElementFactory;\n}());\nexport { BaseUiElementFactory };\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nimport { Html5QrcodeScannerStrings } from \"../../strings\";\nimport { BaseUiElementFactory, PublicUiElementIdAndClasses } from \"./base\";\nvar TorchController = (function () {\n function TorchController(torchCapability, buttonController, onTorchActionFailureCallback) {\n this.isTorchOn = false;\n this.torchCapability = torchCapability;\n this.buttonController = buttonController;\n this.onTorchActionFailureCallback = onTorchActionFailureCallback;\n }\n TorchController.prototype.isTorchEnabled = function () {\n return this.isTorchOn;\n };\n TorchController.prototype.flipState = function () {\n return __awaiter(this, void 0, void 0, function () {\n var isTorchOnExpected, error_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n this.buttonController.disable();\n isTorchOnExpected = !this.isTorchOn;\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4, this.torchCapability.apply(isTorchOnExpected)];\n case 2:\n _a.sent();\n this.updateUiBasedOnLatestSettings(this.torchCapability.value(), isTorchOnExpected);\n return [3, 4];\n case 3:\n error_1 = _a.sent();\n this.propagateFailure(isTorchOnExpected, error_1);\n this.buttonController.enable();\n return [3, 4];\n case 4: return [2];\n }\n });\n });\n };\n TorchController.prototype.updateUiBasedOnLatestSettings = function (isTorchOn, isTorchOnExpected) {\n if (isTorchOn === isTorchOnExpected) {\n this.buttonController.setText(isTorchOnExpected\n ? Html5QrcodeScannerStrings.torchOffButton()\n : Html5QrcodeScannerStrings.torchOnButton());\n this.isTorchOn = isTorchOnExpected;\n }\n else {\n this.propagateFailure(isTorchOnExpected);\n }\n this.buttonController.enable();\n };\n TorchController.prototype.propagateFailure = function (isTorchOnExpected, error) {\n var errorMessage = isTorchOnExpected\n ? Html5QrcodeScannerStrings.torchOnFailedMessage()\n : Html5QrcodeScannerStrings.torchOffFailedMessage();\n if (error) {\n errorMessage += \"; Error = \" + error;\n }\n this.onTorchActionFailureCallback(errorMessage);\n };\n TorchController.prototype.reset = function () {\n this.isTorchOn = false;\n };\n return TorchController;\n}());\nvar TorchButton = (function () {\n function TorchButton(torchCapability, onTorchActionFailureCallback) {\n this.onTorchActionFailureCallback = onTorchActionFailureCallback;\n this.torchButton\n = BaseUiElementFactory.createElement(\"button\", PublicUiElementIdAndClasses.TORCH_BUTTON_ID);\n this.torchController = new TorchController(torchCapability, this, onTorchActionFailureCallback);\n }\n TorchButton.prototype.render = function (parentElement, torchButtonOptions) {\n var _this = this;\n this.torchButton.innerText\n = Html5QrcodeScannerStrings.torchOnButton();\n this.torchButton.style.display = torchButtonOptions.display;\n this.torchButton.style.marginLeft = torchButtonOptions.marginLeft;\n var $this = this;\n this.torchButton.addEventListener(\"click\", function (_) { return __awaiter(_this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4, $this.torchController.flipState()];\n case 1:\n _a.sent();\n if ($this.torchController.isTorchEnabled()) {\n $this.torchButton.classList.remove(PublicUiElementIdAndClasses.TORCH_BUTTON_CLASS_TORCH_OFF);\n $this.torchButton.classList.add(PublicUiElementIdAndClasses.TORCH_BUTTON_CLASS_TORCH_ON);\n }\n else {\n $this.torchButton.classList.remove(PublicUiElementIdAndClasses.TORCH_BUTTON_CLASS_TORCH_ON);\n $this.torchButton.classList.add(PublicUiElementIdAndClasses.TORCH_BUTTON_CLASS_TORCH_OFF);\n }\n return [2];\n }\n });\n }); });\n parentElement.appendChild(this.torchButton);\n };\n TorchButton.prototype.updateTorchCapability = function (torchCapability) {\n this.torchController = new TorchController(torchCapability, this, this.onTorchActionFailureCallback);\n };\n TorchButton.prototype.getTorchButton = function () {\n return this.torchButton;\n };\n TorchButton.prototype.hide = function () {\n this.torchButton.style.display = \"none\";\n };\n TorchButton.prototype.show = function () {\n this.torchButton.style.display = \"inline-block\";\n };\n TorchButton.prototype.disable = function () {\n this.torchButton.disabled = true;\n };\n TorchButton.prototype.enable = function () {\n this.torchButton.disabled = false;\n };\n TorchButton.prototype.setText = function (text) {\n this.torchButton.innerText = text;\n };\n TorchButton.prototype.reset = function () {\n this.torchButton.innerText = Html5QrcodeScannerStrings.torchOnButton();\n this.torchController.reset();\n };\n TorchButton.create = function (parentElement, torchCapability, torchButtonOptions, onTorchActionFailureCallback) {\n var button = new TorchButton(torchCapability, onTorchActionFailureCallback);\n button.render(parentElement, torchButtonOptions);\n return button;\n };\n return TorchButton;\n}());\nexport { TorchButton };\n","import { Html5QrcodeScannerStrings } from \"../../strings\";\nimport { BaseUiElementFactory, PublicUiElementIdAndClasses } from \"./base\";\nvar FileSelectionUi = (function () {\n function FileSelectionUi(parentElement, showOnRender, onFileSelected) {\n this.fileBasedScanRegion = this.createFileBasedScanRegion();\n this.fileBasedScanRegion.style.display\n = showOnRender ? \"block\" : \"none\";\n parentElement.appendChild(this.fileBasedScanRegion);\n var fileScanLabel = document.createElement(\"label\");\n fileScanLabel.setAttribute(\"for\", this.getFileScanInputId());\n fileScanLabel.style.display = \"inline-block\";\n this.fileBasedScanRegion.appendChild(fileScanLabel);\n this.fileSelectionButton\n = BaseUiElementFactory.createElement(\"button\", PublicUiElementIdAndClasses.FILE_SELECTION_BUTTON_ID);\n this.setInitialValueToButton();\n this.fileSelectionButton.addEventListener(\"click\", function (_) {\n fileScanLabel.click();\n });\n fileScanLabel.append(this.fileSelectionButton);\n this.fileScanInput\n = BaseUiElementFactory.createElement(\"input\", this.getFileScanInputId());\n this.fileScanInput.type = \"file\";\n this.fileScanInput.accept = \"image/*\";\n this.fileScanInput.style.display = \"none\";\n fileScanLabel.appendChild(this.fileScanInput);\n var $this = this;\n this.fileScanInput.addEventListener(\"change\", function (e) {\n if (e == null || e.target == null) {\n return;\n }\n var target = e.target;\n if (target.files && target.files.length === 0) {\n return;\n }\n var fileList = target.files;\n var file = fileList[0];\n var fileName = file.name;\n $this.setImageNameToButton(fileName);\n onFileSelected(file);\n });\n var dragAndDropMessage = this.createDragAndDropMessage();\n this.fileBasedScanRegion.appendChild(dragAndDropMessage);\n this.fileBasedScanRegion.addEventListener(\"dragenter\", function (event) {\n $this.fileBasedScanRegion.style.border\n = $this.fileBasedScanRegionActiveBorder();\n event.stopPropagation();\n event.preventDefault();\n });\n this.fileBasedScanRegion.addEventListener(\"dragleave\", function (event) {\n $this.fileBasedScanRegion.style.border\n = $this.fileBasedScanRegionDefaultBorder();\n event.stopPropagation();\n event.preventDefault();\n });\n this.fileBasedScanRegion.addEventListener(\"dragover\", function (event) {\n $this.fileBasedScanRegion.style.border\n = $this.fileBasedScanRegionActiveBorder();\n event.stopPropagation();\n event.preventDefault();\n });\n this.fileBasedScanRegion.addEventListener(\"drop\", function (event) {\n event.stopPropagation();\n event.preventDefault();\n $this.fileBasedScanRegion.style.border\n = $this.fileBasedScanRegionDefaultBorder();\n var dataTransfer = event.dataTransfer;\n if (dataTransfer) {\n var files = dataTransfer.files;\n if (!files || files.length === 0) {\n return;\n }\n var isAnyFileImage = false;\n for (var i = 0; i < files.length; ++i) {\n var file = files.item(i);\n if (!file) {\n continue;\n }\n var imageType = /image.*/;\n if (!file.type.match(imageType)) {\n continue;\n }\n isAnyFileImage = true;\n var fileName = file.name;\n $this.setImageNameToButton(fileName);\n onFileSelected(file);\n dragAndDropMessage.innerText\n = Html5QrcodeScannerStrings.dragAndDropMessage();\n break;\n }\n if (!isAnyFileImage) {\n dragAndDropMessage.innerText\n = Html5QrcodeScannerStrings\n .dragAndDropMessageOnlyImages();\n }\n }\n });\n }\n FileSelectionUi.prototype.hide = function () {\n this.fileBasedScanRegion.style.display = \"none\";\n this.fileScanInput.disabled = true;\n };\n FileSelectionUi.prototype.show = function () {\n this.fileBasedScanRegion.style.display = \"block\";\n this.fileScanInput.disabled = false;\n };\n FileSelectionUi.prototype.isShowing = function () {\n return this.fileBasedScanRegion.style.display === \"block\";\n };\n FileSelectionUi.prototype.resetValue = function () {\n this.fileScanInput.value = \"\";\n this.setInitialValueToButton();\n };\n FileSelectionUi.prototype.createFileBasedScanRegion = function () {\n var fileBasedScanRegion = document.createElement(\"div\");\n fileBasedScanRegion.style.textAlign = \"center\";\n fileBasedScanRegion.style.margin = \"auto\";\n fileBasedScanRegion.style.width = \"80%\";\n fileBasedScanRegion.style.maxWidth = \"600px\";\n fileBasedScanRegion.style.border\n = this.fileBasedScanRegionDefaultBorder();\n fileBasedScanRegion.style.padding = \"10px\";\n fileBasedScanRegion.style.marginBottom = \"10px\";\n return fileBasedScanRegion;\n };\n FileSelectionUi.prototype.fileBasedScanRegionDefaultBorder = function () {\n return \"6px dashed #ebebeb\";\n };\n FileSelectionUi.prototype.fileBasedScanRegionActiveBorder = function () {\n return \"6px dashed rgb(153 151 151)\";\n };\n FileSelectionUi.prototype.createDragAndDropMessage = function () {\n var dragAndDropMessage = document.createElement(\"div\");\n dragAndDropMessage.innerText\n = Html5QrcodeScannerStrings.dragAndDropMessage();\n dragAndDropMessage.style.fontWeight = \"400\";\n return dragAndDropMessage;\n };\n FileSelectionUi.prototype.setImageNameToButton = function (imageFileName) {\n var MAX_CHARS = 20;\n if (imageFileName.length > MAX_CHARS) {\n var start8Chars = imageFileName.substring(0, 8);\n var length_1 = imageFileName.length;\n var last8Chars = imageFileName.substring(length_1 - 8, length_1);\n imageFileName = \"\".concat(start8Chars, \"....\").concat(last8Chars);\n }\n var newText = Html5QrcodeScannerStrings.fileSelectionChooseAnother()\n + \" - \"\n + imageFileName;\n this.fileSelectionButton.innerText = newText;\n };\n FileSelectionUi.prototype.setInitialValueToButton = function () {\n var initialText = Html5QrcodeScannerStrings.fileSelectionChooseImage()\n + \" - \"\n + Html5QrcodeScannerStrings.fileSelectionNoImageSelected();\n this.fileSelectionButton.innerText = initialText;\n };\n FileSelectionUi.prototype.getFileScanInputId = function () {\n return \"html5-qrcode-private-filescan-input\";\n };\n FileSelectionUi.create = function (parentElement, showOnRender, onFileSelected) {\n var button = new FileSelectionUi(parentElement, showOnRender, onFileSelected);\n return button;\n };\n return FileSelectionUi;\n}());\nexport { FileSelectionUi };\n","import { BaseUiElementFactory, PublicUiElementIdAndClasses } from \"./base\";\nimport { Html5QrcodeScannerStrings } from \"../../strings\";\nvar CameraSelectionUi = (function () {\n function CameraSelectionUi(cameras) {\n this.selectElement = BaseUiElementFactory\n .createElement(\"select\", PublicUiElementIdAndClasses.CAMERA_SELECTION_SELECT_ID);\n this.cameras = cameras;\n this.options = [];\n }\n CameraSelectionUi.prototype.render = function (parentElement) {\n var cameraSelectionContainer = document.createElement(\"span\");\n cameraSelectionContainer.style.marginRight = \"10px\";\n var numCameras = this.cameras.length;\n if (numCameras === 0) {\n throw new Error(\"No cameras found\");\n }\n if (numCameras === 1) {\n cameraSelectionContainer.style.display = \"none\";\n }\n else {\n var selectCameraString = Html5QrcodeScannerStrings.selectCamera();\n cameraSelectionContainer.innerText\n = \"\".concat(selectCameraString, \" (\").concat(this.cameras.length, \") \");\n }\n var anonymousCameraId = 1;\n for (var _i = 0, _a = this.cameras; _i < _a.length; _i++) {\n var camera = _a[_i];\n var value = camera.id;\n var name_1 = camera.label == null ? value : camera.label;\n if (!name_1 || name_1 === \"\") {\n name_1 = [\n Html5QrcodeScannerStrings.anonymousCameraPrefix(),\n anonymousCameraId++\n ].join(\" \");\n }\n var option = document.createElement(\"option\");\n option.value = value;\n option.innerText = name_1;\n this.options.push(option);\n this.selectElement.appendChild(option);\n }\n cameraSelectionContainer.appendChild(this.selectElement);\n parentElement.appendChild(cameraSelectionContainer);\n };\n CameraSelectionUi.prototype.disable = function () {\n this.selectElement.disabled = true;\n };\n CameraSelectionUi.prototype.isDisabled = function () {\n return this.selectElement.disabled === true;\n };\n CameraSelectionUi.prototype.enable = function () {\n this.selectElement.disabled = false;\n };\n CameraSelectionUi.prototype.getValue = function () {\n return this.selectElement.value;\n };\n CameraSelectionUi.prototype.hasValue = function (value) {\n for (var _i = 0, _a = this.options; _i < _a.length; _i++) {\n var option = _a[_i];\n if (option.value === value) {\n return true;\n }\n }\n return false;\n };\n CameraSelectionUi.prototype.setValue = function (value) {\n if (!this.hasValue(value)) {\n throw new Error(\"\".concat(value, \" is not present in the camera list.\"));\n }\n this.selectElement.value = value;\n };\n CameraSelectionUi.prototype.hasSingleItem = function () {\n return this.cameras.length === 1;\n };\n CameraSelectionUi.prototype.numCameras = function () {\n return this.cameras.length;\n };\n CameraSelectionUi.create = function (parentElement, cameras) {\n var cameraSelectUi = new CameraSelectionUi(cameras);\n cameraSelectUi.render(parentElement);\n return cameraSelectUi;\n };\n return CameraSelectionUi;\n}());\nexport { CameraSelectionUi };\n","import { BaseUiElementFactory, PublicUiElementIdAndClasses } from \"./base\";\nimport { Html5QrcodeScannerStrings } from \"../../strings\";\nvar CameraZoomUi = (function () {\n function CameraZoomUi() {\n this.onChangeCallback = null;\n this.zoomElementContainer = document.createElement(\"div\");\n this.rangeInput = BaseUiElementFactory.createElement(\"input\", PublicUiElementIdAndClasses.ZOOM_SLIDER_ID);\n this.rangeInput.type = \"range\";\n this.rangeText = document.createElement(\"span\");\n this.rangeInput.min = \"1\";\n this.rangeInput.max = \"5\";\n this.rangeInput.value = \"1\";\n this.rangeInput.step = \"0.1\";\n }\n CameraZoomUi.prototype.render = function (parentElement, renderOnCreate) {\n this.zoomElementContainer.style.display\n = renderOnCreate ? \"block\" : \"none\";\n this.zoomElementContainer.style.padding = \"5px 10px\";\n this.zoomElementContainer.style.textAlign = \"center\";\n parentElement.appendChild(this.zoomElementContainer);\n this.rangeInput.style.display = \"inline-block\";\n this.rangeInput.style.width = \"50%\";\n this.rangeInput.style.height = \"5px\";\n this.rangeInput.style.background = \"#d3d3d3\";\n this.rangeInput.style.outline = \"none\";\n this.rangeInput.style.opacity = \"0.7\";\n var zoomString = Html5QrcodeScannerStrings.zoom();\n this.rangeText.innerText = \"\".concat(this.rangeInput.value, \"x \").concat(zoomString);\n this.rangeText.style.marginRight = \"10px\";\n var $this = this;\n this.rangeInput.addEventListener(\"input\", function () { return $this.onValueChange(); });\n this.rangeInput.addEventListener(\"change\", function () { return $this.onValueChange(); });\n this.zoomElementContainer.appendChild(this.rangeInput);\n this.zoomElementContainer.appendChild(this.rangeText);\n };\n CameraZoomUi.prototype.onValueChange = function () {\n var zoomString = Html5QrcodeScannerStrings.zoom();\n this.rangeText.innerText = \"\".concat(this.rangeInput.value, \"x \").concat(zoomString);\n if (this.onChangeCallback) {\n this.onChangeCallback(parseFloat(this.rangeInput.value));\n }\n };\n CameraZoomUi.prototype.setValues = function (minValue, maxValue, defaultValue, step) {\n this.rangeInput.min = minValue.toString();\n this.rangeInput.max = maxValue.toString();\n this.rangeInput.step = step.toString();\n this.rangeInput.value = defaultValue.toString();\n this.onValueChange();\n };\n CameraZoomUi.prototype.show = function () {\n this.zoomElementContainer.style.display = \"block\";\n };\n CameraZoomUi.prototype.hide = function () {\n this.zoomElementContainer.style.display = \"none\";\n };\n CameraZoomUi.prototype.setOnCameraZoomValueChangeCallback = function (onChangeCallback) {\n this.onChangeCallback = onChangeCallback;\n };\n CameraZoomUi.prototype.removeOnCameraZoomValueChangeCallback = function () {\n this.onChangeCallback = null;\n };\n CameraZoomUi.create = function (parentElement, renderOnCreate) {\n var cameraZoomUi = new CameraZoomUi();\n cameraZoomUi.render(parentElement, renderOnCreate);\n return cameraZoomUi;\n };\n return CameraZoomUi;\n}());\nexport { CameraZoomUi };\n","import { Html5QrcodeConstants, Html5QrcodeScanType, Html5QrcodeErrorFactory, BaseLoggger, isNullOrUndefined, clip, } from \"./core\";\nimport { Html5Qrcode, } from \"./html5-qrcode\";\nimport { Html5QrcodeScannerStrings, } from \"./strings\";\nimport { ASSET_FILE_SCAN, ASSET_CAMERA_SCAN, } from \"./image-assets\";\nimport { PersistedDataManager } from \"./storage\";\nimport { LibraryInfoContainer } from \"./ui\";\nimport { CameraPermissions } from \"./camera/permissions\";\nimport { ScanTypeSelector } from \"./ui/scanner/scan-type-selector\";\nimport { TorchButton } from \"./ui/scanner/torch-button\";\nimport { FileSelectionUi } from \"./ui/scanner/file-selection-ui\";\nimport { BaseUiElementFactory, PublicUiElementIdAndClasses } from \"./ui/scanner/base\";\nimport { CameraSelectionUi } from \"./ui/scanner/camera-selection-ui\";\nimport { CameraZoomUi } from \"./ui/scanner/camera-zoom-ui\";\nvar Html5QrcodeScannerStatus;\n(function (Html5QrcodeScannerStatus) {\n Html5QrcodeScannerStatus[Html5QrcodeScannerStatus[\"STATUS_DEFAULT\"] = 0] = \"STATUS_DEFAULT\";\n Html5QrcodeScannerStatus[Html5QrcodeScannerStatus[\"STATUS_SUCCESS\"] = 1] = \"STATUS_SUCCESS\";\n Html5QrcodeScannerStatus[Html5QrcodeScannerStatus[\"STATUS_WARNING\"] = 2] = \"STATUS_WARNING\";\n Html5QrcodeScannerStatus[Html5QrcodeScannerStatus[\"STATUS_REQUESTING_PERMISSION\"] = 3] = \"STATUS_REQUESTING_PERMISSION\";\n})(Html5QrcodeScannerStatus || (Html5QrcodeScannerStatus = {}));\nfunction toHtml5QrcodeCameraScanConfig(config) {\n return {\n fps: config.fps,\n qrbox: config.qrbox,\n aspectRatio: config.aspectRatio,\n disableFlip: config.disableFlip,\n videoConstraints: config.videoConstraints\n };\n}\nfunction toHtml5QrcodeFullConfig(config, verbose) {\n return {\n formatsToSupport: config.formatsToSupport,\n useBarCodeDetectorIfSupported: config.useBarCodeDetectorIfSupported,\n experimentalFeatures: config.experimentalFeatures,\n verbose: verbose\n };\n}\nvar Html5QrcodeScanner = (function () {\n function Html5QrcodeScanner(elementId, config, verbose) {\n this.lastMatchFound = null;\n this.cameraScanImage = null;\n this.fileScanImage = null;\n this.fileSelectionUi = null;\n this.elementId = elementId;\n this.config = this.createConfig(config);\n this.verbose = verbose === true;\n if (!document.getElementById(elementId)) {\n throw \"HTML Element with id=\".concat(elementId, \" not found\");\n }\n this.scanTypeSelector = new ScanTypeSelector(this.config.supportedScanTypes);\n this.currentScanType = this.scanTypeSelector.getDefaultScanType();\n this.sectionSwapAllowed = true;\n this.logger = new BaseLoggger(this.verbose);\n this.persistedDataManager = new PersistedDataManager();\n if (config.rememberLastUsedCamera !== true) {\n this.persistedDataManager.reset();\n }\n }\n Html5QrcodeScanner.prototype.render = function (qrCodeSuccessCallback, qrCodeErrorCallback) {\n var _this = this;\n this.lastMatchFound = null;\n this.qrCodeSuccessCallback\n = function (decodedText, result) {\n if (qrCodeSuccessCallback) {\n qrCodeSuccessCallback(decodedText, result);\n }\n else {\n if (_this.lastMatchFound === decodedText) {\n return;\n }\n _this.lastMatchFound = decodedText;\n _this.setHeaderMessage(Html5QrcodeScannerStrings.lastMatch(decodedText), Html5QrcodeScannerStatus.STATUS_SUCCESS);\n }\n };\n this.qrCodeErrorCallback =\n function (errorMessage, error) {\n if (qrCodeErrorCallback) {\n qrCodeErrorCallback(errorMessage, error);\n }\n };\n var container = document.getElementById(this.elementId);\n if (!container) {\n throw \"HTML Element with id=\".concat(this.elementId, \" not found\");\n }\n container.innerHTML = \"\";\n this.createBasicLayout(container);\n this.html5Qrcode = new Html5Qrcode(this.getScanRegionId(), toHtml5QrcodeFullConfig(this.config, this.verbose));\n };\n Html5QrcodeScanner.prototype.pause = function (shouldPauseVideo) {\n if (isNullOrUndefined(shouldPauseVideo) || shouldPauseVideo !== true) {\n shouldPauseVideo = false;\n }\n this.getHtml5QrcodeOrFail().pause(shouldPauseVideo);\n };\n Html5QrcodeScanner.prototype.resume = function () {\n this.getHtml5QrcodeOrFail().resume();\n };\n Html5QrcodeScanner.prototype.getState = function () {\n return this.getHtml5QrcodeOrFail().getState();\n };\n Html5QrcodeScanner.prototype.clear = function () {\n var _this = this;\n var emptyHtmlContainer = function () {\n var mainContainer = document.getElementById(_this.elementId);\n if (mainContainer) {\n mainContainer.innerHTML = \"\";\n _this.resetBasicLayout(mainContainer);\n }\n };\n if (this.html5Qrcode) {\n return new Promise(function (resolve, reject) {\n if (!_this.html5Qrcode) {\n resolve();\n return;\n }\n if (_this.html5Qrcode.isScanning) {\n _this.html5Qrcode.stop().then(function (_) {\n if (!_this.html5Qrcode) {\n resolve();\n return;\n }\n _this.html5Qrcode.clear();\n emptyHtmlContainer();\n resolve();\n }).catch(function (error) {\n if (_this.verbose) {\n _this.logger.logError(\"Unable to stop qrcode scanner\", error);\n }\n reject(error);\n });\n }\n else {\n _this.html5Qrcode.clear();\n emptyHtmlContainer();\n resolve();\n }\n });\n }\n return Promise.resolve();\n };\n Html5QrcodeScanner.prototype.getRunningTrackCapabilities = function () {\n return this.getHtml5QrcodeOrFail().getRunningTrackCapabilities();\n };\n Html5QrcodeScanner.prototype.getRunningTrackSettings = function () {\n return this.getHtml5QrcodeOrFail().getRunningTrackSettings();\n };\n Html5QrcodeScanner.prototype.applyVideoConstraints = function (videoConstaints) {\n return this.getHtml5QrcodeOrFail().applyVideoConstraints(videoConstaints);\n };\n Html5QrcodeScanner.prototype.getHtml5QrcodeOrFail = function () {\n if (!this.html5Qrcode) {\n throw \"Code scanner not initialized.\";\n }\n return this.html5Qrcode;\n };\n Html5QrcodeScanner.prototype.createConfig = function (config) {\n if (config) {\n if (!config.fps) {\n config.fps = Html5QrcodeConstants.SCAN_DEFAULT_FPS;\n }\n if (config.rememberLastUsedCamera !== (!Html5QrcodeConstants.DEFAULT_REMEMBER_LAST_CAMERA_USED)) {\n config.rememberLastUsedCamera\n = Html5QrcodeConstants.DEFAULT_REMEMBER_LAST_CAMERA_USED;\n }\n if (!config.supportedScanTypes) {\n config.supportedScanTypes\n = Html5QrcodeConstants.DEFAULT_SUPPORTED_SCAN_TYPE;\n }\n return config;\n }\n return {\n fps: Html5QrcodeConstants.SCAN_DEFAULT_FPS,\n rememberLastUsedCamera: Html5QrcodeConstants.DEFAULT_REMEMBER_LAST_CAMERA_USED,\n supportedScanTypes: Html5QrcodeConstants.DEFAULT_SUPPORTED_SCAN_TYPE\n };\n };\n Html5QrcodeScanner.prototype.createBasicLayout = function (parent) {\n parent.style.position = \"relative\";\n parent.style.padding = \"0px\";\n parent.style.border = \"1px solid silver\";\n this.createHeader(parent);\n var qrCodeScanRegion = document.createElement(\"div\");\n var scanRegionId = this.getScanRegionId();\n qrCodeScanRegion.id = scanRegionId;\n qrCodeScanRegion.style.width = \"100%\";\n qrCodeScanRegion.style.minHeight = \"100px\";\n qrCodeScanRegion.style.textAlign = \"center\";\n parent.appendChild(qrCodeScanRegion);\n if (ScanTypeSelector.isCameraScanType(this.currentScanType)) {\n this.insertCameraScanImageToScanRegion();\n }\n else {\n this.insertFileScanImageToScanRegion();\n }\n var qrCodeDashboard = document.createElement(\"div\");\n var dashboardId = this.getDashboardId();\n qrCodeDashboard.id = dashboardId;\n qrCodeDashboard.style.width = \"100%\";\n parent.appendChild(qrCodeDashboard);\n this.setupInitialDashboard(qrCodeDashboard);\n };\n Html5QrcodeScanner.prototype.resetBasicLayout = function (mainContainer) {\n mainContainer.style.border = \"none\";\n };\n Html5QrcodeScanner.prototype.setupInitialDashboard = function (dashboard) {\n this.createSection(dashboard);\n this.createSectionControlPanel();\n if (this.scanTypeSelector.hasMoreThanOneScanType()) {\n this.createSectionSwap();\n }\n };\n Html5QrcodeScanner.prototype.createHeader = function (dashboard) {\n var header = document.createElement(\"div\");\n header.style.textAlign = \"left\";\n header.style.margin = \"0px\";\n dashboard.appendChild(header);\n var libraryInfo = new LibraryInfoContainer();\n libraryInfo.renderInto(header);\n var headerMessageContainer = document.createElement(\"div\");\n headerMessageContainer.id = this.getHeaderMessageContainerId();\n headerMessageContainer.style.display = \"none\";\n headerMessageContainer.style.textAlign = \"center\";\n headerMessageContainer.style.fontSize = \"14px\";\n headerMessageContainer.style.padding = \"2px 10px\";\n headerMessageContainer.style.margin = \"4px\";\n headerMessageContainer.style.borderTop = \"1px solid #f6f6f6\";\n header.appendChild(headerMessageContainer);\n };\n Html5QrcodeScanner.prototype.createSection = function (dashboard) {\n var section = document.createElement(\"div\");\n section.id = this.getDashboardSectionId();\n section.style.width = \"100%\";\n section.style.padding = \"10px 0px 10px 0px\";\n section.style.textAlign = \"left\";\n dashboard.appendChild(section);\n };\n Html5QrcodeScanner.prototype.createCameraListUi = function (scpCameraScanRegion, requestPermissionContainer, requestPermissionButton) {\n var $this = this;\n $this.showHideScanTypeSwapLink(false);\n $this.setHeaderMessage(Html5QrcodeScannerStrings.cameraPermissionRequesting());\n var createPermissionButtonIfNotExists = function () {\n if (!requestPermissionButton) {\n $this.createPermissionButton(scpCameraScanRegion, requestPermissionContainer);\n }\n };\n Html5Qrcode.getCameras().then(function (cameras) {\n $this.persistedDataManager.setHasPermission(true);\n $this.showHideScanTypeSwapLink(true);\n $this.resetHeaderMessage();\n if (cameras && cameras.length > 0) {\n scpCameraScanRegion.removeChild(requestPermissionContainer);\n $this.renderCameraSelection(cameras);\n }\n else {\n $this.setHeaderMessage(Html5QrcodeScannerStrings.noCameraFound(), Html5QrcodeScannerStatus.STATUS_WARNING);\n createPermissionButtonIfNotExists();\n }\n }).catch(function (error) {\n $this.persistedDataManager.setHasPermission(false);\n if (requestPermissionButton) {\n requestPermissionButton.disabled = false;\n }\n else {\n createPermissionButtonIfNotExists();\n }\n $this.setHeaderMessage(error, Html5QrcodeScannerStatus.STATUS_WARNING);\n $this.showHideScanTypeSwapLink(true);\n });\n };\n Html5QrcodeScanner.prototype.createPermissionButton = function (scpCameraScanRegion, requestPermissionContainer) {\n var $this = this;\n var requestPermissionButton = BaseUiElementFactory\n .createElement(\"button\", this.getCameraPermissionButtonId());\n requestPermissionButton.innerText\n = Html5QrcodeScannerStrings.cameraPermissionTitle();\n requestPermissionButton.addEventListener(\"click\", function () {\n requestPermissionButton.disabled = true;\n $this.createCameraListUi(scpCameraScanRegion, requestPermissionContainer, requestPermissionButton);\n });\n requestPermissionContainer.appendChild(requestPermissionButton);\n };\n Html5QrcodeScanner.prototype.createPermissionsUi = function (scpCameraScanRegion, requestPermissionContainer) {\n var $this = this;\n if (ScanTypeSelector.isCameraScanType(this.currentScanType)\n && this.persistedDataManager.hasCameraPermissions()) {\n CameraPermissions.hasPermissions().then(function (hasPermissions) {\n if (hasPermissions) {\n $this.createCameraListUi(scpCameraScanRegion, requestPermissionContainer);\n }\n else {\n $this.persistedDataManager.setHasPermission(false);\n $this.createPermissionButton(scpCameraScanRegion, requestPermissionContainer);\n }\n }).catch(function (_) {\n $this.persistedDataManager.setHasPermission(false);\n $this.createPermissionButton(scpCameraScanRegion, requestPermissionContainer);\n });\n return;\n }\n this.createPermissionButton(scpCameraScanRegion, requestPermissionContainer);\n };\n Html5QrcodeScanner.prototype.createSectionControlPanel = function () {\n var section = document.getElementById(this.getDashboardSectionId());\n var sectionControlPanel = document.createElement(\"div\");\n section.appendChild(sectionControlPanel);\n var scpCameraScanRegion = document.createElement(\"div\");\n scpCameraScanRegion.id = this.getDashboardSectionCameraScanRegionId();\n scpCameraScanRegion.style.display\n = ScanTypeSelector.isCameraScanType(this.currentScanType)\n ? \"block\" : \"none\";\n sectionControlPanel.appendChild(scpCameraScanRegion);\n var requestPermissionContainer = document.createElement(\"div\");\n requestPermissionContainer.style.textAlign = \"center\";\n scpCameraScanRegion.appendChild(requestPermissionContainer);\n if (this.scanTypeSelector.isCameraScanRequired()) {\n this.createPermissionsUi(scpCameraScanRegion, requestPermissionContainer);\n }\n this.renderFileScanUi(sectionControlPanel);\n };\n Html5QrcodeScanner.prototype.renderFileScanUi = function (parent) {\n var showOnRender = ScanTypeSelector.isFileScanType(this.currentScanType);\n var $this = this;\n var onFileSelected = function (file) {\n if (!$this.html5Qrcode) {\n throw \"html5Qrcode not defined\";\n }\n if (!ScanTypeSelector.isFileScanType($this.currentScanType)) {\n return;\n }\n $this.setHeaderMessage(Html5QrcodeScannerStrings.loadingImage());\n $this.html5Qrcode.scanFileV2(file, true)\n .then(function (html5qrcodeResult) {\n $this.resetHeaderMessage();\n $this.qrCodeSuccessCallback(html5qrcodeResult.decodedText, html5qrcodeResult);\n })\n .catch(function (error) {\n $this.setHeaderMessage(error, Html5QrcodeScannerStatus.STATUS_WARNING);\n $this.qrCodeErrorCallback(error, Html5QrcodeErrorFactory.createFrom(error));\n });\n };\n this.fileSelectionUi = FileSelectionUi.create(parent, showOnRender, onFileSelected);\n };\n Html5QrcodeScanner.prototype.renderCameraSelection = function (cameras) {\n var _this = this;\n var $this = this;\n var scpCameraScanRegion = document.getElementById(this.getDashboardSectionCameraScanRegionId());\n scpCameraScanRegion.style.textAlign = \"center\";\n var cameraZoomUi = CameraZoomUi.create(scpCameraScanRegion, false);\n var renderCameraZoomUiIfSupported = function (cameraCapabilities) {\n var zoomCapability = cameraCapabilities.zoomFeature();\n if (!zoomCapability.isSupported()) {\n return;\n }\n cameraZoomUi.setOnCameraZoomValueChangeCallback(function (zoomValue) {\n zoomCapability.apply(zoomValue);\n });\n var defaultZoom = 1;\n if (_this.config.defaultZoomValueIfSupported) {\n defaultZoom = _this.config.defaultZoomValueIfSupported;\n }\n defaultZoom = clip(defaultZoom, zoomCapability.min(), zoomCapability.max());\n cameraZoomUi.setValues(zoomCapability.min(), zoomCapability.max(), defaultZoom, zoomCapability.step());\n cameraZoomUi.show();\n };\n var cameraSelectUi = CameraSelectionUi.create(scpCameraScanRegion, cameras);\n var cameraActionContainer = document.createElement(\"span\");\n var cameraActionStartButton = BaseUiElementFactory.createElement(\"button\", PublicUiElementIdAndClasses.CAMERA_START_BUTTON_ID);\n cameraActionStartButton.innerText\n = Html5QrcodeScannerStrings.scanButtonStartScanningText();\n cameraActionContainer.appendChild(cameraActionStartButton);\n var cameraActionStopButton = BaseUiElementFactory.createElement(\"button\", PublicUiElementIdAndClasses.CAMERA_STOP_BUTTON_ID);\n cameraActionStopButton.innerText\n = Html5QrcodeScannerStrings.scanButtonStopScanningText();\n cameraActionStopButton.style.display = \"none\";\n cameraActionStopButton.disabled = true;\n cameraActionContainer.appendChild(cameraActionStopButton);\n var torchButton;\n var createAndShowTorchButtonIfSupported = function (cameraCapabilities) {\n if (!cameraCapabilities.torchFeature().isSupported()) {\n if (torchButton) {\n torchButton.hide();\n }\n return;\n }\n if (!torchButton) {\n torchButton = TorchButton.create(cameraActionContainer, cameraCapabilities.torchFeature(), { display: \"none\", marginLeft: \"5px\" }, function (errorMessage) {\n $this.setHeaderMessage(errorMessage, Html5QrcodeScannerStatus.STATUS_WARNING);\n });\n }\n else {\n torchButton.updateTorchCapability(cameraCapabilities.torchFeature());\n }\n torchButton.show();\n };\n scpCameraScanRegion.appendChild(cameraActionContainer);\n var resetCameraActionStartButton = function (shouldShow) {\n if (!shouldShow) {\n cameraActionStartButton.style.display = \"none\";\n }\n cameraActionStartButton.innerText\n = Html5QrcodeScannerStrings\n .scanButtonStartScanningText();\n cameraActionStartButton.style.opacity = \"1\";\n cameraActionStartButton.disabled = false;\n if (shouldShow) {\n cameraActionStartButton.style.display = \"inline-block\";\n }\n };\n cameraActionStartButton.addEventListener(\"click\", function (_) {\n cameraActionStartButton.innerText\n = Html5QrcodeScannerStrings.scanButtonScanningStarting();\n cameraSelectUi.disable();\n cameraActionStartButton.disabled = true;\n cameraActionStartButton.style.opacity = \"0.5\";\n if (_this.scanTypeSelector.hasMoreThanOneScanType()) {\n $this.showHideScanTypeSwapLink(false);\n }\n $this.resetHeaderMessage();\n var cameraId = cameraSelectUi.getValue();\n $this.persistedDataManager.setLastUsedCameraId(cameraId);\n $this.html5Qrcode.start(cameraId, toHtml5QrcodeCameraScanConfig($this.config), $this.qrCodeSuccessCallback, $this.qrCodeErrorCallback)\n .then(function (_) {\n cameraActionStopButton.disabled = false;\n cameraActionStopButton.style.display = \"inline-block\";\n resetCameraActionStartButton(false);\n var cameraCapabilities = $this.html5Qrcode.getRunningTrackCameraCapabilities();\n if (_this.config.showTorchButtonIfSupported === true) {\n createAndShowTorchButtonIfSupported(cameraCapabilities);\n }\n if (_this.config.showZoomSliderIfSupported === true) {\n renderCameraZoomUiIfSupported(cameraCapabilities);\n }\n })\n .catch(function (error) {\n $this.showHideScanTypeSwapLink(true);\n cameraSelectUi.enable();\n resetCameraActionStartButton(true);\n $this.setHeaderMessage(error, Html5QrcodeScannerStatus.STATUS_WARNING);\n });\n });\n if (cameraSelectUi.hasSingleItem()) {\n cameraActionStartButton.click();\n }\n cameraActionStopButton.addEventListener(\"click\", function (_) {\n if (!$this.html5Qrcode) {\n throw \"html5Qrcode not defined\";\n }\n cameraActionStopButton.disabled = true;\n $this.html5Qrcode.stop()\n .then(function (_) {\n if (_this.scanTypeSelector.hasMoreThanOneScanType()) {\n $this.showHideScanTypeSwapLink(true);\n }\n cameraSelectUi.enable();\n cameraActionStartButton.disabled = false;\n cameraActionStopButton.style.display = \"none\";\n cameraActionStartButton.style.display = \"inline-block\";\n if (torchButton) {\n torchButton.reset();\n torchButton.hide();\n }\n cameraZoomUi.removeOnCameraZoomValueChangeCallback();\n cameraZoomUi.hide();\n $this.insertCameraScanImageToScanRegion();\n }).catch(function (error) {\n cameraActionStopButton.disabled = false;\n $this.setHeaderMessage(error, Html5QrcodeScannerStatus.STATUS_WARNING);\n });\n });\n if ($this.persistedDataManager.getLastUsedCameraId()) {\n var cameraId = $this.persistedDataManager.getLastUsedCameraId();\n if (cameraSelectUi.hasValue(cameraId)) {\n cameraSelectUi.setValue(cameraId);\n cameraActionStartButton.click();\n }\n else {\n $this.persistedDataManager.resetLastUsedCameraId();\n }\n }\n };\n Html5QrcodeScanner.prototype.createSectionSwap = function () {\n var $this = this;\n var TEXT_IF_CAMERA_SCAN_SELECTED = Html5QrcodeScannerStrings.textIfCameraScanSelected();\n var TEXT_IF_FILE_SCAN_SELECTED = Html5QrcodeScannerStrings.textIfFileScanSelected();\n var section = document.getElementById(this.getDashboardSectionId());\n var switchContainer = document.createElement(\"div\");\n switchContainer.style.textAlign = \"center\";\n var switchScanTypeLink = BaseUiElementFactory.createElement(\"span\", this.getDashboardSectionSwapLinkId());\n switchScanTypeLink.style.textDecoration = \"underline\";\n switchScanTypeLink.style.cursor = \"pointer\";\n switchScanTypeLink.innerText\n = ScanTypeSelector.isCameraScanType(this.currentScanType)\n ? TEXT_IF_CAMERA_SCAN_SELECTED : TEXT_IF_FILE_SCAN_SELECTED;\n switchScanTypeLink.addEventListener(\"click\", function () {\n if (!$this.sectionSwapAllowed) {\n if ($this.verbose) {\n $this.logger.logError(\"Section swap called when not allowed\");\n }\n return;\n }\n $this.resetHeaderMessage();\n $this.fileSelectionUi.resetValue();\n $this.sectionSwapAllowed = false;\n if (ScanTypeSelector.isCameraScanType($this.currentScanType)) {\n $this.clearScanRegion();\n $this.getCameraScanRegion().style.display = \"none\";\n $this.fileSelectionUi.show();\n switchScanTypeLink.innerText = TEXT_IF_FILE_SCAN_SELECTED;\n $this.currentScanType = Html5QrcodeScanType.SCAN_TYPE_FILE;\n $this.insertFileScanImageToScanRegion();\n }\n else {\n $this.clearScanRegion();\n $this.getCameraScanRegion().style.display = \"block\";\n $this.fileSelectionUi.hide();\n switchScanTypeLink.innerText = TEXT_IF_CAMERA_SCAN_SELECTED;\n $this.currentScanType = Html5QrcodeScanType.SCAN_TYPE_CAMERA;\n $this.insertCameraScanImageToScanRegion();\n $this.startCameraScanIfPermissionExistsOnSwap();\n }\n $this.sectionSwapAllowed = true;\n });\n switchContainer.appendChild(switchScanTypeLink);\n section.appendChild(switchContainer);\n };\n Html5QrcodeScanner.prototype.startCameraScanIfPermissionExistsOnSwap = function () {\n var _this = this;\n var $this = this;\n if (this.persistedDataManager.hasCameraPermissions()) {\n CameraPermissions.hasPermissions().then(function (hasPermissions) {\n if (hasPermissions) {\n var permissionButton = document.getElementById($this.getCameraPermissionButtonId());\n if (!permissionButton) {\n _this.logger.logError(\"Permission button not found, fail;\");\n throw \"Permission button not found\";\n }\n permissionButton.click();\n }\n else {\n $this.persistedDataManager.setHasPermission(false);\n }\n }).catch(function (_) {\n $this.persistedDataManager.setHasPermission(false);\n });\n return;\n }\n };\n Html5QrcodeScanner.prototype.resetHeaderMessage = function () {\n var messageDiv = document.getElementById(this.getHeaderMessageContainerId());\n messageDiv.style.display = \"none\";\n };\n Html5QrcodeScanner.prototype.setHeaderMessage = function (messageText, scannerStatus) {\n if (!scannerStatus) {\n scannerStatus = Html5QrcodeScannerStatus.STATUS_DEFAULT;\n }\n var messageDiv = this.getHeaderMessageDiv();\n messageDiv.innerText = messageText;\n messageDiv.style.display = \"block\";\n switch (scannerStatus) {\n case Html5QrcodeScannerStatus.STATUS_SUCCESS:\n messageDiv.style.background = \"rgba(106, 175, 80, 0.26)\";\n messageDiv.style.color = \"#477735\";\n break;\n case Html5QrcodeScannerStatus.STATUS_WARNING:\n messageDiv.style.background = \"rgba(203, 36, 49, 0.14)\";\n messageDiv.style.color = \"#cb2431\";\n break;\n case Html5QrcodeScannerStatus.STATUS_DEFAULT:\n default:\n messageDiv.style.background = \"rgba(0, 0, 0, 0)\";\n messageDiv.style.color = \"rgb(17, 17, 17)\";\n break;\n }\n };\n Html5QrcodeScanner.prototype.showHideScanTypeSwapLink = function (shouldDisplay) {\n if (this.scanTypeSelector.hasMoreThanOneScanType()) {\n if (shouldDisplay !== true) {\n shouldDisplay = false;\n }\n this.sectionSwapAllowed = shouldDisplay;\n this.getDashboardSectionSwapLink().style.display\n = shouldDisplay ? \"inline-block\" : \"none\";\n }\n };\n Html5QrcodeScanner.prototype.insertCameraScanImageToScanRegion = function () {\n var $this = this;\n var qrCodeScanRegion = document.getElementById(this.getScanRegionId());\n if (this.cameraScanImage) {\n qrCodeScanRegion.innerHTML = \"
    \";\n qrCodeScanRegion.appendChild(this.cameraScanImage);\n return;\n }\n this.cameraScanImage = new Image;\n this.cameraScanImage.onload = function (_) {\n qrCodeScanRegion.innerHTML = \"
    \";\n qrCodeScanRegion.appendChild($this.cameraScanImage);\n };\n this.cameraScanImage.width = 64;\n this.cameraScanImage.style.opacity = \"0.8\";\n this.cameraScanImage.src = ASSET_CAMERA_SCAN;\n this.cameraScanImage.alt = Html5QrcodeScannerStrings.cameraScanAltText();\n };\n Html5QrcodeScanner.prototype.insertFileScanImageToScanRegion = function () {\n var $this = this;\n var qrCodeScanRegion = document.getElementById(this.getScanRegionId());\n if (this.fileScanImage) {\n qrCodeScanRegion.innerHTML = \"
    \";\n qrCodeScanRegion.appendChild(this.fileScanImage);\n return;\n }\n this.fileScanImage = new Image;\n this.fileScanImage.onload = function (_) {\n qrCodeScanRegion.innerHTML = \"
    \";\n qrCodeScanRegion.appendChild($this.fileScanImage);\n };\n this.fileScanImage.width = 64;\n this.fileScanImage.style.opacity = \"0.8\";\n this.fileScanImage.src = ASSET_FILE_SCAN;\n this.fileScanImage.alt = Html5QrcodeScannerStrings.fileScanAltText();\n };\n Html5QrcodeScanner.prototype.clearScanRegion = function () {\n var qrCodeScanRegion = document.getElementById(this.getScanRegionId());\n qrCodeScanRegion.innerHTML = \"\";\n };\n Html5QrcodeScanner.prototype.getDashboardSectionId = function () {\n return \"\".concat(this.elementId, \"__dashboard_section\");\n };\n Html5QrcodeScanner.prototype.getDashboardSectionCameraScanRegionId = function () {\n return \"\".concat(this.elementId, \"__dashboard_section_csr\");\n };\n Html5QrcodeScanner.prototype.getDashboardSectionSwapLinkId = function () {\n return PublicUiElementIdAndClasses.SCAN_TYPE_CHANGE_ANCHOR_ID;\n };\n Html5QrcodeScanner.prototype.getScanRegionId = function () {\n return \"\".concat(this.elementId, \"__scan_region\");\n };\n Html5QrcodeScanner.prototype.getDashboardId = function () {\n return \"\".concat(this.elementId, \"__dashboard\");\n };\n Html5QrcodeScanner.prototype.getHeaderMessageContainerId = function () {\n return \"\".concat(this.elementId, \"__header_message\");\n };\n Html5QrcodeScanner.prototype.getCameraPermissionButtonId = function () {\n return PublicUiElementIdAndClasses.CAMERA_PERMISSION_BUTTON_ID;\n };\n Html5QrcodeScanner.prototype.getCameraScanRegion = function () {\n return document.getElementById(this.getDashboardSectionCameraScanRegionId());\n };\n Html5QrcodeScanner.prototype.getDashboardSectionSwapLink = function () {\n return document.getElementById(this.getDashboardSectionSwapLinkId());\n };\n Html5QrcodeScanner.prototype.getHeaderMessageDiv = function () {\n return document.getElementById(this.getHeaderMessageContainerId());\n };\n return Html5QrcodeScanner;\n}());\nexport { Html5QrcodeScanner };\n","
    \r\n\t
    \r\n\r\n\t
    \r\n\t\t\r\n\t\t\t{{ \"SCANNER_MODAL__CANCEL\" | transloco }}\r\n\t\t\r\n\t
    \r\n
    \r\n","import { Component, OnDestroy, OnInit } from \"@angular/core\";\r\nimport { Html5Qrcode, Html5QrcodeCameraScanConfig } from \"html5-qrcode\";\r\nimport { ModalController, LoadingController, AlertController } from \"@ionic/angular\";\r\nimport { TranslocoService } from \"@ngneat/transloco\";\r\n\r\n@Component({\r\n\tselector: \"app-scanner\",\r\n\ttemplateUrl: \"scanner.component.html\",\r\n\tstyleUrls: [\"./scanner.component.scss\"],\r\n})\r\nexport class ScannerComponent implements OnInit, OnDestroy {\r\n\tstatic modalId = \"scanner-component\";\r\n\r\n\tconstructor(\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate loadingController: LoadingController,\r\n\t\tprivate alertController: AlertController,\r\n\t\tprivate translocoService: TranslocoService,\r\n\t) {}\r\n\r\n\tcameraScanConfig: Html5QrcodeCameraScanConfig = {\r\n\t\tfps: 10,\r\n\t\tqrbox: { width: 250, height: 250 },\r\n\t};\r\n\thtml5QrCode: Html5Qrcode | null;\r\n\r\n\tstate: \"loading\" | \"ready\" = \"loading\";\r\n\r\n\tprivate scan = async () => {\r\n\t\tconst loading = await this.loadingController.create({\r\n\t\t\tmessage: this.translocoService.translate(\"SCANNER_MODAL__OPENING_CAMERA\"),\r\n\t\t});\r\n\r\n\t\tloading.present();\r\n\r\n\t\ttry {\r\n\t\t\tconst cameras = await Html5Qrcode.getCameras();\r\n\t\t\tthis.html5QrCode = new Html5Qrcode(\"reader\");\r\n\r\n\t\t\tawait this.html5QrCode.start(\r\n\t\t\t\tcameras[0].id,\r\n\t\t\t\tthis.cameraScanConfig,\r\n\t\t\t\t(decodedText) => this.dismiss(decodedText),\r\n\t\t\t\tundefined, //TS definition file says this is required\r\n\t\t\t);\r\n\r\n\t\t\tthis.state = \"ready\";\r\n\t\t\tloading.dismiss();\r\n\t\t} catch {\r\n\t\t\tloading.dismiss();\r\n\r\n\t\t\tconst alert = await this.alertController.create({\r\n\t\t\t\theader: this.translocoService.translate(\"SCANNER_MODAL__ERROR_ALERT__HEADLINE\"),\r\n\t\t\t\tmessage: this.translocoService.translate(\"SCANNER_MODAL__ERROR_ALERT__MESSAGE\"),\r\n\t\t\t\tbuttons: [this.translocoService.translate(\"SCANNER_MODAL__ERROR_ALERT__OK\")],\r\n\t\t\t});\r\n\r\n\t\t\tawait alert.present();\r\n\t\t\tthis.dismiss(null);\r\n\t\t}\r\n\t};\r\n\r\n\tngOnDestroy(): void {\r\n\t\tthis.html5QrCode?.stop();\r\n\t}\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.scan();\r\n\t}\r\n\r\n\tasync dismiss(scannerCode: string | null) {\r\n\t\tawait this.modalController.dismiss(scannerCode, null, ScannerComponent.modalId);\r\n\t}\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { ScannerComponent } from \"./scanner.component\";\r\n\r\n@Injectable()\r\nexport class ScannerModalService {\r\n\tconstructor(private modalController: ModalController) {}\r\n\r\n\tcreate = () => {\r\n\t\treturn this.modalController.create({\r\n\t\t\tid: ScannerComponent.modalId,\r\n\t\t\tcssClass: \"scanner-modal\",\r\n\t\t\tcomponent: ScannerComponent,\r\n\t\t});\r\n\t};\r\n}\r\n","/*!\n * Signature Pad v4.1.7 | https://github.com/szimek/signature_pad\n * (c) 2023 Szymon Nowak | Released under the MIT license\n */\n\nclass Point {\n constructor(x, y, pressure, time) {\n if (isNaN(x) || isNaN(y)) {\n throw new Error(`Point is invalid: (${x}, ${y})`);\n }\n this.x = +x;\n this.y = +y;\n this.pressure = pressure || 0;\n this.time = time || Date.now();\n }\n distanceTo(start) {\n return Math.sqrt(Math.pow(this.x - start.x, 2) + Math.pow(this.y - start.y, 2));\n }\n equals(other) {\n return (this.x === other.x &&\n this.y === other.y &&\n this.pressure === other.pressure &&\n this.time === other.time);\n }\n velocityFrom(start) {\n return this.time !== start.time\n ? this.distanceTo(start) / (this.time - start.time)\n : 0;\n }\n}\n\nclass Bezier {\n static fromPoints(points, widths) {\n const c2 = this.calculateControlPoints(points[0], points[1], points[2]).c2;\n const c3 = this.calculateControlPoints(points[1], points[2], points[3]).c1;\n return new Bezier(points[1], c2, c3, points[2], widths.start, widths.end);\n }\n static calculateControlPoints(s1, s2, s3) {\n const dx1 = s1.x - s2.x;\n const dy1 = s1.y - s2.y;\n const dx2 = s2.x - s3.x;\n const dy2 = s2.y - s3.y;\n const m1 = { x: (s1.x + s2.x) / 2.0, y: (s1.y + s2.y) / 2.0 };\n const m2 = { x: (s2.x + s3.x) / 2.0, y: (s2.y + s3.y) / 2.0 };\n const l1 = Math.sqrt(dx1 * dx1 + dy1 * dy1);\n const l2 = Math.sqrt(dx2 * dx2 + dy2 * dy2);\n const dxm = m1.x - m2.x;\n const dym = m1.y - m2.y;\n const k = l2 / (l1 + l2);\n const cm = { x: m2.x + dxm * k, y: m2.y + dym * k };\n const tx = s2.x - cm.x;\n const ty = s2.y - cm.y;\n return {\n c1: new Point(m1.x + tx, m1.y + ty),\n c2: new Point(m2.x + tx, m2.y + ty),\n };\n }\n constructor(startPoint, control2, control1, endPoint, startWidth, endWidth) {\n this.startPoint = startPoint;\n this.control2 = control2;\n this.control1 = control1;\n this.endPoint = endPoint;\n this.startWidth = startWidth;\n this.endWidth = endWidth;\n }\n length() {\n const steps = 10;\n let length = 0;\n let px;\n let py;\n for (let i = 0; i <= steps; i += 1) {\n const t = i / steps;\n const cx = this.point(t, this.startPoint.x, this.control1.x, this.control2.x, this.endPoint.x);\n const cy = this.point(t, this.startPoint.y, this.control1.y, this.control2.y, this.endPoint.y);\n if (i > 0) {\n const xdiff = cx - px;\n const ydiff = cy - py;\n length += Math.sqrt(xdiff * xdiff + ydiff * ydiff);\n }\n px = cx;\n py = cy;\n }\n return length;\n }\n point(t, start, c1, c2, end) {\n return (start * (1.0 - t) * (1.0 - t) * (1.0 - t))\n + (3.0 * c1 * (1.0 - t) * (1.0 - t) * t)\n + (3.0 * c2 * (1.0 - t) * t * t)\n + (end * t * t * t);\n }\n}\n\nclass SignatureEventTarget {\n constructor() {\n try {\n this._et = new EventTarget();\n }\n catch (error) {\n this._et = document;\n }\n }\n addEventListener(type, listener, options) {\n this._et.addEventListener(type, listener, options);\n }\n dispatchEvent(event) {\n return this._et.dispatchEvent(event);\n }\n removeEventListener(type, callback, options) {\n this._et.removeEventListener(type, callback, options);\n }\n}\n\nfunction throttle(fn, wait = 250) {\n let previous = 0;\n let timeout = null;\n let result;\n let storedContext;\n let storedArgs;\n const later = () => {\n previous = Date.now();\n timeout = null;\n result = fn.apply(storedContext, storedArgs);\n if (!timeout) {\n storedContext = null;\n storedArgs = [];\n }\n };\n return function wrapper(...args) {\n const now = Date.now();\n const remaining = wait - (now - previous);\n storedContext = this;\n storedArgs = args;\n if (remaining <= 0 || remaining > wait) {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n }\n previous = now;\n result = fn.apply(storedContext, storedArgs);\n if (!timeout) {\n storedContext = null;\n storedArgs = [];\n }\n }\n else if (!timeout) {\n timeout = window.setTimeout(later, remaining);\n }\n return result;\n };\n}\n\nclass SignaturePad extends SignatureEventTarget {\n constructor(canvas, options = {}) {\n super();\n this.canvas = canvas;\n this._drawingStroke = false;\n this._isEmpty = true;\n this._lastPoints = [];\n this._data = [];\n this._lastVelocity = 0;\n this._lastWidth = 0;\n this._handleMouseDown = (event) => {\n if (event.buttons === 1) {\n this._strokeBegin(event);\n }\n };\n this._handleMouseMove = (event) => {\n this._strokeMoveUpdate(event);\n };\n this._handleMouseUp = (event) => {\n if (event.buttons === 1) {\n this._strokeEnd(event);\n }\n };\n this._handleTouchStart = (event) => {\n if (event.cancelable) {\n event.preventDefault();\n }\n if (event.targetTouches.length === 1) {\n const touch = event.changedTouches[0];\n this._strokeBegin(touch);\n }\n };\n this._handleTouchMove = (event) => {\n if (event.cancelable) {\n event.preventDefault();\n }\n const touch = event.targetTouches[0];\n this._strokeMoveUpdate(touch);\n };\n this._handleTouchEnd = (event) => {\n const wasCanvasTouched = event.target === this.canvas;\n if (wasCanvasTouched) {\n if (event.cancelable) {\n event.preventDefault();\n }\n const touch = event.changedTouches[0];\n this._strokeEnd(touch);\n }\n };\n this._handlePointerStart = (event) => {\n event.preventDefault();\n this._strokeBegin(event);\n };\n this._handlePointerMove = (event) => {\n this._strokeMoveUpdate(event);\n };\n this._handlePointerEnd = (event) => {\n if (this._drawingStroke) {\n event.preventDefault();\n this._strokeEnd(event);\n }\n };\n this.velocityFilterWeight = options.velocityFilterWeight || 0.7;\n this.minWidth = options.minWidth || 0.5;\n this.maxWidth = options.maxWidth || 2.5;\n this.throttle = ('throttle' in options ? options.throttle : 16);\n this.minDistance = ('minDistance' in options ? options.minDistance : 5);\n this.dotSize = options.dotSize || 0;\n this.penColor = options.penColor || 'black';\n this.backgroundColor = options.backgroundColor || 'rgba(0,0,0,0)';\n this.compositeOperation = options.compositeOperation || 'source-over';\n this._strokeMoveUpdate = this.throttle\n ? throttle(SignaturePad.prototype._strokeUpdate, this.throttle)\n : SignaturePad.prototype._strokeUpdate;\n this._ctx = canvas.getContext('2d');\n this.clear();\n this.on();\n }\n clear() {\n const { _ctx: ctx, canvas } = this;\n ctx.fillStyle = this.backgroundColor;\n ctx.clearRect(0, 0, canvas.width, canvas.height);\n ctx.fillRect(0, 0, canvas.width, canvas.height);\n this._data = [];\n this._reset(this._getPointGroupOptions());\n this._isEmpty = true;\n }\n fromDataURL(dataUrl, options = {}) {\n return new Promise((resolve, reject) => {\n const image = new Image();\n const ratio = options.ratio || window.devicePixelRatio || 1;\n const width = options.width || this.canvas.width / ratio;\n const height = options.height || this.canvas.height / ratio;\n const xOffset = options.xOffset || 0;\n const yOffset = options.yOffset || 0;\n this._reset(this._getPointGroupOptions());\n image.onload = () => {\n this._ctx.drawImage(image, xOffset, yOffset, width, height);\n resolve();\n };\n image.onerror = (error) => {\n reject(error);\n };\n image.crossOrigin = 'anonymous';\n image.src = dataUrl;\n this._isEmpty = false;\n });\n }\n toDataURL(type = 'image/png', encoderOptions) {\n switch (type) {\n case 'image/svg+xml':\n if (typeof encoderOptions !== 'object') {\n encoderOptions = undefined;\n }\n return `data:image/svg+xml;base64,${btoa(this.toSVG(encoderOptions))}`;\n default:\n if (typeof encoderOptions !== 'number') {\n encoderOptions = undefined;\n }\n return this.canvas.toDataURL(type, encoderOptions);\n }\n }\n on() {\n this.canvas.style.touchAction = 'none';\n this.canvas.style.msTouchAction = 'none';\n this.canvas.style.userSelect = 'none';\n const isIOS = /Macintosh/.test(navigator.userAgent) && 'ontouchstart' in document;\n if (window.PointerEvent && !isIOS) {\n this._handlePointerEvents();\n }\n else {\n this._handleMouseEvents();\n if ('ontouchstart' in window) {\n this._handleTouchEvents();\n }\n }\n }\n off() {\n this.canvas.style.touchAction = 'auto';\n this.canvas.style.msTouchAction = 'auto';\n this.canvas.style.userSelect = 'auto';\n this.canvas.removeEventListener('pointerdown', this._handlePointerStart);\n this.canvas.removeEventListener('pointermove', this._handlePointerMove);\n this.canvas.ownerDocument.removeEventListener('pointerup', this._handlePointerEnd);\n this.canvas.removeEventListener('mousedown', this._handleMouseDown);\n this.canvas.removeEventListener('mousemove', this._handleMouseMove);\n this.canvas.ownerDocument.removeEventListener('mouseup', this._handleMouseUp);\n this.canvas.removeEventListener('touchstart', this._handleTouchStart);\n this.canvas.removeEventListener('touchmove', this._handleTouchMove);\n this.canvas.removeEventListener('touchend', this._handleTouchEnd);\n }\n isEmpty() {\n return this._isEmpty;\n }\n fromData(pointGroups, { clear = true } = {}) {\n if (clear) {\n this.clear();\n }\n this._fromData(pointGroups, this._drawCurve.bind(this), this._drawDot.bind(this));\n this._data = this._data.concat(pointGroups);\n }\n toData() {\n return this._data;\n }\n _getPointGroupOptions(group) {\n return {\n penColor: group && 'penColor' in group ? group.penColor : this.penColor,\n dotSize: group && 'dotSize' in group ? group.dotSize : this.dotSize,\n minWidth: group && 'minWidth' in group ? group.minWidth : this.minWidth,\n maxWidth: group && 'maxWidth' in group ? group.maxWidth : this.maxWidth,\n velocityFilterWeight: group && 'velocityFilterWeight' in group\n ? group.velocityFilterWeight\n : this.velocityFilterWeight,\n compositeOperation: group && 'compositeOperation' in group\n ? group.compositeOperation\n : this.compositeOperation,\n };\n }\n _strokeBegin(event) {\n const cancelled = !this.dispatchEvent(new CustomEvent('beginStroke', { detail: event, cancelable: true }));\n if (cancelled) {\n return;\n }\n this._drawingStroke = true;\n const pointGroupOptions = this._getPointGroupOptions();\n const newPointGroup = Object.assign(Object.assign({}, pointGroupOptions), { points: [] });\n this._data.push(newPointGroup);\n this._reset(pointGroupOptions);\n this._strokeUpdate(event);\n }\n _strokeUpdate(event) {\n if (!this._drawingStroke) {\n return;\n }\n if (this._data.length === 0) {\n this._strokeBegin(event);\n return;\n }\n this.dispatchEvent(new CustomEvent('beforeUpdateStroke', { detail: event }));\n const x = event.clientX;\n const y = event.clientY;\n const pressure = event.pressure !== undefined\n ? event.pressure\n : event.force !== undefined\n ? event.force\n : 0;\n const point = this._createPoint(x, y, pressure);\n const lastPointGroup = this._data[this._data.length - 1];\n const lastPoints = lastPointGroup.points;\n const lastPoint = lastPoints.length > 0 && lastPoints[lastPoints.length - 1];\n const isLastPointTooClose = lastPoint\n ? point.distanceTo(lastPoint) <= this.minDistance\n : false;\n const pointGroupOptions = this._getPointGroupOptions(lastPointGroup);\n if (!lastPoint || !(lastPoint && isLastPointTooClose)) {\n const curve = this._addPoint(point, pointGroupOptions);\n if (!lastPoint) {\n this._drawDot(point, pointGroupOptions);\n }\n else if (curve) {\n this._drawCurve(curve, pointGroupOptions);\n }\n lastPoints.push({\n time: point.time,\n x: point.x,\n y: point.y,\n pressure: point.pressure,\n });\n }\n this.dispatchEvent(new CustomEvent('afterUpdateStroke', { detail: event }));\n }\n _strokeEnd(event) {\n if (!this._drawingStroke) {\n return;\n }\n this._strokeUpdate(event);\n this._drawingStroke = false;\n this.dispatchEvent(new CustomEvent('endStroke', { detail: event }));\n }\n _handlePointerEvents() {\n this._drawingStroke = false;\n this.canvas.addEventListener('pointerdown', this._handlePointerStart);\n this.canvas.addEventListener('pointermove', this._handlePointerMove);\n this.canvas.ownerDocument.addEventListener('pointerup', this._handlePointerEnd);\n }\n _handleMouseEvents() {\n this._drawingStroke = false;\n this.canvas.addEventListener('mousedown', this._handleMouseDown);\n this.canvas.addEventListener('mousemove', this._handleMouseMove);\n this.canvas.ownerDocument.addEventListener('mouseup', this._handleMouseUp);\n }\n _handleTouchEvents() {\n this.canvas.addEventListener('touchstart', this._handleTouchStart);\n this.canvas.addEventListener('touchmove', this._handleTouchMove);\n this.canvas.addEventListener('touchend', this._handleTouchEnd);\n }\n _reset(options) {\n this._lastPoints = [];\n this._lastVelocity = 0;\n this._lastWidth = (options.minWidth + options.maxWidth) / 2;\n this._ctx.fillStyle = options.penColor;\n this._ctx.globalCompositeOperation = options.compositeOperation;\n }\n _createPoint(x, y, pressure) {\n const rect = this.canvas.getBoundingClientRect();\n return new Point(x - rect.left, y - rect.top, pressure, new Date().getTime());\n }\n _addPoint(point, options) {\n const { _lastPoints } = this;\n _lastPoints.push(point);\n if (_lastPoints.length > 2) {\n if (_lastPoints.length === 3) {\n _lastPoints.unshift(_lastPoints[0]);\n }\n const widths = this._calculateCurveWidths(_lastPoints[1], _lastPoints[2], options);\n const curve = Bezier.fromPoints(_lastPoints, widths);\n _lastPoints.shift();\n return curve;\n }\n return null;\n }\n _calculateCurveWidths(startPoint, endPoint, options) {\n const velocity = options.velocityFilterWeight * endPoint.velocityFrom(startPoint) +\n (1 - options.velocityFilterWeight) * this._lastVelocity;\n const newWidth = this._strokeWidth(velocity, options);\n const widths = {\n end: newWidth,\n start: this._lastWidth,\n };\n this._lastVelocity = velocity;\n this._lastWidth = newWidth;\n return widths;\n }\n _strokeWidth(velocity, options) {\n return Math.max(options.maxWidth / (velocity + 1), options.minWidth);\n }\n _drawCurveSegment(x, y, width) {\n const ctx = this._ctx;\n ctx.moveTo(x, y);\n ctx.arc(x, y, width, 0, 2 * Math.PI, false);\n this._isEmpty = false;\n }\n _drawCurve(curve, options) {\n const ctx = this._ctx;\n const widthDelta = curve.endWidth - curve.startWidth;\n const drawSteps = Math.ceil(curve.length()) * 2;\n ctx.beginPath();\n ctx.fillStyle = options.penColor;\n for (let i = 0; i < drawSteps; i += 1) {\n const t = i / drawSteps;\n const tt = t * t;\n const ttt = tt * t;\n const u = 1 - t;\n const uu = u * u;\n const uuu = uu * u;\n let x = uuu * curve.startPoint.x;\n x += 3 * uu * t * curve.control1.x;\n x += 3 * u * tt * curve.control2.x;\n x += ttt * curve.endPoint.x;\n let y = uuu * curve.startPoint.y;\n y += 3 * uu * t * curve.control1.y;\n y += 3 * u * tt * curve.control2.y;\n y += ttt * curve.endPoint.y;\n const width = Math.min(curve.startWidth + ttt * widthDelta, options.maxWidth);\n this._drawCurveSegment(x, y, width);\n }\n ctx.closePath();\n ctx.fill();\n }\n _drawDot(point, options) {\n const ctx = this._ctx;\n const width = options.dotSize > 0\n ? options.dotSize\n : (options.minWidth + options.maxWidth) / 2;\n ctx.beginPath();\n this._drawCurveSegment(point.x, point.y, width);\n ctx.closePath();\n ctx.fillStyle = options.penColor;\n ctx.fill();\n }\n _fromData(pointGroups, drawCurve, drawDot) {\n for (const group of pointGroups) {\n const { points } = group;\n const pointGroupOptions = this._getPointGroupOptions(group);\n if (points.length > 1) {\n for (let j = 0; j < points.length; j += 1) {\n const basicPoint = points[j];\n const point = new Point(basicPoint.x, basicPoint.y, basicPoint.pressure, basicPoint.time);\n if (j === 0) {\n this._reset(pointGroupOptions);\n }\n const curve = this._addPoint(point, pointGroupOptions);\n if (curve) {\n drawCurve(curve, pointGroupOptions);\n }\n }\n }\n else {\n this._reset(pointGroupOptions);\n drawDot(points[0], pointGroupOptions);\n }\n }\n }\n toSVG({ includeBackgroundColor = false } = {}) {\n const pointGroups = this._data;\n const ratio = Math.max(window.devicePixelRatio || 1, 1);\n const minX = 0;\n const minY = 0;\n const maxX = this.canvas.width / ratio;\n const maxY = this.canvas.height / ratio;\n const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n svg.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n svg.setAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink');\n svg.setAttribute('viewBox', `${minX} ${minY} ${maxX} ${maxY}`);\n svg.setAttribute('width', maxX.toString());\n svg.setAttribute('height', maxY.toString());\n if (includeBackgroundColor && this.backgroundColor) {\n const rect = document.createElement('rect');\n rect.setAttribute('width', '100%');\n rect.setAttribute('height', '100%');\n rect.setAttribute('fill', this.backgroundColor);\n svg.appendChild(rect);\n }\n this._fromData(pointGroups, (curve, { penColor }) => {\n const path = document.createElement('path');\n if (!isNaN(curve.control1.x) &&\n !isNaN(curve.control1.y) &&\n !isNaN(curve.control2.x) &&\n !isNaN(curve.control2.y)) {\n const attr = `M ${curve.startPoint.x.toFixed(3)},${curve.startPoint.y.toFixed(3)} ` +\n `C ${curve.control1.x.toFixed(3)},${curve.control1.y.toFixed(3)} ` +\n `${curve.control2.x.toFixed(3)},${curve.control2.y.toFixed(3)} ` +\n `${curve.endPoint.x.toFixed(3)},${curve.endPoint.y.toFixed(3)}`;\n path.setAttribute('d', attr);\n path.setAttribute('stroke-width', (curve.endWidth * 2.25).toFixed(3));\n path.setAttribute('stroke', penColor);\n path.setAttribute('fill', 'none');\n path.setAttribute('stroke-linecap', 'round');\n svg.appendChild(path);\n }\n }, (point, { penColor, dotSize, minWidth, maxWidth }) => {\n const circle = document.createElement('circle');\n const size = dotSize > 0 ? dotSize : (minWidth + maxWidth) / 2;\n circle.setAttribute('r', size.toString());\n circle.setAttribute('cx', point.x.toString());\n circle.setAttribute('cy', point.y.toString());\n circle.setAttribute('fill', penColor);\n svg.appendChild(circle);\n });\n return svg.outerHTML;\n }\n}\n\nexport { SignaturePad as default };\n","import { Component, ElementRef, OnInit, ViewChild } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { UtilityService } from \"source/app/configuration/services/utility.service\";\r\nimport SignaturePad from \"signature_pad\";\r\n\r\n@Component({\r\n\tselector: \"app-signature\",\r\n\ttemplateUrl: \"signature.component.html\",\r\n\tstyleUrls: [\"./signature.component.scss\"],\r\n})\r\nexport class SignatureComponent implements OnInit {\r\n\tstatic modalId = \"signature-component\";\r\n\r\n\tconstructor(\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate utilityService: UtilityService,\r\n\t) {}\r\n\r\n\t@ViewChild(\"canvas\", { static: true }) canvasRef!: ElementRef;\r\n\r\n\tsignaturePad: SignaturePad;\r\n\r\n\tprivate resizeCanvas = () => {\r\n\t\t//this is to make sure pixel scaling works on high DPI screens\r\n\t\tconst canvas: HTMLCanvasElement = this.canvasRef.nativeElement;\r\n\t\tconst ratio = Math.max(window.devicePixelRatio || 1, 1);\r\n\t\tconst width = 600;\r\n\t\tconst height = 250;\r\n\t\tcanvas.width = width * ratio;\r\n\t\tcanvas.height = height * ratio;\r\n\t\tcanvas.getContext(\"2d\").scale(ratio, ratio);\r\n\t};\r\n\r\n\tprivate initSignaturePad = () => {\r\n\t\tconst canvas: HTMLCanvasElement = this.canvasRef.nativeElement;\r\n\t\tthis.signaturePad = new SignaturePad(canvas, {\r\n\t\t\tbackgroundColor: \"transparent\",\r\n\t\t});\r\n\t\tthis.resizeCanvas();\r\n\t};\r\n\r\n\tcancel = () => {\r\n\t\tthis.modalController.dismiss();\r\n\t};\r\n\r\n\tsave = async () => {\r\n\t\tif (this.signaturePad.isEmpty()) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst signatureFile = await this.utilityService.dataURLtoFile(this.signaturePad.toDataURL(), \"signature.png\");\r\n\t\tthis.modalController.dismiss(signatureFile);\r\n\t};\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.initSignaturePad();\r\n\t}\r\n}\r\n","
    \r\n\t\r\n\t\t\r\n\t\t\t{{ \"SIGNATURE_MODAL__SIGN\" | transloco }}\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n\t
    \r\n\t\t\r\n\t
    \r\n\r\n\t
    \r\n\t\t
    \r\n\t\t\t{{ \"SIGNATURE_MODAL__SIGN_ABOVE\" | transloco }}\r\n\t\t
    \r\n\t\t
    \r\n\t\t\t\r\n\t\t\t\t{{ \"SIGNATURE_MODAL__SAVE\" | transloco }}\r\n\t\t\t\r\n\t\t
    \r\n\t
    \r\n
    \r\n","import { Injectable } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { SignatureComponent } from \"./signature.component\";\r\n\r\n@Injectable()\r\nexport class SignatureModalService {\r\n\tconstructor(private modalController: ModalController) {}\r\n\r\n\tcreate = () => {\r\n\t\treturn this.modalController.create({\r\n\t\t\tid: SignatureComponent.modalId,\r\n\t\t\tcssClass: \"signature-modal\",\r\n\t\t\tcomponent: SignatureComponent,\r\n\t\t});\r\n\t};\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { ValuePickerComponent, ValuePickerModel } from \"./value-picker.component\";\r\n\r\n@Injectable()\r\nexport class ValuePickerModalService {\r\n\tconstructor(private modalController: ModalController) {}\r\n\r\n\tcreate = (model: ValuePickerModel) =>\r\n\t\tthis.modalController.create({\r\n\t\t\tid: ValuePickerComponent.modalId,\r\n\t\t\tcomponent: ValuePickerComponent,\r\n\t\t\tcomponentProps: model,\r\n\t\t\tshowBackdrop: true,\r\n\t\t});\r\n}\r\n","\r\n\t\r\n\t\t{{ title | transloco }}\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\t\r\n\t\t\r\n\t\t\t

    \r\n\t\t\t\t{{ description | transloco }}\r\n\t\t\t

    \r\n\t\t
    \r\n\t\t\r\n\t
    \r\n
    \r\n\r\n\r\n\t\r\n\t\t\r\n\t\t\t
    \r\n\t\t\t\r\n\t\t\t{{ element.name }}\r\n\t\t
    \r\n\t
    \r\n
    \r\n","/* eslint-disable @angular-eslint/component-selector */\r\nimport { Component, Input, OnInit } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\n\r\n@Component({\r\n\tselector: \"value-picker\",\r\n\ttemplateUrl: \"./value-picker.component.html\",\r\n})\r\nexport class ValuePickerComponent implements ValuePickerModel, OnInit {\r\n\tstatic modalId = \"value-picker-component\";\r\n\r\n\tconstructor(private modalController: ModalController) {}\r\n\r\n\t@Input() title: string;\r\n\t@Input() description: string;\r\n\t@Input() searchPlaceholder: string;\r\n\t@Input() elements: ValuePickerItem[];\r\n\r\n\tprotected filteredElements: ValuePickerItem[];\r\n\r\n\tsearch = (searchTerm: string = null) => {\r\n\t\tif (searchTerm == null || searchTerm == \"\") {\r\n\t\t\tthis.filteredElements = this.elements;\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.filteredElements = this.elements.filter(\r\n\t\t\t(x) => x.name.toLowerCase().indexOf(searchTerm.toLowerCase()) > -1,\r\n\t\t);\r\n\t};\r\n\tngOnInit(): void {\r\n\t\tthis.search();\r\n\t}\r\n\r\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n\tonSearchChange(event: any) {\r\n\t\tthis.search(event.detail?.value);\r\n\t}\r\n\tasync dismiss(element: ValuePickerItem) {\r\n\t\tawait this.modalController.dismiss(element, null, ValuePickerComponent.modalId);\r\n\t}\r\n}\r\n\r\nexport interface ValuePickerModel {\r\n\ttitle: string;\r\n\tdescription?: string;\r\n\tsearchPlaceholder?: string;\r\n\telements: ValuePickerItem[];\r\n}\r\n\r\nexport interface ValuePickerItem {\r\n\tname: string;\r\n\tid?: string;\r\n}\r\n","import { CommonModule } from \"@angular/common\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { FormsModule } from \"@angular/forms\";\r\nimport { IonicModule } from \"@ionic/angular\";\r\nimport { TranslocoModule } from \"@ngneat/transloco\";\r\nimport { ValuePickerModalService } from \"./value-picker-modal.service\";\r\nimport { ValuePickerComponent } from \"./value-picker.component\";\r\n\r\n@NgModule({\r\n\timports: [CommonModule, FormsModule, IonicModule, TranslocoModule],\r\n\tdeclarations: [ValuePickerComponent],\r\n\tproviders: [ValuePickerModalService],\r\n})\r\nexport class ValuePickerModule {}\r\n","
    \r\n\t
    \r\n\t\t\r\n\t
    \r\n\r\n\t
    \r\n\t\t\r\n\t
    \r\n\r\n\t
    \r\n\t\t
    {{ video.name }}
    \r\n\t
    \r\n
    \r\n\r\n\r\n","/* eslint-disable @angular-eslint/component-selector */\r\nimport { Component, Input, OnInit } from \"@angular/core\";\r\nimport { DomSanitizer, SafeResourceUrl } from \"@angular/platform-browser\";\r\nimport { ModalController } from \"@ionic/angular\";\r\n\r\n@Component({\r\n\tselector: \"video-player\",\r\n\ttemplateUrl: \"./video-player.component.html\",\r\n\tstyleUrls: [\"./video-player.component.scss\"],\r\n\tproviders: [],\r\n})\r\nexport class VideoPlayerComponent implements OnInit {\r\n\tstatic modalId = \"video-player-component\";\r\n\r\n\tconstructor(\r\n\t\tprivate modalController: ModalController,\r\n\t\tprivate sanitizer: DomSanitizer,\r\n\t) {}\r\n\r\n\t@Input() video: VideoVersion;\r\n\tvideoUrl: SafeResourceUrl;\r\n\r\n\tngOnInit() {\r\n\t\tconst id = this.video?.providerSettings?.videoId;\r\n\t\tconst type = this.video?.providerSettings?.type;\r\n\r\n\t\tif (type == \"Vimeo\") {\r\n\t\t\tthis.videoUrl = this.sanitizer.bypassSecurityTrustResourceUrl(\r\n\t\t\t\t\"https://player.vimeo.com/video/\" + id + \"?byline=0&portrait=0\",\r\n\t\t\t);\r\n\t\t} else if (type == \"YouTube\") {\r\n\t\t\tthis.videoUrl = this.sanitizer.bypassSecurityTrustResourceUrl(\"https://www.youtube.com/embed/\" + id);\r\n\t\t}\r\n\t}\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { ModalController } from \"@ionic/angular\";\r\nimport { VideoPlayerComponent } from \"./video-player.component\";\r\n\r\n@Injectable()\r\nexport class VideoPlayerModalService {\r\n\tconstructor(private modalController: ModalController) {}\r\n\r\n\tcreate = (video: VideoVersion) =>\r\n\t\tthis.modalController.create({\r\n\t\t\tid: VideoPlayerComponent.modalId,\r\n\t\t\tcomponent: VideoPlayerComponent,\r\n\t\t\tcomponentProps: {\r\n\t\t\t\tvideo: video,\r\n\t\t\t},\r\n\t\t});\r\n}\r\n","import { CommonModule } from \"@angular/common\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { FormsModule } from \"@angular/forms\";\r\nimport { IonicModule } from \"@ionic/angular\";\r\nimport { TranslocoModule } from \"@ngneat/transloco\";\r\nimport { VideoPlayerModalService } from \"./video-player-modal.service\";\r\nimport { VideoPlayerComponent } from \"./video-player.component\";\r\n\r\n@NgModule({\r\n\timports: [CommonModule, FormsModule, IonicModule, TranslocoModule],\r\n\tdeclarations: [VideoPlayerComponent],\r\n\tproviders: [VideoPlayerModalService],\r\n})\r\nexport class VideoPlayerModule {}\r\n","export class TimeSpanModel {\r\n\tprivate constructor(totalMinutes: number) {\r\n\t\tthis.totalMinutes = totalMinutes;\r\n\r\n\t\tthis.hours = Math.floor(totalMinutes / 60);\r\n\t\tthis.minutes = Math.floor(totalMinutes % 60);\r\n\t}\r\n\r\n\treadonly totalMinutes: number;\r\n\treadonly minutes: number;\r\n\treadonly hours: number;\r\n\tstatic fromMinutes(totalMinutes: number) {\r\n\t\treturn new TimeSpanModel(totalMinutes);\r\n\t}\r\n}\r\n","export const environment = {\r\n\tisProduction: true,\r\n\tbuildNumber: \"5906\",\r\n};\r\n","import { enableProdMode } from \"@angular/core\";\r\nimport { platformBrowserDynamic } from \"@angular/platform-browser-dynamic\";\r\nimport { enableElfProdMode } from \"@ngneat/elf\";\r\nimport { AppModule } from \"./app/app.module\";\r\nimport { environment } from \"./environments/environment\";\r\nimport { defineCustomElements } from \"@ionic/pwa-elements/loader\";\r\n\r\ndefineCustomElements(window);\r\n\r\nif (environment.isProduction) {\r\n\tenableProdMode();\r\n\tenableElfProdMode();\r\n}\r\n\r\nplatformBrowserDynamic()\r\n\t.bootstrapModule(AppModule)\r\n\t.catch((error) => console.error(error));\r\n","import { p as promiseResolve, b as bootstrapLazy } from './index-1c5c47b4.js';\nexport { s as setNonce } from './index-1c5c47b4.js';\n\n/*\n Stencil Client Patch Esm v3.4.0 | MIT Licensed | https://stenciljs.com\n */\nconst patchEsm = () => {\n return promiseResolve();\n};\n\nconst defineCustomElements = (win, options) => {\n if (typeof window === 'undefined') return Promise.resolve();\n return patchEsm().then(() => {\n return bootstrapLazy([[\"pwa-camera-modal\",[[1,\"pwa-camera-modal\",{\"facingMode\":[1,\"facing-mode\"],\"present\":[64],\"dismiss\":[64]}]]],[\"pwa-action-sheet\",[[1,\"pwa-action-sheet\",{\"header\":[1],\"cancelable\":[4],\"options\":[16],\"open\":[32]}]]],[\"pwa-toast\",[[1,\"pwa-toast\",{\"message\":[1],\"duration\":[2],\"closing\":[32]}]]],[\"pwa-camera\",[[1,\"pwa-camera\",{\"facingMode\":[1,\"facing-mode\"],\"handlePhoto\":[16],\"handleNoDeviceError\":[16],\"noDevicesText\":[1,\"no-devices-text\"],\"noDevicesButtonText\":[1,\"no-devices-button-text\"],\"photo\":[32],\"photoSrc\":[32],\"showShutterOverlay\":[32],\"flashIndex\":[32],\"hasCamera\":[32],\"rotation\":[32],\"deviceError\":[32]}]]],[\"pwa-camera-modal-instance\",[[1,\"pwa-camera-modal-instance\",{\"facingMode\":[1,\"facing-mode\"],\"noDevicesText\":[1,\"no-devices-text\"],\"noDevicesButtonText\":[1,\"no-devices-button-text\"]},[[16,\"keyup\",\"handleBackdropKeyUp\"]]]]]], options);\n });\n};\n\nexport { defineCustomElements };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\n/**\n * Logs a warning to the console with an Ionic prefix\n * to indicate the library that is warning the developer.\n *\n * @param message - The string message to be logged to the console.\n */\nconst printIonWarning = (message, ...params) => {\n return console.warn(`[Ionic Warning]: ${message}`, ...params);\n};\n/*\n * Logs an error to the console with an Ionic prefix\n * to indicate the library that is warning the developer.\n *\n * @param message - The string message to be logged to the console.\n * @param params - Additional arguments to supply to the console.error.\n */\nconst printIonError = (message, ...params) => {\n return console.error(`[Ionic Error]: ${message}`, ...params);\n};\n/**\n * Prints an error informing developers that an implementation requires an element to be used\n * within a specific selector.\n *\n * @param el The web component element this is requiring the element.\n * @param targetSelectors The selector or selectors that were not found.\n */\nconst printRequiredElementError = (el, ...targetSelectors) => {\n return console.error(`<${el.tagName.toLowerCase()}> must be used inside ${targetSelectors.join(' or ')}.`);\n};\n\nexport { printIonError as a, printRequiredElementError as b, printIonWarning as p };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { c as config } from './ionic-global.js';\nimport { writeTask, Build } from '@stencil/core/internal/client';\nimport { p as printIonWarning } from './index6.js';\nimport { r as raf } from './helpers.js';\n\nconst LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';\nconst LIFECYCLE_DID_ENTER = 'ionViewDidEnter';\nconst LIFECYCLE_WILL_LEAVE = 'ionViewWillLeave';\nconst LIFECYCLE_DID_LEAVE = 'ionViewDidLeave';\nconst LIFECYCLE_WILL_UNLOAD = 'ionViewWillUnload';\n\n/**\n * Moves focus to a specified element. Note that we do not remove the tabindex\n * because that can result in an unintentional blur. Non-focusables can't be\n * focused, so the body will get focused again.\n */\nconst moveFocus = (el) => {\n el.tabIndex = -1;\n el.focus();\n};\n/**\n * Elements that are hidden using `display: none` should not be focused even if\n * they are present in the DOM.\n */\nconst isVisible = (el) => {\n return el.offsetParent !== null;\n};\n/**\n * The focus controller allows us to manage focus within a view so assistive\n * technologies can inform users of changes to the navigation state. Traditional\n * native apps have a way of informing assistive technology about a navigation\n * state change. Mobile browsers have this too, but only when doing a full page\n * load. In a single page app we do not do that, so we need to build this\n * integration ourselves.\n */\nconst createFocusController = () => {\n const saveViewFocus = (referenceEl) => {\n const focusManagerEnabled = config.get('focusManagerPriority', false);\n /**\n * When going back to a previously visited page focus should typically be moved\n * back to the element that was last focused when the user was on this view.\n */\n if (focusManagerEnabled) {\n const activeEl = document.activeElement;\n if (activeEl !== null && (referenceEl === null || referenceEl === void 0 ? void 0 : referenceEl.contains(activeEl))) {\n activeEl.setAttribute(LAST_FOCUS, 'true');\n }\n }\n };\n const setViewFocus = (referenceEl) => {\n const focusManagerPriorities = config.get('focusManagerPriority', false);\n /**\n * If the focused element is a descendant of the referenceEl then it's possible\n * that the app developer manually moved focus, so we do not want to override that.\n * This can happen with inputs the are focused when a view transitions in.\n */\n if (Array.isArray(focusManagerPriorities) && !referenceEl.contains(document.activeElement)) {\n /**\n * When going back to a previously visited view focus should always be moved back\n * to the element that the user was last focused on when they were on this view.\n */\n const lastFocus = referenceEl.querySelector(`[${LAST_FOCUS}]`);\n if (lastFocus && isVisible(lastFocus)) {\n moveFocus(lastFocus);\n return;\n }\n for (const priority of focusManagerPriorities) {\n /**\n * For each recognized case (excluding the default case) make sure to return\n * so that the fallback focus behavior does not run.\n *\n * We intentionally query for specific roles/semantic elements so that the\n * transition manager can work with both Ionic and non-Ionic UI components.\n *\n * If new selectors are added, be sure to remove the outline ring by adding\n * new selectors to rule in core.scss.\n */\n switch (priority) {\n case 'content':\n const content = referenceEl.querySelector('main, [role=\"main\"]');\n if (content && isVisible(content)) {\n moveFocus(content);\n return;\n }\n break;\n case 'heading':\n const headingOne = referenceEl.querySelector('h1, [role=\"heading\"][aria-level=\"1\"]');\n if (headingOne && isVisible(headingOne)) {\n moveFocus(headingOne);\n return;\n }\n break;\n case 'banner':\n const header = referenceEl.querySelector('header, [role=\"banner\"]');\n if (header && isVisible(header)) {\n moveFocus(header);\n return;\n }\n break;\n default:\n printIonWarning(`Unrecognized focus manager priority value ${priority}`);\n break;\n }\n }\n /**\n * If there is nothing to focus then focus the page so focus at least moves to\n * the correct view. The browser will then determine where within the page to\n * move focus to.\n */\n moveFocus(referenceEl);\n }\n };\n return {\n saveViewFocus,\n setViewFocus,\n };\n};\nconst LAST_FOCUS = 'ion-last-focus';\n\nconst iosTransitionAnimation = () => import('./ios.transition.js');\nconst mdTransitionAnimation = () => import('./md.transition.js');\nconst focusController = createFocusController();\n// TODO(FW-2832): types\nconst transition = (opts) => {\n return new Promise((resolve, reject) => {\n writeTask(() => {\n beforeTransition(opts);\n runTransition(opts).then((result) => {\n if (result.animation) {\n result.animation.destroy();\n }\n afterTransition(opts);\n resolve(result);\n }, (error) => {\n afterTransition(opts);\n reject(error);\n });\n });\n });\n};\nconst beforeTransition = (opts) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n focusController.saveViewFocus(leavingEl);\n setZIndex(enteringEl, leavingEl, opts.direction);\n if (opts.showGoBack) {\n enteringEl.classList.add('can-go-back');\n }\n else {\n enteringEl.classList.remove('can-go-back');\n }\n setPageHidden(enteringEl, false);\n /**\n * When transitioning, the page should not\n * respond to click events. This resolves small\n * issues like users double tapping the ion-back-button.\n * These pointer events are removed in `afterTransition`.\n */\n enteringEl.style.setProperty('pointer-events', 'none');\n if (leavingEl) {\n setPageHidden(leavingEl, false);\n leavingEl.style.setProperty('pointer-events', 'none');\n }\n};\nconst runTransition = async (opts) => {\n const animationBuilder = await getAnimationBuilder(opts);\n const ani = animationBuilder && Build.isBrowser ? animation(animationBuilder, opts) : noAnimation(opts); // fast path for no animation\n return ani;\n};\nconst afterTransition = (opts) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n enteringEl.classList.remove('ion-page-invisible');\n enteringEl.style.removeProperty('pointer-events');\n if (leavingEl !== undefined) {\n leavingEl.classList.remove('ion-page-invisible');\n leavingEl.style.removeProperty('pointer-events');\n }\n focusController.setViewFocus(enteringEl);\n};\nconst getAnimationBuilder = async (opts) => {\n if (!opts.leavingEl || !opts.animated || opts.duration === 0) {\n return undefined;\n }\n if (opts.animationBuilder) {\n return opts.animationBuilder;\n }\n const getAnimation = opts.mode === 'ios'\n ? (await iosTransitionAnimation()).iosTransitionAnimation\n : (await mdTransitionAnimation()).mdTransitionAnimation;\n return getAnimation;\n};\nconst animation = async (animationBuilder, opts) => {\n await waitForReady(opts, true);\n const trans = animationBuilder(opts.baseEl, opts);\n fireWillEvents(opts.enteringEl, opts.leavingEl);\n const didComplete = await playTransition(trans, opts);\n if (opts.progressCallback) {\n opts.progressCallback(undefined);\n }\n if (didComplete) {\n fireDidEvents(opts.enteringEl, opts.leavingEl);\n }\n return {\n hasCompleted: didComplete,\n animation: trans,\n };\n};\nconst noAnimation = async (opts) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n const focusManagerEnabled = config.get('focusManagerPriority', false);\n /**\n * If the focus manager is enabled then we need to wait for Ionic components to be\n * rendered otherwise the component to focus may not be focused because it is hidden.\n */\n await waitForReady(opts, focusManagerEnabled);\n fireWillEvents(enteringEl, leavingEl);\n fireDidEvents(enteringEl, leavingEl);\n return {\n hasCompleted: true,\n };\n};\nconst waitForReady = async (opts, defaultDeep) => {\n const deep = opts.deepWait !== undefined ? opts.deepWait : defaultDeep;\n if (deep) {\n await Promise.all([deepReady(opts.enteringEl), deepReady(opts.leavingEl)]);\n }\n await notifyViewReady(opts.viewIsReady, opts.enteringEl);\n};\nconst notifyViewReady = async (viewIsReady, enteringEl) => {\n if (viewIsReady) {\n await viewIsReady(enteringEl);\n }\n};\nconst playTransition = (trans, opts) => {\n const progressCallback = opts.progressCallback;\n const promise = new Promise((resolve) => {\n trans.onFinish((currentStep) => resolve(currentStep === 1));\n });\n // cool, let's do this, start the transition\n if (progressCallback) {\n // this is a swipe to go back, just get the transition progress ready\n // kick off the swipe animation start\n trans.progressStart(true);\n progressCallback(trans);\n }\n else {\n // only the top level transition should actually start \"play\"\n // kick it off and let it play through\n // ******** DOM WRITE ****************\n trans.play();\n }\n // create a callback for when the animation is done\n return promise;\n};\nconst fireWillEvents = (enteringEl, leavingEl) => {\n lifecycle(leavingEl, LIFECYCLE_WILL_LEAVE);\n lifecycle(enteringEl, LIFECYCLE_WILL_ENTER);\n};\nconst fireDidEvents = (enteringEl, leavingEl) => {\n lifecycle(enteringEl, LIFECYCLE_DID_ENTER);\n lifecycle(leavingEl, LIFECYCLE_DID_LEAVE);\n};\nconst lifecycle = (el, eventName) => {\n if (el) {\n const ev = new CustomEvent(eventName, {\n bubbles: false,\n cancelable: false,\n });\n el.dispatchEvent(ev);\n }\n};\n/**\n * Wait two request animation frame loops.\n * This allows the framework implementations enough time to mount\n * the user-defined contents. This is often needed when using inline\n * modals and popovers that accept user components. For popover,\n * the contents must be mounted for the popover to be sized correctly.\n * For modals, the contents must be mounted for iOS to run the\n * transition correctly.\n *\n * On Angular and React, a single raf is enough time, but for Vue\n * we need to wait two rafs. As a result we are using two rafs for\n * all frameworks to ensure contents are mounted.\n */\nconst waitForMount = () => {\n return new Promise((resolve) => raf(() => raf(() => resolve())));\n};\nconst deepReady = async (el) => {\n const element = el;\n if (element) {\n if (element.componentOnReady != null) {\n // eslint-disable-next-line custom-rules/no-component-on-ready-method\n const stencilEl = await element.componentOnReady();\n if (stencilEl != null) {\n return;\n }\n /**\n * Custom elements in Stencil will have __registerHost.\n */\n }\n else if (element.__registerHost != null) {\n /**\n * Non-lazy loaded custom elements need to wait\n * one frame for component to be loaded.\n */\n const waitForCustomElement = new Promise((resolve) => raf(resolve));\n await waitForCustomElement;\n return;\n }\n await Promise.all(Array.from(element.children).map(deepReady));\n }\n};\nconst setPageHidden = (el, hidden) => {\n if (hidden) {\n el.setAttribute('aria-hidden', 'true');\n el.classList.add('ion-page-hidden');\n }\n else {\n el.hidden = false;\n el.removeAttribute('aria-hidden');\n el.classList.remove('ion-page-hidden');\n }\n};\nconst setZIndex = (enteringEl, leavingEl, direction) => {\n if (enteringEl !== undefined) {\n enteringEl.style.zIndex = direction === 'back' ? '99' : '101';\n }\n if (leavingEl !== undefined) {\n leavingEl.style.zIndex = '100';\n }\n};\nconst getIonPageElement = (element) => {\n if (element.classList.contains('ion-page')) {\n return element;\n }\n const ionPage = element.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs');\n if (ionPage) {\n return ionPage;\n }\n // idk, return the original element so at least something animates and we don't have a null pointer\n return element;\n};\n\nexport { LIFECYCLE_WILL_ENTER as L, LIFECYCLE_DID_ENTER as a, LIFECYCLE_WILL_LEAVE as b, LIFECYCLE_DID_LEAVE as c, LIFECYCLE_WILL_UNLOAD as d, deepReady as e, getIonPageElement as g, lifecycle as l, setPageHidden as s, transition as t, waitForMount as w };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { setPlatformHelpers, setMode, getMode } from '@stencil/core/internal/client';\n\n// TODO(FW-2832): types\nclass Config {\n constructor() {\n this.m = new Map();\n }\n reset(configObj) {\n this.m = new Map(Object.entries(configObj));\n }\n get(key, fallback) {\n const value = this.m.get(key);\n return value !== undefined ? value : fallback;\n }\n getBoolean(key, fallback = false) {\n const val = this.m.get(key);\n if (val === undefined) {\n return fallback;\n }\n if (typeof val === 'string') {\n return val === 'true';\n }\n return !!val;\n }\n getNumber(key, fallback) {\n const val = parseFloat(this.m.get(key));\n return isNaN(val) ? (fallback !== undefined ? fallback : NaN) : val;\n }\n set(key, value) {\n this.m.set(key, value);\n }\n}\nconst config = /*@__PURE__*/ new Config();\nconst configFromSession = (win) => {\n try {\n const configStr = win.sessionStorage.getItem(IONIC_SESSION_KEY);\n return configStr !== null ? JSON.parse(configStr) : {};\n }\n catch (e) {\n return {};\n }\n};\nconst saveConfig = (win, c) => {\n try {\n win.sessionStorage.setItem(IONIC_SESSION_KEY, JSON.stringify(c));\n }\n catch (e) {\n return;\n }\n};\nconst configFromURL = (win) => {\n const configObj = {};\n win.location.search\n .slice(1)\n .split('&')\n .map((entry) => entry.split('='))\n .map(([key, value]) => {\n try {\n return [decodeURIComponent(key), decodeURIComponent(value)];\n }\n catch (e) {\n return ['', ''];\n }\n })\n .filter(([key]) => startsWith(key, IONIC_PREFIX))\n .map(([key, value]) => [key.slice(IONIC_PREFIX.length), value])\n .forEach(([key, value]) => {\n configObj[key] = value;\n });\n return configObj;\n};\nconst startsWith = (input, search) => {\n return input.substr(0, search.length) === search;\n};\nconst IONIC_PREFIX = 'ionic:';\nconst IONIC_SESSION_KEY = 'ionic-persist-config';\n\nconst getPlatforms = (win) => setupPlatforms(win);\nconst isPlatform = (winOrPlatform, platform) => {\n if (typeof winOrPlatform === 'string') {\n platform = winOrPlatform;\n winOrPlatform = undefined;\n }\n return getPlatforms(winOrPlatform).includes(platform);\n};\nconst setupPlatforms = (win = window) => {\n if (typeof win === 'undefined') {\n return [];\n }\n win.Ionic = win.Ionic || {};\n let platforms = win.Ionic.platforms;\n if (platforms == null) {\n platforms = win.Ionic.platforms = detectPlatforms(win);\n platforms.forEach((p) => win.document.documentElement.classList.add(`plt-${p}`));\n }\n return platforms;\n};\nconst detectPlatforms = (win) => {\n const customPlatformMethods = config.get('platform');\n return Object.keys(PLATFORMS_MAP).filter((p) => {\n const customMethod = customPlatformMethods === null || customPlatformMethods === void 0 ? void 0 : customPlatformMethods[p];\n return typeof customMethod === 'function' ? customMethod(win) : PLATFORMS_MAP[p](win);\n });\n};\nconst isMobileWeb = (win) => isMobile(win) && !isHybrid(win);\nconst isIpad = (win) => {\n // iOS 12 and below\n if (testUserAgent(win, /iPad/i)) {\n return true;\n }\n // iOS 13+\n if (testUserAgent(win, /Macintosh/i) && isMobile(win)) {\n return true;\n }\n return false;\n};\nconst isIphone = (win) => testUserAgent(win, /iPhone/i);\nconst isIOS = (win) => testUserAgent(win, /iPhone|iPod/i) || isIpad(win);\nconst isAndroid = (win) => testUserAgent(win, /android|sink/i);\nconst isAndroidTablet = (win) => {\n return isAndroid(win) && !testUserAgent(win, /mobile/i);\n};\nconst isPhablet = (win) => {\n const width = win.innerWidth;\n const height = win.innerHeight;\n const smallest = Math.min(width, height);\n const largest = Math.max(width, height);\n return smallest > 390 && smallest < 520 && largest > 620 && largest < 800;\n};\nconst isTablet = (win) => {\n const width = win.innerWidth;\n const height = win.innerHeight;\n const smallest = Math.min(width, height);\n const largest = Math.max(width, height);\n return isIpad(win) || isAndroidTablet(win) || (smallest > 460 && smallest < 820 && largest > 780 && largest < 1400);\n};\nconst isMobile = (win) => matchMedia(win, '(any-pointer:coarse)');\nconst isDesktop = (win) => !isMobile(win);\nconst isHybrid = (win) => isCordova(win) || isCapacitorNative(win);\nconst isCordova = (win) => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);\nconst isCapacitorNative = (win) => {\n const capacitor = win['Capacitor'];\n return !!(capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNative);\n};\nconst isElectron = (win) => testUserAgent(win, /electron/i);\nconst isPWA = (win) => { var _a; return !!(((_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, '(display-mode: standalone)').matches) || win.navigator.standalone); };\nconst testUserAgent = (win, expr) => expr.test(win.navigator.userAgent);\nconst matchMedia = (win, query) => { var _a; return (_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, query).matches; };\nconst PLATFORMS_MAP = {\n ipad: isIpad,\n iphone: isIphone,\n ios: isIOS,\n android: isAndroid,\n phablet: isPhablet,\n tablet: isTablet,\n cordova: isCordova,\n capacitor: isCapacitorNative,\n electron: isElectron,\n pwa: isPWA,\n mobile: isMobile,\n mobileweb: isMobileWeb,\n desktop: isDesktop,\n hybrid: isHybrid,\n};\n\n// TODO(FW-2832): types\nlet defaultMode;\nconst getIonMode = (ref) => {\n return (ref && getMode(ref)) || defaultMode;\n};\nconst initialize = (userConfig = {}) => {\n if (typeof window === 'undefined') {\n return;\n }\n const doc = window.document;\n const win = window;\n const Ionic = (win.Ionic = win.Ionic || {});\n const platformHelpers = {};\n if (userConfig._ael) {\n platformHelpers.ael = userConfig._ael;\n }\n if (userConfig._rel) {\n platformHelpers.rel = userConfig._rel;\n }\n if (userConfig._ce) {\n platformHelpers.ce = userConfig._ce;\n }\n setPlatformHelpers(platformHelpers);\n // create the Ionic.config from raw config object (if it exists)\n // and convert Ionic.config into a ConfigApi that has a get() fn\n const configObj = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, configFromSession(win)), { persistConfig: false }), Ionic.config), configFromURL(win)), userConfig);\n config.reset(configObj);\n if (config.getBoolean('persistConfig')) {\n saveConfig(win, configObj);\n }\n // Setup platforms\n setupPlatforms(win);\n // first see if the mode was set as an attribute on \n // which could have been set by the user, or by pre-rendering\n // otherwise get the mode via config settings, and fallback to md\n Ionic.config = config;\n Ionic.mode = defaultMode = config.get('mode', doc.documentElement.getAttribute('mode') || (isPlatform(win, 'ios') ? 'ios' : 'md'));\n config.set('mode', defaultMode);\n doc.documentElement.setAttribute('mode', defaultMode);\n doc.documentElement.classList.add(defaultMode);\n if (config.getBoolean('_testing')) {\n config.set('animated', false);\n }\n const isIonicElement = (elm) => { var _a; return (_a = elm.tagName) === null || _a === void 0 ? void 0 : _a.startsWith('ION-'); };\n const isAllowedIonicModeValue = (elmMode) => ['ios', 'md'].includes(elmMode);\n setMode((elm) => {\n while (elm) {\n const elmMode = elm.mode || elm.getAttribute('mode');\n if (elmMode) {\n if (isAllowedIonicModeValue(elmMode)) {\n return elmMode;\n }\n else if (isIonicElement(elm)) {\n console.warn('Invalid ionic mode: \"' + elmMode + '\", expected: \"ios\" or \"md\"');\n }\n }\n elm = elm.parentElement;\n }\n return defaultMode;\n });\n};\n\nexport { isPlatform as a, getIonMode as b, config as c, getPlatforms as g, initialize as i };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { w as win } from './index-a5d50daf.js';\n\nlet animationPrefix;\nconst getAnimationPrefix = (el) => {\n if (animationPrefix === undefined) {\n const supportsUnprefixed = el.style.animationName !== undefined;\n const supportsWebkitPrefix = el.style.webkitAnimationName !== undefined;\n animationPrefix = !supportsUnprefixed && supportsWebkitPrefix ? '-webkit-' : '';\n }\n return animationPrefix;\n};\nconst setStyleProperty = (element, propertyName, value) => {\n const prefix = propertyName.startsWith('animation') ? getAnimationPrefix(element) : '';\n element.style.setProperty(prefix + propertyName, value);\n};\nconst addClassToArray = (classes = [], className) => {\n if (className !== undefined) {\n const classNameToAppend = Array.isArray(className) ? className : [className];\n return [...classes, ...classNameToAppend];\n }\n return classes;\n};\n\nconst createAnimation = (animationId) => {\n let _delay;\n let _duration;\n let _easing;\n let _iterations;\n let _fill;\n let _direction;\n let _keyframes = [];\n let beforeAddClasses = [];\n let beforeRemoveClasses = [];\n let initialized = false;\n let parentAnimation;\n let beforeStylesValue = {};\n let afterAddClasses = [];\n let afterRemoveClasses = [];\n let afterStylesValue = {};\n let numAnimationsRunning = 0;\n let shouldForceLinearEasing = false;\n let shouldForceSyncPlayback = false;\n let forceDirectionValue;\n let forceDurationValue;\n let forceDelayValue;\n let willComplete = true;\n let finished = false;\n let shouldCalculateNumAnimations = true;\n let ani;\n let paused = false;\n const id = animationId;\n const onFinishCallbacks = [];\n const onFinishOneTimeCallbacks = [];\n const onStopOneTimeCallbacks = [];\n const elements = [];\n const childAnimations = [];\n const stylesheets = [];\n const _beforeAddReadFunctions = [];\n const _beforeAddWriteFunctions = [];\n const _afterAddReadFunctions = [];\n const _afterAddWriteFunctions = [];\n const webAnimations = [];\n const supportsAnimationEffect = typeof AnimationEffect === 'function' ||\n (win !== undefined && typeof win.AnimationEffect === 'function');\n /**\n * This is a feature detection for Web Animations.\n *\n * Certain environments such as emulated browser environments for testing,\n * do not support Web Animations. As a result, we need to check for support\n * and provide a fallback to test certain functionality related to Web Animations.\n */\n const supportsWebAnimations = typeof Element === 'function' &&\n typeof Element.prototype.animate === 'function' &&\n supportsAnimationEffect;\n const getWebAnimations = () => {\n return webAnimations;\n };\n const destroy = (clearStyleSheets) => {\n childAnimations.forEach((childAnimation) => {\n childAnimation.destroy(clearStyleSheets);\n });\n cleanUp(clearStyleSheets);\n elements.length = 0;\n childAnimations.length = 0;\n _keyframes.length = 0;\n clearOnFinish();\n initialized = false;\n shouldCalculateNumAnimations = true;\n return ani;\n };\n /**\n * Cancels any Web Animations, removes\n * any animation properties from the\n * animation's elements, and removes the\n * animation's stylesheets from the DOM.\n */\n const cleanUp = (clearStyleSheets) => {\n cleanUpElements();\n if (clearStyleSheets) {\n cleanUpStyleSheets();\n }\n };\n const resetFlags = () => {\n shouldForceLinearEasing = false;\n shouldForceSyncPlayback = false;\n shouldCalculateNumAnimations = true;\n forceDirectionValue = undefined;\n forceDurationValue = undefined;\n forceDelayValue = undefined;\n numAnimationsRunning = 0;\n finished = false;\n willComplete = true;\n paused = false;\n };\n const isRunning = () => {\n return numAnimationsRunning !== 0 && !paused;\n };\n /**\n * @internal\n * Remove a callback from a chosen callback array\n * @param callbackToRemove: A reference to the callback that should be removed\n * @param callbackObjects: An array of callbacks that callbackToRemove should be removed from.\n */\n const clearCallback = (callbackToRemove, callbackObjects) => {\n const index = callbackObjects.findIndex((callbackObject) => callbackObject.c === callbackToRemove);\n if (index > -1) {\n callbackObjects.splice(index, 1);\n }\n };\n /**\n * @internal\n * Add a callback to be fired when an animation is stopped/cancelled.\n * @param callback: A reference to the callback that should be fired\n * @param opts: Any options associated with this particular callback\n */\n const onStop = (callback, opts) => {\n onStopOneTimeCallbacks.push({ c: callback, o: opts });\n return ani;\n };\n const onFinish = (callback, opts) => {\n const callbacks = (opts === null || opts === void 0 ? void 0 : opts.oneTimeCallback) ? onFinishOneTimeCallbacks : onFinishCallbacks;\n callbacks.push({ c: callback, o: opts });\n return ani;\n };\n const clearOnFinish = () => {\n onFinishCallbacks.length = 0;\n onFinishOneTimeCallbacks.length = 0;\n return ani;\n };\n /**\n * Cancels any Web Animations and removes\n * any animation properties from the\n * the animation's elements.\n */\n const cleanUpElements = () => {\n if (supportsWebAnimations) {\n webAnimations.forEach((animation) => {\n animation.cancel();\n });\n webAnimations.length = 0;\n }\n };\n /**\n * Removes the animation's stylesheets\n * from the DOM.\n */\n const cleanUpStyleSheets = () => {\n stylesheets.forEach((stylesheet) => {\n /**\n * When sharing stylesheets, it's possible\n * for another animation to have already\n * cleaned up a particular stylesheet\n */\n if (stylesheet === null || stylesheet === void 0 ? void 0 : stylesheet.parentNode) {\n stylesheet.parentNode.removeChild(stylesheet);\n }\n });\n stylesheets.length = 0;\n };\n const beforeAddRead = (readFn) => {\n _beforeAddReadFunctions.push(readFn);\n return ani;\n };\n const beforeAddWrite = (writeFn) => {\n _beforeAddWriteFunctions.push(writeFn);\n return ani;\n };\n const afterAddRead = (readFn) => {\n _afterAddReadFunctions.push(readFn);\n return ani;\n };\n const afterAddWrite = (writeFn) => {\n _afterAddWriteFunctions.push(writeFn);\n return ani;\n };\n const beforeAddClass = (className) => {\n beforeAddClasses = addClassToArray(beforeAddClasses, className);\n return ani;\n };\n const beforeRemoveClass = (className) => {\n beforeRemoveClasses = addClassToArray(beforeRemoveClasses, className);\n return ani;\n };\n /**\n * Set CSS inline styles to the animation's\n * elements before the animation begins.\n */\n const beforeStyles = (styles = {}) => {\n beforeStylesValue = styles;\n return ani;\n };\n /**\n * Clear CSS inline styles from the animation's\n * elements before the animation begins.\n */\n const beforeClearStyles = (propertyNames = []) => {\n for (const property of propertyNames) {\n beforeStylesValue[property] = '';\n }\n return ani;\n };\n const afterAddClass = (className) => {\n afterAddClasses = addClassToArray(afterAddClasses, className);\n return ani;\n };\n const afterRemoveClass = (className) => {\n afterRemoveClasses = addClassToArray(afterRemoveClasses, className);\n return ani;\n };\n const afterStyles = (styles = {}) => {\n afterStylesValue = styles;\n return ani;\n };\n const afterClearStyles = (propertyNames = []) => {\n for (const property of propertyNames) {\n afterStylesValue[property] = '';\n }\n return ani;\n };\n const getFill = () => {\n if (_fill !== undefined) {\n return _fill;\n }\n if (parentAnimation) {\n return parentAnimation.getFill();\n }\n return 'both';\n };\n const getDirection = () => {\n if (forceDirectionValue !== undefined) {\n return forceDirectionValue;\n }\n if (_direction !== undefined) {\n return _direction;\n }\n if (parentAnimation) {\n return parentAnimation.getDirection();\n }\n return 'normal';\n };\n const getEasing = () => {\n if (shouldForceLinearEasing) {\n return 'linear';\n }\n if (_easing !== undefined) {\n return _easing;\n }\n if (parentAnimation) {\n return parentAnimation.getEasing();\n }\n return 'linear';\n };\n const getDuration = () => {\n if (shouldForceSyncPlayback) {\n return 0;\n }\n if (forceDurationValue !== undefined) {\n return forceDurationValue;\n }\n if (_duration !== undefined) {\n return _duration;\n }\n if (parentAnimation) {\n return parentAnimation.getDuration();\n }\n return 0;\n };\n const getIterations = () => {\n if (_iterations !== undefined) {\n return _iterations;\n }\n if (parentAnimation) {\n return parentAnimation.getIterations();\n }\n return 1;\n };\n const getDelay = () => {\n if (forceDelayValue !== undefined) {\n return forceDelayValue;\n }\n if (_delay !== undefined) {\n return _delay;\n }\n if (parentAnimation) {\n return parentAnimation.getDelay();\n }\n return 0;\n };\n const getKeyframes = () => {\n return _keyframes;\n };\n const direction = (animationDirection) => {\n _direction = animationDirection;\n update(true);\n return ani;\n };\n const fill = (animationFill) => {\n _fill = animationFill;\n update(true);\n return ani;\n };\n const delay = (animationDelay) => {\n _delay = animationDelay;\n update(true);\n return ani;\n };\n const easing = (animationEasing) => {\n _easing = animationEasing;\n update(true);\n return ani;\n };\n const duration = (animationDuration) => {\n /**\n * CSS Animation Durations of 0ms work fine on Chrome\n * but do not run on Safari, so force it to 1ms to\n * get it to run on both platforms.\n */\n if (!supportsWebAnimations && animationDuration === 0) {\n animationDuration = 1;\n }\n _duration = animationDuration;\n update(true);\n return ani;\n };\n const iterations = (animationIterations) => {\n _iterations = animationIterations;\n update(true);\n return ani;\n };\n const parent = (animation) => {\n parentAnimation = animation;\n return ani;\n };\n const addElement = (el) => {\n if (el != null) {\n if (el.nodeType === 1) {\n elements.push(el);\n }\n else if (el.length >= 0) {\n for (let i = 0; i < el.length; i++) {\n elements.push(el[i]);\n }\n }\n else {\n console.error('Invalid addElement value');\n }\n }\n return ani;\n };\n const addAnimation = (animationToAdd) => {\n if (animationToAdd != null) {\n if (Array.isArray(animationToAdd)) {\n for (const animation of animationToAdd) {\n animation.parent(ani);\n childAnimations.push(animation);\n }\n }\n else {\n animationToAdd.parent(ani);\n childAnimations.push(animationToAdd);\n }\n }\n return ani;\n };\n const keyframes = (keyframeValues) => {\n const different = _keyframes !== keyframeValues;\n _keyframes = keyframeValues;\n if (different) {\n updateKeyframes(_keyframes);\n }\n return ani;\n };\n const updateKeyframes = (keyframeValues) => {\n if (supportsWebAnimations) {\n getWebAnimations().forEach((animation) => {\n /**\n * animation.effect's type is AnimationEffect.\n * However, in this case we have a more specific\n * type of AnimationEffect called KeyframeEffect which\n * inherits from AnimationEffect. As a result,\n * we cast animation.effect to KeyframeEffect.\n */\n const keyframeEffect = animation.effect;\n /**\n * setKeyframes is not supported in all browser\n * versions that Ionic supports, so we need to\n * check for support before using it.\n */\n // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions\n if (keyframeEffect.setKeyframes) {\n keyframeEffect.setKeyframes(keyframeValues);\n }\n else {\n const newEffect = new KeyframeEffect(keyframeEffect.target, keyframeValues, keyframeEffect.getTiming());\n animation.effect = newEffect;\n }\n });\n }\n };\n /**\n * Run all \"before\" animation hooks.\n */\n const beforeAnimation = () => {\n // Runs all before read callbacks\n _beforeAddReadFunctions.forEach((callback) => callback());\n // Runs all before write callbacks\n _beforeAddWriteFunctions.forEach((callback) => callback());\n // Updates styles and classes before animation runs\n const addClasses = beforeAddClasses;\n const removeClasses = beforeRemoveClasses;\n const styles = beforeStylesValue;\n elements.forEach((el) => {\n const elementClassList = el.classList;\n addClasses.forEach((c) => elementClassList.add(c));\n removeClasses.forEach((c) => elementClassList.remove(c));\n for (const property in styles) {\n // eslint-disable-next-line no-prototype-builtins\n if (styles.hasOwnProperty(property)) {\n setStyleProperty(el, property, styles[property]);\n }\n }\n });\n };\n /**\n * Run all \"after\" animation hooks.\n */\n const afterAnimation = () => {\n // Runs all after read callbacks\n _afterAddReadFunctions.forEach((callback) => callback());\n // Runs all after write callbacks\n _afterAddWriteFunctions.forEach((callback) => callback());\n // Updates styles and classes before animation ends\n const currentStep = willComplete ? 1 : 0;\n const addClasses = afterAddClasses;\n const removeClasses = afterRemoveClasses;\n const styles = afterStylesValue;\n elements.forEach((el) => {\n const elementClassList = el.classList;\n addClasses.forEach((c) => elementClassList.add(c));\n removeClasses.forEach((c) => elementClassList.remove(c));\n for (const property in styles) {\n // eslint-disable-next-line no-prototype-builtins\n if (styles.hasOwnProperty(property)) {\n setStyleProperty(el, property, styles[property]);\n }\n }\n });\n /**\n * Clean up any value coercion before\n * the user callbacks fire otherwise\n * they may get stale values. For example,\n * if someone calls progressStart(0) the\n * animation may still be reversed.\n */\n forceDurationValue = undefined;\n forceDirectionValue = undefined;\n forceDelayValue = undefined;\n onFinishCallbacks.forEach((onFinishCallback) => {\n return onFinishCallback.c(currentStep, ani);\n });\n onFinishOneTimeCallbacks.forEach((onFinishCallback) => {\n return onFinishCallback.c(currentStep, ani);\n });\n onFinishOneTimeCallbacks.length = 0;\n shouldCalculateNumAnimations = true;\n if (willComplete) {\n finished = true;\n }\n willComplete = true;\n };\n const animationFinish = () => {\n if (numAnimationsRunning === 0) {\n return;\n }\n numAnimationsRunning--;\n if (numAnimationsRunning === 0) {\n afterAnimation();\n if (parentAnimation) {\n parentAnimation.animationFinish();\n }\n }\n };\n const initializeWebAnimation = () => {\n elements.forEach((element) => {\n const animation = element.animate(_keyframes, {\n id,\n delay: getDelay(),\n duration: getDuration(),\n easing: getEasing(),\n iterations: getIterations(),\n fill: getFill(),\n direction: getDirection(),\n });\n animation.pause();\n webAnimations.push(animation);\n });\n if (webAnimations.length > 0) {\n webAnimations[0].onfinish = () => {\n animationFinish();\n };\n }\n };\n const initializeAnimation = () => {\n beforeAnimation();\n if (_keyframes.length > 0) {\n if (supportsWebAnimations) {\n initializeWebAnimation();\n }\n }\n initialized = true;\n };\n const setAnimationStep = (step) => {\n step = Math.min(Math.max(step, 0), 0.9999);\n if (supportsWebAnimations) {\n webAnimations.forEach((animation) => {\n // When creating the animation the delay is guaranteed to be set to a number.\n animation.currentTime = animation.effect.getComputedTiming().delay + getDuration() * step;\n animation.pause();\n });\n }\n };\n const updateWebAnimation = (step) => {\n webAnimations.forEach((animation) => {\n animation.effect.updateTiming({\n delay: getDelay(),\n duration: getDuration(),\n easing: getEasing(),\n iterations: getIterations(),\n fill: getFill(),\n direction: getDirection(),\n });\n });\n if (step !== undefined) {\n setAnimationStep(step);\n }\n };\n const update = (deep = false, toggleAnimationName = true, step) => {\n if (deep) {\n childAnimations.forEach((animation) => {\n animation.update(deep, toggleAnimationName, step);\n });\n }\n if (supportsWebAnimations) {\n updateWebAnimation(step);\n }\n return ani;\n };\n const progressStart = (forceLinearEasing = false, step) => {\n childAnimations.forEach((animation) => {\n animation.progressStart(forceLinearEasing, step);\n });\n pauseAnimation();\n shouldForceLinearEasing = forceLinearEasing;\n if (!initialized) {\n initializeAnimation();\n }\n update(false, true, step);\n return ani;\n };\n const progressStep = (step) => {\n childAnimations.forEach((animation) => {\n animation.progressStep(step);\n });\n setAnimationStep(step);\n return ani;\n };\n const progressEnd = (playTo, step, dur) => {\n shouldForceLinearEasing = false;\n childAnimations.forEach((animation) => {\n animation.progressEnd(playTo, step, dur);\n });\n if (dur !== undefined) {\n forceDurationValue = dur;\n }\n finished = false;\n willComplete = true;\n if (playTo === 0) {\n forceDirectionValue = getDirection() === 'reverse' ? 'normal' : 'reverse';\n if (forceDirectionValue === 'reverse') {\n willComplete = false;\n }\n if (supportsWebAnimations) {\n update();\n setAnimationStep(1 - step);\n }\n else {\n forceDelayValue = (1 - step) * getDuration() * -1;\n update(false, false);\n }\n }\n else if (playTo === 1) {\n if (supportsWebAnimations) {\n update();\n setAnimationStep(step);\n }\n else {\n forceDelayValue = step * getDuration() * -1;\n update(false, false);\n }\n }\n if (playTo !== undefined && !parentAnimation) {\n play();\n }\n return ani;\n };\n const pauseAnimation = () => {\n if (initialized) {\n if (supportsWebAnimations) {\n webAnimations.forEach((animation) => {\n animation.pause();\n });\n }\n else {\n elements.forEach((element) => {\n setStyleProperty(element, 'animation-play-state', 'paused');\n });\n }\n paused = true;\n }\n };\n const pause = () => {\n childAnimations.forEach((animation) => {\n animation.pause();\n });\n pauseAnimation();\n return ani;\n };\n const playCSSAnimations = () => {\n animationFinish();\n };\n const playWebAnimations = () => {\n webAnimations.forEach((animation) => {\n animation.play();\n });\n if (_keyframes.length === 0 || elements.length === 0) {\n animationFinish();\n }\n };\n const resetAnimation = () => {\n if (supportsWebAnimations) {\n setAnimationStep(0);\n updateWebAnimation();\n }\n };\n const play = (opts) => {\n return new Promise((resolve) => {\n if (opts === null || opts === void 0 ? void 0 : opts.sync) {\n shouldForceSyncPlayback = true;\n onFinish(() => (shouldForceSyncPlayback = false), { oneTimeCallback: true });\n }\n if (!initialized) {\n initializeAnimation();\n }\n if (finished) {\n resetAnimation();\n finished = false;\n }\n if (shouldCalculateNumAnimations) {\n numAnimationsRunning = childAnimations.length + 1;\n shouldCalculateNumAnimations = false;\n }\n /**\n * When one of these callbacks fires we\n * need to clear the other's callback otherwise\n * you can potentially get these callbacks\n * firing multiple times if the play method\n * is subsequently called.\n * Example:\n * animation.play() (onStop and onFinish callbacks are registered)\n * animation.stop() (onStop callback is fired, onFinish is not)\n * animation.play() (onStop and onFinish callbacks are registered)\n * Total onStop callbacks: 1\n * Total onFinish callbacks: 2\n */\n const onStopCallback = () => {\n clearCallback(onFinishCallback, onFinishOneTimeCallbacks);\n resolve();\n };\n const onFinishCallback = () => {\n clearCallback(onStopCallback, onStopOneTimeCallbacks);\n resolve();\n };\n /**\n * The play method resolves when an animation\n * run either finishes or is cancelled.\n */\n onFinish(onFinishCallback, { oneTimeCallback: true });\n onStop(onStopCallback, { oneTimeCallback: true });\n childAnimations.forEach((animation) => {\n animation.play();\n });\n if (supportsWebAnimations) {\n playWebAnimations();\n }\n else {\n playCSSAnimations();\n }\n paused = false;\n });\n };\n /**\n * Stops an animation and resets it state to the\n * beginning. This does not fire any onFinish\n * callbacks because the animation did not finish.\n * However, since the animation was not destroyed\n * (i.e. the animation could run again) we do not\n * clear the onFinish callbacks.\n */\n const stop = () => {\n childAnimations.forEach((animation) => {\n animation.stop();\n });\n if (initialized) {\n cleanUpElements();\n initialized = false;\n }\n resetFlags();\n onStopOneTimeCallbacks.forEach((onStopCallback) => onStopCallback.c(0, ani));\n onStopOneTimeCallbacks.length = 0;\n };\n const from = (property, value) => {\n const firstFrame = _keyframes[0];\n if (firstFrame !== undefined && (firstFrame.offset === undefined || firstFrame.offset === 0)) {\n firstFrame[property] = value;\n }\n else {\n _keyframes = [{ offset: 0, [property]: value }, ..._keyframes];\n }\n return ani;\n };\n const to = (property, value) => {\n const lastFrame = _keyframes[_keyframes.length - 1];\n if (lastFrame !== undefined && (lastFrame.offset === undefined || lastFrame.offset === 1)) {\n lastFrame[property] = value;\n }\n else {\n _keyframes = [..._keyframes, { offset: 1, [property]: value }];\n }\n return ani;\n };\n const fromTo = (property, fromValue, toValue) => {\n return from(property, fromValue).to(property, toValue);\n };\n return (ani = {\n parentAnimation,\n elements,\n childAnimations,\n id,\n animationFinish,\n from,\n to,\n fromTo,\n parent,\n play,\n pause,\n stop,\n destroy,\n keyframes,\n addAnimation,\n addElement,\n update,\n fill,\n direction,\n iterations,\n duration,\n easing,\n delay,\n getWebAnimations,\n getKeyframes,\n getFill,\n getDirection,\n getDelay,\n getIterations,\n getEasing,\n getDuration,\n afterAddRead,\n afterAddWrite,\n afterClearStyles,\n afterStyles,\n afterRemoveClass,\n afterAddClass,\n beforeAddRead,\n beforeAddWrite,\n beforeClearStyles,\n beforeStyles,\n beforeRemoveClass,\n beforeAddClass,\n onFinish,\n isRunning,\n progressStart,\n progressStep,\n progressEnd,\n });\n};\n\nexport { createAnimation as c };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\n/**\n * Does a simple sanitization of all elements\n * in an untrusted string\n */\nconst sanitizeDOMString = (untrustedString) => {\n try {\n if (untrustedString instanceof IonicSafeString) {\n return untrustedString.value;\n }\n if (!isSanitizerEnabled() || typeof untrustedString !== 'string' || untrustedString === '') {\n return untrustedString;\n }\n /**\n * onload is fired when appending to a document\n * fragment in Chrome. If a string\n * contains onload then we should not\n * attempt to add this to the fragment.\n */\n if (untrustedString.includes('onload=')) {\n return '';\n }\n /**\n * Create a document fragment\n * separate from the main DOM,\n * create a div to do our work in\n */\n const documentFragment = document.createDocumentFragment();\n const workingDiv = document.createElement('div');\n documentFragment.appendChild(workingDiv);\n workingDiv.innerHTML = untrustedString;\n /**\n * Remove any elements\n * that are blocked\n */\n blockedTags.forEach((blockedTag) => {\n const getElementsToRemove = documentFragment.querySelectorAll(blockedTag);\n for (let elementIndex = getElementsToRemove.length - 1; elementIndex >= 0; elementIndex--) {\n const element = getElementsToRemove[elementIndex];\n if (element.parentNode) {\n element.parentNode.removeChild(element);\n }\n else {\n documentFragment.removeChild(element);\n }\n /**\n * We still need to sanitize\n * the children of this element\n * as they are left behind\n */\n const childElements = getElementChildren(element);\n /* eslint-disable-next-line */\n for (let childIndex = 0; childIndex < childElements.length; childIndex++) {\n sanitizeElement(childElements[childIndex]);\n }\n }\n });\n /**\n * Go through remaining elements and remove\n * non-allowed attribs\n */\n // IE does not support .children on document fragments, only .childNodes\n const dfChildren = getElementChildren(documentFragment);\n /* eslint-disable-next-line */\n for (let childIndex = 0; childIndex < dfChildren.length; childIndex++) {\n sanitizeElement(dfChildren[childIndex]);\n }\n // Append document fragment to div\n const fragmentDiv = document.createElement('div');\n fragmentDiv.appendChild(documentFragment);\n // First child is always the div we did our work in\n const getInnerDiv = fragmentDiv.querySelector('div');\n return getInnerDiv !== null ? getInnerDiv.innerHTML : fragmentDiv.innerHTML;\n }\n catch (err) {\n console.error(err);\n return '';\n }\n};\n/**\n * Clean up current element based on allowed attributes\n * and then recursively dig down into any child elements to\n * clean those up as well\n */\n// TODO(FW-2832): type (using Element triggers other type errors as well)\nconst sanitizeElement = (element) => {\n // IE uses childNodes, so ignore nodes that are not elements\n if (element.nodeType && element.nodeType !== 1) {\n return;\n }\n /**\n * If attributes is not a NamedNodeMap\n * then we should remove the element entirely.\n * This helps avoid DOM Clobbering attacks where\n * attributes is overridden.\n */\n if (typeof NamedNodeMap !== 'undefined' && !(element.attributes instanceof NamedNodeMap)) {\n element.remove();\n return;\n }\n for (let i = element.attributes.length - 1; i >= 0; i--) {\n const attribute = element.attributes.item(i);\n const attributeName = attribute.name;\n // remove non-allowed attribs\n if (!allowedAttributes.includes(attributeName.toLowerCase())) {\n element.removeAttribute(attributeName);\n continue;\n }\n // clean up any allowed attribs\n // that attempt to do any JS funny-business\n const attributeValue = attribute.value;\n /**\n * We also need to check the property value\n * as javascript: can allow special characters\n * such as and still be valid (i.e. java script)\n */\n const propertyValue = element[attributeName];\n /* eslint-disable */\n if ((attributeValue != null && attributeValue.toLowerCase().includes('javascript:')) ||\n (propertyValue != null && propertyValue.toLowerCase().includes('javascript:'))) {\n element.removeAttribute(attributeName);\n }\n /* eslint-enable */\n }\n /**\n * Sanitize any nested children\n */\n const childElements = getElementChildren(element);\n /* eslint-disable-next-line */\n for (let i = 0; i < childElements.length; i++) {\n sanitizeElement(childElements[i]);\n }\n};\n/**\n * IE doesn't always support .children\n * so we revert to .childNodes instead\n */\n// TODO(FW-2832): type\nconst getElementChildren = (el) => {\n return el.children != null ? el.children : el.childNodes;\n};\nconst isSanitizerEnabled = () => {\n var _a;\n const win = window;\n const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;\n if (config) {\n if (config.get) {\n return config.get('sanitizerEnabled', true);\n }\n else {\n return config.sanitizerEnabled === true || config.sanitizerEnabled === undefined;\n }\n }\n return true;\n};\nconst allowedAttributes = ['class', 'id', 'href', 'src', 'name', 'slot'];\nconst blockedTags = ['script', 'style', 'iframe', 'meta', 'link', 'object', 'embed'];\nclass IonicSafeString {\n constructor(value) {\n this.value = value;\n }\n}\n\nconst setupConfig = (config) => {\n const win = window;\n const Ionic = win.Ionic;\n // eslint-disable-next-line @typescript-eslint/prefer-optional-chain\n if (Ionic && Ionic.config && Ionic.config.constructor.name !== 'Object') {\n return;\n }\n win.Ionic = win.Ionic || {};\n win.Ionic.config = Object.assign(Object.assign({}, win.Ionic.config), config);\n return win.Ionic.config;\n};\nconst getMode = () => {\n var _a;\n const win = window;\n const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;\n if (config) {\n if (config.mode) {\n return config.mode;\n }\n else {\n return config.get('mode');\n }\n }\n return 'md';\n};\nconst ENABLE_HTML_CONTENT_DEFAULT = false;\n\nexport { ENABLE_HTML_CONTENT_DEFAULT as E, IonicSafeString as I, sanitizeDOMString as a, getMode as g, setupConfig as s };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { c as componentOnReady } from './helpers-da915de8.js';\n\n// TODO(FW-2832): types\nconst attachComponent = async (delegate, container, component, cssClasses, componentProps, inline) => {\n var _a;\n if (delegate) {\n return delegate.attachViewToDom(container, component, componentProps, cssClasses);\n }\n if (!inline && typeof component !== 'string' && !(component instanceof HTMLElement)) {\n throw new Error('framework delegate is missing');\n }\n const el = typeof component === 'string' ? (_a = container.ownerDocument) === null || _a === void 0 ? void 0 : _a.createElement(component) : component;\n if (cssClasses) {\n cssClasses.forEach((c) => el.classList.add(c));\n }\n if (componentProps) {\n Object.assign(el, componentProps);\n }\n container.appendChild(el);\n await new Promise((resolve) => componentOnReady(el, resolve));\n return el;\n};\nconst detachComponent = (delegate, element) => {\n if (element) {\n if (delegate) {\n const container = element.parentElement;\n return delegate.removeViewFromDom(container, element);\n }\n element.remove();\n }\n return Promise.resolve();\n};\nconst CoreDelegate = () => {\n let BaseComponent;\n let Reference;\n const attachViewToDom = async (parentElement, userComponent, userComponentProps = {}, cssClasses = []) => {\n var _a, _b;\n BaseComponent = parentElement;\n let ChildComponent;\n /**\n * If passing in a component via the `component` props\n * we need to append it inside of our overlay component.\n */\n if (userComponent) {\n /**\n * If passing in the tag name, create\n * the element otherwise just get a reference\n * to the component.\n */\n const el = typeof userComponent === 'string' ? (_a = BaseComponent.ownerDocument) === null || _a === void 0 ? void 0 : _a.createElement(userComponent) : userComponent;\n /**\n * Add any css classes passed in\n * via the cssClasses prop on the overlay.\n */\n cssClasses.forEach((c) => el.classList.add(c));\n /**\n * Add any props passed in\n * via the componentProps prop on the overlay.\n */\n Object.assign(el, userComponentProps);\n /**\n * Finally, append the component\n * inside of the overlay component.\n */\n BaseComponent.appendChild(el);\n ChildComponent = el;\n await new Promise((resolve) => componentOnReady(el, resolve));\n }\n else if (BaseComponent.children.length > 0 &&\n (BaseComponent.tagName === 'ION-MODAL' || BaseComponent.tagName === 'ION-POPOVER')) {\n /**\n * The delegate host wrapper el is only needed for modals and popovers\n * because they allow the dev to provide custom content to the overlay.\n */\n const root = (ChildComponent = BaseComponent.children[0]);\n if (!root.classList.contains('ion-delegate-host')) {\n /**\n * If the root element is not a delegate host, it means\n * that the overlay has not been presented yet and we need\n * to create the containing element with the specified classes.\n */\n const el = (_b = BaseComponent.ownerDocument) === null || _b === void 0 ? void 0 : _b.createElement('div');\n // Add a class to track if the root element was created by the delegate.\n el.classList.add('ion-delegate-host');\n cssClasses.forEach((c) => el.classList.add(c));\n // Move each child from the original template to the new parent element.\n el.append(...BaseComponent.children);\n // Append the new parent element to the original parent element.\n BaseComponent.appendChild(el);\n /**\n * Update the ChildComponent to be the\n * newly created div in the event that one\n * does not already exist.\n */\n ChildComponent = el;\n }\n }\n /**\n * Get the root of the app and\n * add the overlay there.\n */\n const app = document.querySelector('ion-app') || document.body;\n /**\n * Create a placeholder comment so that\n * we can return this component to where\n * it was previously.\n */\n Reference = document.createComment('ionic teleport');\n BaseComponent.parentNode.insertBefore(Reference, BaseComponent);\n app.appendChild(BaseComponent);\n /**\n * We return the child component rather than the overlay\n * reference itself since modal and popover will\n * use this to wait for any Ionic components in the child view\n * to be ready (i.e. componentOnReady) when using the\n * lazy loaded component bundle.\n *\n * However, we fall back to returning BaseComponent\n * in the event that a modal or popover is presented\n * with no child content.\n */\n return ChildComponent !== null && ChildComponent !== void 0 ? ChildComponent : BaseComponent;\n };\n const removeViewFromDom = () => {\n /**\n * Return component to where it was previously in the DOM.\n */\n if (BaseComponent && Reference) {\n Reference.parentNode.insertBefore(BaseComponent, Reference);\n Reference.remove();\n }\n return Promise.resolve();\n };\n return { attachViewToDom, removeViewFromDom };\n};\n\nexport { CoreDelegate as C, attachComponent as a, detachComponent as d };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nclass GestureController {\n constructor() {\n this.gestureId = 0;\n this.requestedStart = new Map();\n this.disabledGestures = new Map();\n this.disabledScroll = new Set();\n }\n /**\n * Creates a gesture delegate based on the GestureConfig passed\n */\n createGesture(config) {\n var _a;\n return new GestureDelegate(this, this.newID(), config.name, (_a = config.priority) !== null && _a !== void 0 ? _a : 0, !!config.disableScroll);\n }\n /**\n * Creates a blocker that will block any other gesture events from firing. Set in the ion-gesture component.\n */\n createBlocker(opts = {}) {\n return new BlockerDelegate(this, this.newID(), opts.disable, !!opts.disableScroll);\n }\n start(gestureName, id, priority) {\n if (!this.canStart(gestureName)) {\n this.requestedStart.delete(id);\n return false;\n }\n this.requestedStart.set(id, priority);\n return true;\n }\n capture(gestureName, id, priority) {\n if (!this.start(gestureName, id, priority)) {\n return false;\n }\n const requestedStart = this.requestedStart;\n let maxPriority = -10000;\n requestedStart.forEach((value) => {\n maxPriority = Math.max(maxPriority, value);\n });\n if (maxPriority === priority) {\n this.capturedId = id;\n requestedStart.clear();\n const event = new CustomEvent('ionGestureCaptured', { detail: { gestureName } });\n document.dispatchEvent(event);\n return true;\n }\n requestedStart.delete(id);\n return false;\n }\n release(id) {\n this.requestedStart.delete(id);\n if (this.capturedId === id) {\n this.capturedId = undefined;\n }\n }\n disableGesture(gestureName, id) {\n let set = this.disabledGestures.get(gestureName);\n if (set === undefined) {\n set = new Set();\n this.disabledGestures.set(gestureName, set);\n }\n set.add(id);\n }\n enableGesture(gestureName, id) {\n const set = this.disabledGestures.get(gestureName);\n if (set !== undefined) {\n set.delete(id);\n }\n }\n disableScroll(id) {\n this.disabledScroll.add(id);\n if (this.disabledScroll.size === 1) {\n document.body.classList.add(BACKDROP_NO_SCROLL);\n }\n }\n enableScroll(id) {\n this.disabledScroll.delete(id);\n if (this.disabledScroll.size === 0) {\n document.body.classList.remove(BACKDROP_NO_SCROLL);\n }\n }\n canStart(gestureName) {\n if (this.capturedId !== undefined) {\n // a gesture already captured\n return false;\n }\n if (this.isDisabled(gestureName)) {\n return false;\n }\n return true;\n }\n isCaptured() {\n return this.capturedId !== undefined;\n }\n isScrollDisabled() {\n return this.disabledScroll.size > 0;\n }\n isDisabled(gestureName) {\n const disabled = this.disabledGestures.get(gestureName);\n if (disabled && disabled.size > 0) {\n return true;\n }\n return false;\n }\n newID() {\n this.gestureId++;\n return this.gestureId;\n }\n}\nclass GestureDelegate {\n constructor(ctrl, id, name, priority, disableScroll) {\n this.id = id;\n this.name = name;\n this.disableScroll = disableScroll;\n this.priority = priority * 1000000 + id;\n this.ctrl = ctrl;\n }\n canStart() {\n if (!this.ctrl) {\n return false;\n }\n return this.ctrl.canStart(this.name);\n }\n start() {\n if (!this.ctrl) {\n return false;\n }\n return this.ctrl.start(this.name, this.id, this.priority);\n }\n capture() {\n if (!this.ctrl) {\n return false;\n }\n const captured = this.ctrl.capture(this.name, this.id, this.priority);\n if (captured && this.disableScroll) {\n this.ctrl.disableScroll(this.id);\n }\n return captured;\n }\n release() {\n if (this.ctrl) {\n this.ctrl.release(this.id);\n if (this.disableScroll) {\n this.ctrl.enableScroll(this.id);\n }\n }\n }\n destroy() {\n this.release();\n this.ctrl = undefined;\n }\n}\nclass BlockerDelegate {\n constructor(ctrl, id, disable, disableScroll) {\n this.id = id;\n this.disable = disable;\n this.disableScroll = disableScroll;\n this.ctrl = ctrl;\n }\n block() {\n if (!this.ctrl) {\n return;\n }\n if (this.disable) {\n for (const gesture of this.disable) {\n this.ctrl.disableGesture(gesture, this.id);\n }\n }\n if (this.disableScroll) {\n this.ctrl.disableScroll(this.id);\n }\n }\n unblock() {\n if (!this.ctrl) {\n return;\n }\n if (this.disable) {\n for (const gesture of this.disable) {\n this.ctrl.enableGesture(gesture, this.id);\n }\n }\n if (this.disableScroll) {\n this.ctrl.enableScroll(this.id);\n }\n }\n destroy() {\n this.unblock();\n this.ctrl = undefined;\n }\n}\nconst BACKDROP_NO_SCROLL = 'backdrop-no-scroll';\nconst GESTURE_CONTROLLER = new GestureController();\n\nexport { BACKDROP_NO_SCROLL as B, GESTURE_CONTROLLER as G };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { w as win } from './index-a5d50daf.js';\nimport { c as config } from './ionic-global-c81d82ab.js';\nimport './index-28849c61.js';\n\n/**\n * CloseWatcher is a newer API that lets\n * use detect the hardware back button event\n * in a web browser: https://caniuse.com/?search=closewatcher\n * However, not every browser supports it yet.\n *\n * This needs to be a function so that we can\n * check the config once it has been set.\n * Otherwise, this code would be evaluated the\n * moment this file is evaluated which could be\n * before the config is set.\n */\nconst shouldUseCloseWatcher = () => config.get('experimentalCloseWatcher', false) && win !== undefined && 'CloseWatcher' in win;\n/**\n * When hardwareBackButton: false in config,\n * we need to make sure we also block the default\n * webview behavior. If we don't then it will be\n * possible for users to navigate backward while\n * an overlay is still open. Additionally, it will\n * give the appearance that the hardwareBackButton\n * config is not working as the page transition\n * will still happen.\n */\nconst blockHardwareBackButton = () => {\n document.addEventListener('backbutton', () => { }); // eslint-disable-line\n};\nconst startHardwareBackButton = () => {\n const doc = document;\n let busy = false;\n const backButtonCallback = () => {\n if (busy) {\n return;\n }\n let index = 0;\n let handlers = [];\n const ev = new CustomEvent('ionBackButton', {\n bubbles: false,\n detail: {\n register(priority, handler) {\n handlers.push({ priority, handler, id: index++ });\n },\n },\n });\n doc.dispatchEvent(ev);\n const executeAction = async (handlerRegister) => {\n try {\n if (handlerRegister === null || handlerRegister === void 0 ? void 0 : handlerRegister.handler) {\n const result = handlerRegister.handler(processHandlers);\n if (result != null) {\n await result;\n }\n }\n }\n catch (e) {\n console.error(e);\n }\n };\n const processHandlers = () => {\n if (handlers.length > 0) {\n let selectedHandler = {\n priority: Number.MIN_SAFE_INTEGER,\n handler: () => undefined,\n id: -1,\n };\n handlers.forEach((handler) => {\n if (handler.priority >= selectedHandler.priority) {\n selectedHandler = handler;\n }\n });\n busy = true;\n handlers = handlers.filter((handler) => handler.id !== selectedHandler.id);\n executeAction(selectedHandler).then(() => (busy = false));\n }\n };\n processHandlers();\n };\n /**\n * If the CloseWatcher is defined then\n * we don't want to also listen for the native\n * backbutton event otherwise we may get duplicate\n * events firing.\n */\n if (shouldUseCloseWatcher()) {\n let watcher;\n const configureWatcher = () => {\n watcher === null || watcher === void 0 ? void 0 : watcher.destroy();\n watcher = new win.CloseWatcher();\n /**\n * Once a close request happens\n * the watcher gets destroyed.\n * As a result, we need to re-configure\n * the watcher so we can respond to other\n * close requests.\n */\n watcher.onclose = () => {\n backButtonCallback();\n configureWatcher();\n };\n };\n configureWatcher();\n }\n else {\n doc.addEventListener('backbutton', backButtonCallback);\n }\n};\nconst OVERLAY_BACK_BUTTON_PRIORITY = 100;\nconst MENU_BACK_BUTTON_PRIORITY = 99; // 1 less than overlay priority since menu is displayed behind overlays\n\nexport { MENU_BACK_BUTTON_PRIORITY, OVERLAY_BACK_BUTTON_PRIORITY, blockHardwareBackButton, shouldUseCloseWatcher, startHardwareBackButton };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nconst transitionEndAsync = (el, expectedDuration = 0) => {\n return new Promise((resolve) => {\n transitionEnd(el, expectedDuration, resolve);\n });\n};\n/**\n * Allows developer to wait for a transition\n * to finish and fallback to a timer if the\n * transition is cancelled or otherwise\n * never finishes. Also see transitionEndAsync\n * which is an await-able version of this.\n */\nconst transitionEnd = (el, expectedDuration = 0, callback) => {\n let unRegTrans;\n let animationTimeout;\n const opts = { passive: true };\n const ANIMATION_FALLBACK_TIMEOUT = 500;\n const unregister = () => {\n if (unRegTrans) {\n unRegTrans();\n }\n };\n const onTransitionEnd = (ev) => {\n if (ev === undefined || el === ev.target) {\n unregister();\n callback(ev);\n }\n };\n if (el) {\n el.addEventListener('webkitTransitionEnd', onTransitionEnd, opts);\n el.addEventListener('transitionend', onTransitionEnd, opts);\n animationTimeout = setTimeout(onTransitionEnd, expectedDuration + ANIMATION_FALLBACK_TIMEOUT);\n unRegTrans = () => {\n if (animationTimeout !== undefined) {\n clearTimeout(animationTimeout);\n animationTimeout = undefined;\n }\n el.removeEventListener('webkitTransitionEnd', onTransitionEnd, opts);\n el.removeEventListener('transitionend', onTransitionEnd, opts);\n };\n }\n return unregister;\n};\n/**\n * Waits for a component to be ready for\n * both custom element and non-custom element builds.\n * If non-custom element build, el.componentOnReady\n * will be used.\n * For custom element builds, we wait a frame\n * so that the inner contents of the component\n * have a chance to render.\n *\n * Use this utility rather than calling\n * el.componentOnReady yourself.\n */\nconst componentOnReady = (el, callback) => {\n if (el.componentOnReady) {\n // eslint-disable-next-line custom-rules/no-component-on-ready-method\n el.componentOnReady().then((resolvedEl) => callback(resolvedEl));\n }\n else {\n raf(() => callback(el));\n }\n};\n/**\n * This functions checks if a Stencil component is using\n * the lazy loaded build of Stencil. Returns `true` if\n * the component is lazy loaded. Returns `false` otherwise.\n */\nconst hasLazyBuild = (stencilEl) => {\n return stencilEl.componentOnReady !== undefined;\n};\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the inner input in `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\nconst inheritAttributes = (el, attributes = []) => {\n const attributeObject = {};\n attributes.forEach((attr) => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr);\n }\n el.removeAttribute(attr);\n }\n });\n return attributeObject;\n};\n/**\n * List of available ARIA attributes + `role`.\n * Removed deprecated attributes.\n * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes\n */\nconst ariaAttributes = [\n 'role',\n 'aria-activedescendant',\n 'aria-atomic',\n 'aria-autocomplete',\n 'aria-braillelabel',\n 'aria-brailleroledescription',\n 'aria-busy',\n 'aria-checked',\n 'aria-colcount',\n 'aria-colindex',\n 'aria-colindextext',\n 'aria-colspan',\n 'aria-controls',\n 'aria-current',\n 'aria-describedby',\n 'aria-description',\n 'aria-details',\n 'aria-disabled',\n 'aria-errormessage',\n 'aria-expanded',\n 'aria-flowto',\n 'aria-haspopup',\n 'aria-hidden',\n 'aria-invalid',\n 'aria-keyshortcuts',\n 'aria-label',\n 'aria-labelledby',\n 'aria-level',\n 'aria-live',\n 'aria-multiline',\n 'aria-multiselectable',\n 'aria-orientation',\n 'aria-owns',\n 'aria-placeholder',\n 'aria-posinset',\n 'aria-pressed',\n 'aria-readonly',\n 'aria-relevant',\n 'aria-required',\n 'aria-roledescription',\n 'aria-rowcount',\n 'aria-rowindex',\n 'aria-rowindextext',\n 'aria-rowspan',\n 'aria-selected',\n 'aria-setsize',\n 'aria-sort',\n 'aria-valuemax',\n 'aria-valuemin',\n 'aria-valuenow',\n 'aria-valuetext',\n];\n/**\n * Returns an array of aria attributes that should be copied from\n * the shadow host element to a target within the light DOM.\n * @param el The element that the attributes should be copied from.\n * @param ignoreList The list of aria-attributes to ignore reflecting and removing from the host.\n * Use this in instances where we manually specify aria attributes on the `` element.\n */\nconst inheritAriaAttributes = (el, ignoreList) => {\n let attributesToInherit = ariaAttributes;\n if (ignoreList && ignoreList.length > 0) {\n attributesToInherit = attributesToInherit.filter((attr) => !ignoreList.includes(attr));\n }\n return inheritAttributes(el, attributesToInherit);\n};\nconst addEventListener = (el, eventName, callback, opts) => {\n var _a;\n if (typeof window !== 'undefined') {\n const win = window;\n const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;\n if (config) {\n const ael = config.get('_ael');\n if (ael) {\n return ael(el, eventName, callback, opts);\n }\n else if (config._ael) {\n return config._ael(el, eventName, callback, opts);\n }\n }\n }\n return el.addEventListener(eventName, callback, opts);\n};\nconst removeEventListener = (el, eventName, callback, opts) => {\n var _a;\n if (typeof window !== 'undefined') {\n const win = window;\n const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;\n if (config) {\n const rel = config.get('_rel');\n if (rel) {\n return rel(el, eventName, callback, opts);\n }\n else if (config._rel) {\n return config._rel(el, eventName, callback, opts);\n }\n }\n }\n return el.removeEventListener(eventName, callback, opts);\n};\n/**\n * Gets the root context of a shadow dom element\n * On newer browsers this will be the shadowRoot,\n * but for older browser this may just be the\n * element itself.\n *\n * Useful for whenever you need to explicitly\n * do \"myElement.shadowRoot!.querySelector(...)\".\n */\nconst getElementRoot = (el, fallback = el) => {\n return el.shadowRoot || fallback;\n};\n/**\n * Patched version of requestAnimationFrame that avoids ngzone\n * Use only when you know ngzone should not run\n */\nconst raf = (h) => {\n if (typeof __zone_symbol__requestAnimationFrame === 'function') {\n return __zone_symbol__requestAnimationFrame(h);\n }\n if (typeof requestAnimationFrame === 'function') {\n return requestAnimationFrame(h);\n }\n return setTimeout(h);\n};\nconst hasShadowDom = (el) => {\n return !!el.shadowRoot && !!el.attachShadow;\n};\nconst focusVisibleElement = (el) => {\n el.focus();\n /**\n * When programmatically focusing an element,\n * the focus-visible utility will not run because\n * it is expecting a keyboard event to have triggered this;\n * however, there are times when we need to manually control\n * this behavior so we call the `setFocus` method on ion-app\n * which will let us explicitly set the elements to focus.\n */\n if (el.classList.contains('ion-focusable')) {\n const app = el.closest('ion-app');\n if (app) {\n app.setFocus([el]);\n }\n }\n};\n/**\n * This method is used to add a hidden input to a host element that contains\n * a Shadow DOM. It does not add the input inside of the Shadow root which\n * allows it to be picked up inside of forms. It should contain the same\n * values as the host element.\n *\n * @param always Add a hidden input even if the container does not use Shadow\n * @param container The element where the input will be added\n * @param name The name of the input\n * @param value The value of the input\n * @param disabled If true, the input is disabled\n */\nconst renderHiddenInput = (always, container, name, value, disabled) => {\n if (always || hasShadowDom(container)) {\n let input = container.querySelector('input.aux-input');\n if (!input) {\n input = container.ownerDocument.createElement('input');\n input.type = 'hidden';\n input.classList.add('aux-input');\n container.appendChild(input);\n }\n input.disabled = disabled;\n input.name = name;\n input.value = value || '';\n }\n};\nconst clamp = (min, n, max) => {\n return Math.max(min, Math.min(n, max));\n};\nconst assert = (actual, reason) => {\n if (!actual) {\n const message = 'ASSERT: ' + reason;\n console.error(message);\n debugger; // eslint-disable-line\n throw new Error(message);\n }\n};\nconst pointerCoord = (ev) => {\n // get X coordinates for either a mouse click\n // or a touch depending on the given event\n if (ev) {\n const changedTouches = ev.changedTouches;\n if (changedTouches && changedTouches.length > 0) {\n const touch = changedTouches[0];\n return { x: touch.clientX, y: touch.clientY };\n }\n if (ev.pageX !== undefined) {\n return { x: ev.pageX, y: ev.pageY };\n }\n }\n return { x: 0, y: 0 };\n};\n/**\n * @hidden\n * Given a side, return if it should be on the end\n * based on the value of dir\n * @param side the side\n * @param isRTL whether the application dir is rtl\n */\nconst isEndSide = (side) => {\n const isRTL = document.dir === 'rtl';\n switch (side) {\n case 'start':\n return isRTL;\n case 'end':\n return !isRTL;\n default:\n throw new Error(`\"${side}\" is not a valid value for [side]. Use \"start\" or \"end\" instead.`);\n }\n};\nconst debounceEvent = (event, wait) => {\n const original = event._original || event;\n return {\n _original: event,\n emit: debounce(original.emit.bind(original), wait),\n };\n};\nconst debounce = (func, wait = 0) => {\n let timer;\n return (...args) => {\n clearTimeout(timer);\n timer = setTimeout(func, wait, ...args);\n };\n};\n/**\n * Check whether the two string maps are shallow equal.\n *\n * undefined is treated as an empty map.\n *\n * @returns whether the keys are the same and the values are shallow equal.\n */\nconst shallowEqualStringMap = (map1, map2) => {\n map1 !== null && map1 !== void 0 ? map1 : (map1 = {});\n map2 !== null && map2 !== void 0 ? map2 : (map2 = {});\n if (map1 === map2) {\n return true;\n }\n const keys1 = Object.keys(map1);\n if (keys1.length !== Object.keys(map2).length) {\n return false;\n }\n for (const k1 of keys1) {\n if (!(k1 in map2)) {\n return false;\n }\n if (map1[k1] !== map2[k1]) {\n return false;\n }\n }\n return true;\n};\n\nexport { addEventListener as a, removeEventListener as b, componentOnReady as c, renderHiddenInput as d, debounceEvent as e, focusVisibleElement as f, getElementRoot as g, inheritAttributes as h, inheritAriaAttributes as i, clamp as j, hasLazyBuild as k, hasShadowDom as l, assert as m, isEndSide as n, debounce as o, pointerCoord as p, raf as r, shallowEqualStringMap as s, transitionEndAsync as t };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { d as doc } from './index-a5d50daf.js';\nimport { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button-06ef3c3e.js';\nimport { p as printIonWarning } from './index-9b0d46f4.js';\nimport { c as componentOnReady } from './helpers-da915de8.js';\nimport { b as getIonMode } from './ionic-global-c81d82ab.js';\nimport { c as createAnimation } from './animation-eab5a4ca.js';\n\n/**\n * baseAnimation\n * Base class which is extended by the various types. Each\n * type will provide their own animations for open and close\n * and registers itself with Menu.\n */\nconst baseAnimation = (isIos) => {\n // https://material.io/guidelines/motion/movement.html#movement-movement-in-out-of-screen-bounds\n // https://material.io/guidelines/motion/duration-easing.html#duration-easing-natural-easing-curves\n /**\n * \"Apply the sharp curve to items temporarily leaving the screen that may return\n * from the same exit point. When they return, use the deceleration curve. On mobile,\n * this transition typically occurs over 300ms\" -- MD Motion Guide\n */\n return createAnimation().duration(isIos ? 400 : 300);\n};\n\n/**\n * Menu Overlay Type\n * The menu slides over the content. The content\n * itself, which is under the menu, does not move.\n */\nconst menuOverlayAnimation = (menu) => {\n let closedX;\n let openedX;\n const width = menu.width + 8;\n const menuAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n if (menu.isEndSide) {\n // right side\n closedX = width + 'px';\n openedX = '0px';\n }\n else {\n // left side\n closedX = -width + 'px';\n openedX = '0px';\n }\n menuAnimation.addElement(menu.menuInnerEl).fromTo('transform', `translateX(${closedX})`, `translateX(${openedX})`);\n const mode = getIonMode(menu);\n const isIos = mode === 'ios';\n const opacity = isIos ? 0.2 : 0.25;\n backdropAnimation.addElement(menu.backdropEl).fromTo('opacity', 0.01, opacity);\n return baseAnimation(isIos).addAnimation([menuAnimation, backdropAnimation]);\n};\n\n/**\n * Menu Push Type\n * The content slides over to reveal the menu underneath.\n * The menu itself also slides over to reveal its bad self.\n */\nconst menuPushAnimation = (menu) => {\n let contentOpenedX;\n let menuClosedX;\n const mode = getIonMode(menu);\n const width = menu.width;\n if (menu.isEndSide) {\n contentOpenedX = -width + 'px';\n menuClosedX = width + 'px';\n }\n else {\n contentOpenedX = width + 'px';\n menuClosedX = -width + 'px';\n }\n const menuAnimation = createAnimation()\n .addElement(menu.menuInnerEl)\n .fromTo('transform', `translateX(${menuClosedX})`, 'translateX(0px)');\n const contentAnimation = createAnimation()\n .addElement(menu.contentEl)\n .fromTo('transform', 'translateX(0px)', `translateX(${contentOpenedX})`);\n const backdropAnimation = createAnimation().addElement(menu.backdropEl).fromTo('opacity', 0.01, 0.32);\n return baseAnimation(mode === 'ios').addAnimation([menuAnimation, contentAnimation, backdropAnimation]);\n};\n\n/**\n * Menu Reveal Type\n * The content slides over to reveal the menu underneath.\n * The menu itself, which is under the content, does not move.\n */\nconst menuRevealAnimation = (menu) => {\n const mode = getIonMode(menu);\n const openedX = menu.width * (menu.isEndSide ? -1 : 1) + 'px';\n const contentOpen = createAnimation()\n .addElement(menu.contentEl) // REVIEW\n .fromTo('transform', 'translateX(0px)', `translateX(${openedX})`);\n return baseAnimation(mode === 'ios').addAnimation(contentOpen);\n};\n\nconst createMenuController = () => {\n const menuAnimations = new Map();\n const menus = [];\n const open = async (menu) => {\n const menuEl = await get(menu, true);\n if (menuEl) {\n return menuEl.open();\n }\n return false;\n };\n const close = async (menu) => {\n const menuEl = await (menu !== undefined ? get(menu, true) : getOpen());\n if (menuEl !== undefined) {\n return menuEl.close();\n }\n return false;\n };\n const toggle = async (menu) => {\n const menuEl = await get(menu, true);\n if (menuEl) {\n return menuEl.toggle();\n }\n return false;\n };\n const enable = async (shouldEnable, menu) => {\n const menuEl = await get(menu);\n if (menuEl) {\n menuEl.disabled = !shouldEnable;\n }\n return menuEl;\n };\n const swipeGesture = async (shouldEnable, menu) => {\n const menuEl = await get(menu);\n if (menuEl) {\n menuEl.swipeGesture = shouldEnable;\n }\n return menuEl;\n };\n const isOpen = async (menu) => {\n if (menu != null) {\n const menuEl = await get(menu);\n // eslint-disable-next-line @typescript-eslint/prefer-optional-chain\n return menuEl !== undefined && menuEl.isOpen();\n }\n else {\n const menuEl = await getOpen();\n return menuEl !== undefined;\n }\n };\n const isEnabled = async (menu) => {\n const menuEl = await get(menu);\n if (menuEl) {\n return !menuEl.disabled;\n }\n return false;\n };\n /**\n * Finds and returns the menu specified by \"menu\" if registered.\n * @param menu - The side or ID of the desired menu\n * @param logOnMultipleSideMenus - If true, this function will log a warning\n * if \"menu\" is a side but multiple menus on the same side were found. Since this function\n * is used in multiple places, we default this log to false so that the calling\n * functions can choose whether or not it is appropriate to log this warning.\n */\n const get = async (menu, logOnMultipleSideMenus = false) => {\n await waitUntilReady();\n if (menu === 'start' || menu === 'end') {\n // there could be more than one menu on the same side\n // so first try to get the enabled one\n const menuRefs = menus.filter((m) => m.side === menu && !m.disabled);\n if (menuRefs.length >= 1) {\n if (menuRefs.length > 1 && logOnMultipleSideMenus) {\n printIonWarning(`menuController queried for a menu on the \"${menu}\" side, but ${menuRefs.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`, menuRefs.map((m) => m.el));\n }\n return menuRefs[0].el;\n }\n // didn't find a menu side that is enabled\n // so try to get the first menu side found\n const sideMenuRefs = menus.filter((m) => m.side === menu);\n if (sideMenuRefs.length >= 1) {\n if (sideMenuRefs.length > 1 && logOnMultipleSideMenus) {\n printIonWarning(`menuController queried for a menu on the \"${menu}\" side, but ${sideMenuRefs.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`, sideMenuRefs.map((m) => m.el));\n }\n return sideMenuRefs[0].el;\n }\n }\n else if (menu != null) {\n // the menuId was not left or right\n // so try to get the menu by its \"id\"\n return find((m) => m.menuId === menu);\n }\n // return the first enabled menu\n const menuEl = find((m) => !m.disabled);\n if (menuEl) {\n return menuEl;\n }\n // get the first menu in the array, if one exists\n return menus.length > 0 ? menus[0].el : undefined;\n };\n /**\n * Get the instance of the opened menu. Returns `null` if a menu is not found.\n */\n const getOpen = async () => {\n await waitUntilReady();\n return _getOpenSync();\n };\n /**\n * Get all menu instances.\n */\n const getMenus = async () => {\n await waitUntilReady();\n return getMenusSync();\n };\n /**\n * Get whether or not a menu is animating. Returns `true` if any\n * menu is currently animating.\n */\n const isAnimating = async () => {\n await waitUntilReady();\n return isAnimatingSync();\n };\n const registerAnimation = (name, animation) => {\n menuAnimations.set(name, animation);\n };\n const _register = (menu) => {\n if (menus.indexOf(menu) < 0) {\n menus.push(menu);\n }\n };\n const _unregister = (menu) => {\n const index = menus.indexOf(menu);\n if (index > -1) {\n menus.splice(index, 1);\n }\n };\n const _setOpen = async (menu, shouldOpen, animated, role) => {\n if (isAnimatingSync()) {\n return false;\n }\n if (shouldOpen) {\n const openedMenu = await getOpen();\n if (openedMenu && menu.el !== openedMenu) {\n await openedMenu.setOpen(false, false);\n }\n }\n return menu._setOpen(shouldOpen, animated, role);\n };\n const _createAnimation = (type, menuCmp) => {\n const animationBuilder = menuAnimations.get(type); // TODO(FW-2832): type\n if (!animationBuilder) {\n throw new Error('animation not registered');\n }\n const animation = animationBuilder(menuCmp);\n return animation;\n };\n const _getOpenSync = () => {\n return find((m) => m._isOpen);\n };\n const getMenusSync = () => {\n return menus.map((menu) => menu.el);\n };\n const isAnimatingSync = () => {\n return menus.some((menu) => menu.isAnimating);\n };\n const find = (predicate) => {\n const instance = menus.find(predicate);\n if (instance !== undefined) {\n return instance.el;\n }\n return undefined;\n };\n const waitUntilReady = () => {\n return Promise.all(Array.from(document.querySelectorAll('ion-menu')).map((menu) => new Promise((resolve) => componentOnReady(menu, resolve))));\n };\n registerAnimation('reveal', menuRevealAnimation);\n registerAnimation('push', menuPushAnimation);\n registerAnimation('overlay', menuOverlayAnimation);\n doc === null || doc === void 0 ? void 0 : doc.addEventListener('ionBackButton', (ev) => {\n const openMenu = _getOpenSync();\n if (openMenu) {\n ev.detail.register(MENU_BACK_BUTTON_PRIORITY, () => {\n return openMenu.close();\n });\n }\n });\n return {\n registerAnimation,\n get,\n getMenus,\n getOpen,\n isEnabled,\n swipeGesture,\n isAnimating,\n isOpen,\n enable,\n toggle,\n close,\n open,\n _getOpenSync,\n _createAnimation,\n _register,\n _unregister,\n _setOpen,\n };\n};\nconst menuController = /*@__PURE__*/ createMenuController();\n\nexport { menuController as m };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nconst NAMESPACE = 'ionic';\nconst BUILD = /* ionic */ { allRenderFn: false, appendChildSlotFix: true, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: true, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: true, experimentalSlotFixes: true, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: \"hydrated\", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: true, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: true, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, slot: true, slotChildNodesFix: true, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };\n\n/*\n Stencil Client Platform v4.20.0 | MIT Licensed | https://stenciljs.com\n */\nvar __defProp = Object.defineProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar Build = {\n isDev: false,\n isBrowser: true,\n isServer: false,\n isTesting: false\n};\nvar hostRefs = /* @__PURE__ */ new WeakMap();\nvar getHostRef = (ref) => hostRefs.get(ref);\nvar registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);\nvar registerHost = (hostElement, cmpMeta) => {\n const hostRef = {\n $flags$: 0,\n $hostElement$: hostElement,\n $cmpMeta$: cmpMeta,\n $instanceValues$: /* @__PURE__ */ new Map()\n };\n {\n hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);\n }\n {\n hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);\n hostElement[\"s-p\"] = [];\n hostElement[\"s-rc\"] = [];\n }\n return hostRefs.set(hostElement, hostRef);\n};\nvar isMemberInElement = (elm, memberName) => memberName in elm;\nvar consoleError = (e, el) => (0, console.error)(e, el);\n\n// src/client/client-load-module.ts\nvar cmpModules = /* @__PURE__ */ new Map();\nvar loadModule = (cmpMeta, hostRef, hmrVersionId) => {\n const exportName = cmpMeta.$tagName$.replace(/-/g, \"_\");\n const bundleId = cmpMeta.$lazyBundleId$;\n if (!bundleId) {\n return void 0;\n }\n const module = cmpModules.get(bundleId) ;\n if (module) {\n return module[exportName];\n }\n /*!__STENCIL_STATIC_IMPORT_SWITCH__*/\n return import(\n /* @vite-ignore */\n /* webpackInclude: /\\.entry\\.js$/ */\n /* webpackExclude: /\\.system\\.entry\\.js$/ */\n /* webpackMode: \"lazy\" */\n `./${bundleId}.entry.js${\"\"}`\n ).then((importedModule) => {\n {\n cmpModules.set(bundleId, importedModule);\n }\n return importedModule[exportName];\n }, consoleError);\n};\n\n// src/client/client-style.ts\nvar styles = /* @__PURE__ */ new Map();\nvar modeResolutionChain = [];\n\n// src/runtime/runtime-constants.ts\nvar CONTENT_REF_ID = \"r\";\nvar ORG_LOCATION_ID = \"o\";\nvar SLOT_NODE_ID = \"s\";\nvar TEXT_NODE_ID = \"t\";\nvar HYDRATE_ID = \"s-id\";\nvar HYDRATED_STYLE_ID = \"sty-id\";\nvar HYDRATE_CHILD_ID = \"c-id\";\nvar HYDRATED_CSS = \"{visibility:hidden}.hydrated{visibility:inherit}\";\nvar SLOT_FB_CSS = \"slot-fb{display:contents}slot-fb[hidden]{display:none}\";\nvar XLINK_NS = \"http://www.w3.org/1999/xlink\";\nvar win = typeof window !== \"undefined\" ? window : {};\nvar doc = win.document || { head: {} };\nvar H = win.HTMLElement || class {\n};\nvar plt = {\n $flags$: 0,\n $resourcesUrl$: \"\",\n jmp: (h2) => h2(),\n raf: (h2) => requestAnimationFrame(h2),\n ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),\n rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),\n ce: (eventName, opts) => new CustomEvent(eventName, opts)\n};\nvar setPlatformHelpers = (helpers) => {\n Object.assign(plt, helpers);\n};\nvar supportsShadow = BUILD.shadowDom;\nvar supportsListenerOptions = /* @__PURE__ */ (() => {\n let supportsListenerOptions2 = false;\n try {\n doc.addEventListener(\n \"e\",\n null,\n Object.defineProperty({}, \"passive\", {\n get() {\n supportsListenerOptions2 = true;\n }\n })\n );\n } catch (e) {\n }\n return supportsListenerOptions2;\n})();\nvar promiseResolve = (v) => Promise.resolve(v);\nvar supportsConstructableStylesheets = /* @__PURE__ */ (() => {\n try {\n new CSSStyleSheet();\n return typeof new CSSStyleSheet().replaceSync === \"function\";\n } catch (e) {\n }\n return false;\n})() ;\nvar queuePending = false;\nvar queueDomReads = [];\nvar queueDomWrites = [];\nvar queueTask = (queue, write) => (cb) => {\n queue.push(cb);\n if (!queuePending) {\n queuePending = true;\n if (write && plt.$flags$ & 4 /* queueSync */) {\n nextTick(flush);\n } else {\n plt.raf(flush);\n }\n }\n};\nvar consume = (queue) => {\n for (let i2 = 0; i2 < queue.length; i2++) {\n try {\n queue[i2](performance.now());\n } catch (e) {\n consoleError(e);\n }\n }\n queue.length = 0;\n};\nvar flush = () => {\n consume(queueDomReads);\n {\n consume(queueDomWrites);\n if (queuePending = queueDomReads.length > 0) {\n plt.raf(flush);\n }\n }\n};\nvar nextTick = (cb) => promiseResolve().then(cb);\nvar readTask = /* @__PURE__ */ queueTask(queueDomReads, false);\nvar writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);\n\n// src/runtime/asset-path.ts\nvar getAssetPath = (path) => {\n const assetUrl = new URL(path, plt.$resourcesUrl$);\n return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;\n};\n\n// src/utils/constants.ts\nvar EMPTY_OBJ = {};\nvar SVG_NS = \"http://www.w3.org/2000/svg\";\nvar HTML_NS = \"http://www.w3.org/1999/xhtml\";\n\n// src/utils/helpers.ts\nvar isDef = (v) => v != null;\nvar isComplexType = (o) => {\n o = typeof o;\n return o === \"object\" || o === \"function\";\n};\n\n// src/utils/query-nonce-meta-tag-content.ts\nfunction queryNonceMetaTagContent(doc2) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc2.head) == null ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) == null ? void 0 : _b.getAttribute(\"content\")) != null ? _c : void 0;\n}\n\n// src/utils/result.ts\nvar result_exports = {};\n__export(result_exports, {\n err: () => err,\n map: () => map,\n ok: () => ok,\n unwrap: () => unwrap,\n unwrapErr: () => unwrapErr\n});\nvar ok = (value) => ({\n isOk: true,\n isErr: false,\n value\n});\nvar err = (value) => ({\n isOk: false,\n isErr: true,\n value\n});\nfunction map(result, fn) {\n if (result.isOk) {\n const val = fn(result.value);\n if (val instanceof Promise) {\n return val.then((newVal) => ok(newVal));\n } else {\n return ok(val);\n }\n }\n if (result.isErr) {\n const value = result.value;\n return err(value);\n }\n throw \"should never get here\";\n}\nvar unwrap = (result) => {\n if (result.isOk) {\n return result.value;\n } else {\n throw result.value;\n }\n};\nvar unwrapErr = (result) => {\n if (result.isErr) {\n return result.value;\n } else {\n throw result.value;\n }\n};\nvar createTime = (fnName, tagName = \"\") => {\n {\n return () => {\n return;\n };\n }\n};\nvar uniqueTime = (key, measureText) => {\n {\n return () => {\n return;\n };\n }\n};\nvar h = (nodeName, vnodeData, ...children) => {\n let child = null;\n let key = null;\n let slotName = null;\n let simple = false;\n let lastSimple = false;\n const vNodeChildren = [];\n const walk = (c) => {\n for (let i2 = 0; i2 < c.length; i2++) {\n child = c[i2];\n if (Array.isArray(child)) {\n walk(child);\n } else if (child != null && typeof child !== \"boolean\") {\n if (simple = typeof nodeName !== \"function\" && !isComplexType(child)) {\n child = String(child);\n }\n if (simple && lastSimple) {\n vNodeChildren[vNodeChildren.length - 1].$text$ += child;\n } else {\n vNodeChildren.push(simple ? newVNode(null, child) : child);\n }\n lastSimple = simple;\n }\n }\n };\n walk(children);\n if (vnodeData) {\n if (vnodeData.key) {\n key = vnodeData.key;\n }\n if (vnodeData.name) {\n slotName = vnodeData.name;\n }\n {\n const classData = vnodeData.className || vnodeData.class;\n if (classData) {\n vnodeData.class = typeof classData !== \"object\" ? classData : Object.keys(classData).filter((k) => classData[k]).join(\" \");\n }\n }\n }\n if (typeof nodeName === \"function\") {\n return nodeName(\n vnodeData === null ? {} : vnodeData,\n vNodeChildren,\n vdomFnUtils\n );\n }\n const vnode = newVNode(nodeName, null);\n vnode.$attrs$ = vnodeData;\n if (vNodeChildren.length > 0) {\n vnode.$children$ = vNodeChildren;\n }\n {\n vnode.$key$ = key;\n }\n {\n vnode.$name$ = slotName;\n }\n return vnode;\n};\nvar newVNode = (tag, text) => {\n const vnode = {\n $flags$: 0,\n $tag$: tag,\n $text$: text,\n $elm$: null,\n $children$: null\n };\n {\n vnode.$attrs$ = null;\n }\n {\n vnode.$key$ = null;\n }\n {\n vnode.$name$ = null;\n }\n return vnode;\n};\nvar Host = {};\nvar isHost = (node) => node && node.$tag$ === Host;\nvar vdomFnUtils = {\n forEach: (children, cb) => children.map(convertToPublic).forEach(cb),\n map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)\n};\nvar convertToPublic = (node) => ({\n vattrs: node.$attrs$,\n vchildren: node.$children$,\n vkey: node.$key$,\n vname: node.$name$,\n vtag: node.$tag$,\n vtext: node.$text$\n});\nvar convertToPrivate = (node) => {\n if (typeof node.vtag === \"function\") {\n const vnodeData = { ...node.vattrs };\n if (node.vkey) {\n vnodeData.key = node.vkey;\n }\n if (node.vname) {\n vnodeData.name = node.vname;\n }\n return h(node.vtag, vnodeData, ...node.vchildren || []);\n }\n const vnode = newVNode(node.vtag, node.vtext);\n vnode.$attrs$ = node.vattrs;\n vnode.$children$ = node.vchildren;\n vnode.$key$ = node.vkey;\n vnode.$name$ = node.vname;\n return vnode;\n};\n\n// src/runtime/client-hydrate.ts\nvar initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {\n const endHydrate = createTime(\"hydrateClient\", tagName);\n const shadowRoot = hostElm.shadowRoot;\n const childRenderNodes = [];\n const slotNodes = [];\n const shadowRootNodes = shadowRoot ? [] : null;\n const vnode = hostRef.$vnode$ = newVNode(tagName, null);\n if (!plt.$orgLocNodes$) {\n initializeDocumentHydrate(doc.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());\n }\n hostElm[HYDRATE_ID] = hostId;\n hostElm.removeAttribute(HYDRATE_ID);\n clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);\n childRenderNodes.map((c) => {\n const orgLocationId = c.$hostId$ + \".\" + c.$nodeId$;\n const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);\n const node = c.$elm$;\n if (orgLocationNode && supportsShadow && orgLocationNode[\"s-en\"] === \"\") {\n orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);\n }\n if (!shadowRoot) {\n node[\"s-hn\"] = tagName;\n if (orgLocationNode) {\n node[\"s-ol\"] = orgLocationNode;\n node[\"s-ol\"][\"s-nr\"] = node;\n }\n }\n plt.$orgLocNodes$.delete(orgLocationId);\n });\n if (shadowRoot) {\n shadowRootNodes.map((shadowRootNode) => {\n if (shadowRootNode) {\n shadowRoot.appendChild(shadowRootNode);\n }\n });\n }\n endHydrate();\n};\nvar clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {\n let childNodeType;\n let childIdSplt;\n let childVNode;\n let i2;\n if (node.nodeType === 1 /* ElementNode */) {\n childNodeType = node.getAttribute(HYDRATE_CHILD_ID);\n if (childNodeType) {\n childIdSplt = childNodeType.split(\".\");\n if (childIdSplt[0] === hostId || childIdSplt[0] === \"0\") {\n childVNode = {\n $flags$: 0,\n $hostId$: childIdSplt[0],\n $nodeId$: childIdSplt[1],\n $depth$: childIdSplt[2],\n $index$: childIdSplt[3],\n $tag$: node.tagName.toLowerCase(),\n $elm$: node,\n $attrs$: null,\n $children$: null,\n $key$: null,\n $name$: null,\n $text$: null\n };\n childRenderNodes.push(childVNode);\n node.removeAttribute(HYDRATE_CHILD_ID);\n if (!parentVNode.$children$) {\n parentVNode.$children$ = [];\n }\n parentVNode.$children$[childVNode.$index$] = childVNode;\n parentVNode = childVNode;\n if (shadowRootNodes && childVNode.$depth$ === \"0\") {\n shadowRootNodes[childVNode.$index$] = childVNode.$elm$;\n }\n }\n }\n if (node.shadowRoot) {\n for (i2 = node.shadowRoot.childNodes.length - 1; i2 >= 0; i2--) {\n clientHydrate(\n parentVNode,\n childRenderNodes,\n slotNodes,\n shadowRootNodes,\n hostElm,\n node.shadowRoot.childNodes[i2],\n hostId\n );\n }\n }\n for (i2 = node.childNodes.length - 1; i2 >= 0; i2--) {\n clientHydrate(\n parentVNode,\n childRenderNodes,\n slotNodes,\n shadowRootNodes,\n hostElm,\n node.childNodes[i2],\n hostId\n );\n }\n } else if (node.nodeType === 8 /* CommentNode */) {\n childIdSplt = node.nodeValue.split(\".\");\n if (childIdSplt[1] === hostId || childIdSplt[1] === \"0\") {\n childNodeType = childIdSplt[0];\n childVNode = {\n $flags$: 0,\n $hostId$: childIdSplt[1],\n $nodeId$: childIdSplt[2],\n $depth$: childIdSplt[3],\n $index$: childIdSplt[4],\n $elm$: node,\n $attrs$: null,\n $children$: null,\n $key$: null,\n $name$: null,\n $tag$: null,\n $text$: null\n };\n if (childNodeType === TEXT_NODE_ID) {\n childVNode.$elm$ = node.nextSibling;\n if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {\n childVNode.$text$ = childVNode.$elm$.textContent;\n childRenderNodes.push(childVNode);\n node.remove();\n if (!parentVNode.$children$) {\n parentVNode.$children$ = [];\n }\n parentVNode.$children$[childVNode.$index$] = childVNode;\n if (shadowRootNodes && childVNode.$depth$ === \"0\") {\n shadowRootNodes[childVNode.$index$] = childVNode.$elm$;\n }\n }\n } else if (childVNode.$hostId$ === hostId) {\n if (childNodeType === SLOT_NODE_ID) {\n childVNode.$tag$ = \"slot\";\n if (childIdSplt[5]) {\n node[\"s-sn\"] = childVNode.$name$ = childIdSplt[5];\n } else {\n node[\"s-sn\"] = \"\";\n }\n node[\"s-sr\"] = true;\n if (shadowRootNodes) {\n childVNode.$elm$ = doc.createElement(childVNode.$tag$);\n if (childVNode.$name$) {\n childVNode.$elm$.setAttribute(\"name\", childVNode.$name$);\n }\n node.parentNode.insertBefore(childVNode.$elm$, node);\n node.remove();\n if (childVNode.$depth$ === \"0\") {\n shadowRootNodes[childVNode.$index$] = childVNode.$elm$;\n }\n }\n slotNodes.push(childVNode);\n if (!parentVNode.$children$) {\n parentVNode.$children$ = [];\n }\n parentVNode.$children$[childVNode.$index$] = childVNode;\n } else if (childNodeType === CONTENT_REF_ID) {\n if (shadowRootNodes) {\n node.remove();\n } else {\n hostElm[\"s-cr\"] = node;\n node[\"s-cn\"] = true;\n }\n }\n }\n }\n } else if (parentVNode && parentVNode.$tag$ === \"style\") {\n const vnode = newVNode(null, node.textContent);\n vnode.$elm$ = node;\n vnode.$index$ = \"0\";\n parentVNode.$children$ = [vnode];\n }\n};\nvar initializeDocumentHydrate = (node, orgLocNodes) => {\n if (node.nodeType === 1 /* ElementNode */) {\n let i2 = 0;\n if (node.shadowRoot) {\n for (; i2 < node.shadowRoot.childNodes.length; i2++) {\n initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);\n }\n }\n for (i2 = 0; i2 < node.childNodes.length; i2++) {\n initializeDocumentHydrate(node.childNodes[i2], orgLocNodes);\n }\n } else if (node.nodeType === 8 /* CommentNode */) {\n const childIdSplt = node.nodeValue.split(\".\");\n if (childIdSplt[0] === ORG_LOCATION_ID) {\n orgLocNodes.set(childIdSplt[1] + \".\" + childIdSplt[2], node);\n node.nodeValue = \"\";\n node[\"s-en\"] = childIdSplt[3];\n }\n }\n};\n\n// src/runtime/mode.ts\nvar computeMode = (elm) => modeResolutionChain.map((h2) => h2(elm)).find((m) => !!m);\nvar setMode = (handler) => modeResolutionChain.push(handler);\nvar getMode = (ref) => getHostRef(ref).$modeName$;\nvar parsePropertyValue = (propValue, propType) => {\n if (propValue != null && !isComplexType(propValue)) {\n if (propType & 4 /* Boolean */) {\n return propValue === \"false\" ? false : propValue === \"\" || !!propValue;\n }\n if (propType & 2 /* Number */) {\n return parseFloat(propValue);\n }\n if (propType & 1 /* String */) {\n return String(propValue);\n }\n return propValue;\n }\n return propValue;\n};\nvar getElement = (ref) => getHostRef(ref).$hostElement$ ;\n\n// src/runtime/event-emitter.ts\nvar createEvent = (ref, name, flags) => {\n const elm = getElement(ref);\n return {\n emit: (detail) => {\n return emitEvent(elm, name, {\n bubbles: !!(flags & 4 /* Bubbles */),\n composed: !!(flags & 2 /* Composed */),\n cancelable: !!(flags & 1 /* Cancellable */),\n detail\n });\n }\n };\n};\nvar emitEvent = (elm, name, opts) => {\n const ev = plt.ce(name, opts);\n elm.dispatchEvent(ev);\n return ev;\n};\nvar rootAppliedStyles = /* @__PURE__ */ new WeakMap();\nvar registerStyle = (scopeId2, cssText, allowCS) => {\n let style = styles.get(scopeId2);\n if (supportsConstructableStylesheets && allowCS) {\n style = style || new CSSStyleSheet();\n if (typeof style === \"string\") {\n style = cssText;\n } else {\n style.replaceSync(cssText);\n }\n } else {\n style = cssText;\n }\n styles.set(scopeId2, style);\n};\nvar addStyle = (styleContainerNode, cmpMeta, mode) => {\n var _a;\n const scopeId2 = getScopeId(cmpMeta, mode);\n const style = styles.get(scopeId2);\n styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;\n if (style) {\n if (typeof style === \"string\") {\n styleContainerNode = styleContainerNode.head || styleContainerNode;\n let appliedStyles = rootAppliedStyles.get(styleContainerNode);\n let styleElm;\n if (!appliedStyles) {\n rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());\n }\n if (!appliedStyles.has(scopeId2)) {\n if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}=\"${scopeId2}\"]`))) {\n styleElm.innerHTML = style;\n } else {\n styleElm = doc.createElement(\"style\");\n styleElm.innerHTML = style;\n const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n styleElm.setAttribute(\"nonce\", nonce);\n }\n const injectStyle = (\n /**\n * we render a scoped component\n */\n !(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) || /**\n * we are using shadow dom and render the style tag within the shadowRoot\n */\n cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== \"HEAD\"\n );\n if (injectStyle) {\n styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector(\"link\"));\n }\n }\n if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {\n styleElm.innerHTML += SLOT_FB_CSS;\n }\n if (appliedStyles) {\n appliedStyles.add(scopeId2);\n }\n }\n } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {\n styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];\n }\n }\n return scopeId2;\n};\nvar attachStyles = (hostRef) => {\n const cmpMeta = hostRef.$cmpMeta$;\n const elm = hostRef.$hostElement$;\n const flags = cmpMeta.$flags$;\n const endAttachStyles = createTime(\"attachStyles\", cmpMeta.$tagName$);\n const scopeId2 = addStyle(\n elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),\n cmpMeta,\n hostRef.$modeName$\n );\n if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {\n elm[\"s-sc\"] = scopeId2;\n elm.classList.add(scopeId2 + \"-h\");\n if (flags & 2 /* scopedCssEncapsulation */) {\n elm.classList.add(scopeId2 + \"-s\");\n }\n }\n endAttachStyles();\n};\nvar getScopeId = (cmp, mode) => \"sc-\" + (mode && cmp.$flags$ & 32 /* hasMode */ ? cmp.$tagName$ + \"-\" + mode : cmp.$tagName$);\nvar setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {\n if (oldValue !== newValue) {\n let isProp = isMemberInElement(elm, memberName);\n let ln = memberName.toLowerCase();\n if (memberName === \"class\") {\n const classList = elm.classList;\n const oldClasses = parseClassList(oldValue);\n const newClasses = parseClassList(newValue);\n classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));\n classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));\n } else if (memberName === \"style\") {\n {\n for (const prop in oldValue) {\n if (!newValue || newValue[prop] == null) {\n if (prop.includes(\"-\")) {\n elm.style.removeProperty(prop);\n } else {\n elm.style[prop] = \"\";\n }\n }\n }\n }\n for (const prop in newValue) {\n if (!oldValue || newValue[prop] !== oldValue[prop]) {\n if (prop.includes(\"-\")) {\n elm.style.setProperty(prop, newValue[prop]);\n } else {\n elm.style[prop] = newValue[prop];\n }\n }\n }\n } else if (memberName === \"key\") ; else if (memberName === \"ref\") {\n if (newValue) {\n newValue(elm);\n }\n } else if ((!isProp ) && memberName[0] === \"o\" && memberName[1] === \"n\") {\n if (memberName[2] === \"-\") {\n memberName = memberName.slice(3);\n } else if (isMemberInElement(win, ln)) {\n memberName = ln.slice(2);\n } else {\n memberName = ln[2] + memberName.slice(3);\n }\n if (oldValue || newValue) {\n const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);\n memberName = memberName.replace(CAPTURE_EVENT_REGEX, \"\");\n if (oldValue) {\n plt.rel(elm, memberName, oldValue, capture);\n }\n if (newValue) {\n plt.ael(elm, memberName, newValue, capture);\n }\n }\n } else {\n const isComplex = isComplexType(newValue);\n if ((isProp || isComplex && newValue !== null) && !isSvg) {\n try {\n if (!elm.tagName.includes(\"-\")) {\n const n = newValue == null ? \"\" : newValue;\n if (memberName === \"list\") {\n isProp = false;\n } else if (oldValue == null || elm[memberName] != n) {\n elm[memberName] = n;\n }\n } else {\n elm[memberName] = newValue;\n }\n } catch (e) {\n }\n }\n let xlink = false;\n {\n if (ln !== (ln = ln.replace(/^xlink\\:?/, \"\"))) {\n memberName = ln;\n xlink = true;\n }\n }\n if (newValue == null || newValue === false) {\n if (newValue !== false || elm.getAttribute(memberName) === \"\") {\n if (xlink) {\n elm.removeAttributeNS(XLINK_NS, memberName);\n } else {\n elm.removeAttribute(memberName);\n }\n }\n } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {\n newValue = newValue === true ? \"\" : newValue;\n if (xlink) {\n elm.setAttributeNS(XLINK_NS, memberName, newValue);\n } else {\n elm.setAttribute(memberName, newValue);\n }\n }\n }\n }\n};\nvar parseClassListRegex = /\\s/;\nvar parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);\nvar CAPTURE_EVENT_SUFFIX = \"Capture\";\nvar CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + \"$\");\n\n// src/runtime/vdom/update-element.ts\nvar updateElement = (oldVnode, newVnode, isSvgMode2) => {\n const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;\n const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;\n const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;\n {\n for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {\n if (!(memberName in newVnodeAttrs)) {\n setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);\n }\n }\n }\n for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {\n setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);\n }\n};\nfunction sortedAttrNames(attrNames) {\n return attrNames.includes(\"ref\") ? (\n // we need to sort these to ensure that `'ref'` is the last attr\n [...attrNames.filter((attr) => attr !== \"ref\"), \"ref\"]\n ) : (\n // no need to sort, return the original array\n attrNames\n );\n}\n\n// src/runtime/vdom/vdom-render.ts\nvar scopeId;\nvar contentRef;\nvar hostTagName;\nvar useNativeShadowDom = false;\nvar checkSlotFallbackVisibility = false;\nvar checkSlotRelocate = false;\nvar isSvgMode = false;\nvar createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {\n var _a;\n const newVNode2 = newParentVNode.$children$[childIndex];\n let i2 = 0;\n let elm;\n let childNode;\n let oldVNode;\n if (!useNativeShadowDom) {\n checkSlotRelocate = true;\n if (newVNode2.$tag$ === \"slot\") {\n if (scopeId) {\n parentElm.classList.add(scopeId + \"-s\");\n }\n newVNode2.$flags$ |= newVNode2.$children$ ? (\n // slot element has fallback content\n // still create an element that \"mocks\" the slot element\n 2 /* isSlotFallback */\n ) : (\n // slot element does not have fallback content\n // create an html comment we'll use to always reference\n // where actual slot content should sit next to\n 1 /* isSlotReference */\n );\n }\n }\n if (newVNode2.$text$ !== null) {\n elm = newVNode2.$elm$ = doc.createTextNode(newVNode2.$text$);\n } else if (newVNode2.$flags$ & 1 /* isSlotReference */) {\n elm = newVNode2.$elm$ = doc.createTextNode(\"\");\n } else {\n if (!isSvgMode) {\n isSvgMode = newVNode2.$tag$ === \"svg\";\n }\n elm = newVNode2.$elm$ = doc.createElementNS(\n isSvgMode ? SVG_NS : HTML_NS,\n !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? \"slot-fb\" : newVNode2.$tag$\n ) ;\n if (isSvgMode && newVNode2.$tag$ === \"foreignObject\") {\n isSvgMode = false;\n }\n {\n updateElement(null, newVNode2, isSvgMode);\n }\n const rootNode = elm.getRootNode();\n const isElementWithinShadowRoot = !rootNode.querySelector(\"body\");\n if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm[\"s-si\"] !== scopeId) {\n elm.classList.add(elm[\"s-si\"] = scopeId);\n }\n {\n updateElementScopeIds(elm, parentElm);\n }\n if (newVNode2.$children$) {\n for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {\n childNode = createElm(oldParentVNode, newVNode2, i2, elm);\n if (childNode) {\n elm.appendChild(childNode);\n }\n }\n }\n {\n if (newVNode2.$tag$ === \"svg\") {\n isSvgMode = false;\n } else if (elm.tagName === \"foreignObject\") {\n isSvgMode = true;\n }\n }\n }\n elm[\"s-hn\"] = hostTagName;\n {\n if (newVNode2.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {\n elm[\"s-sr\"] = true;\n elm[\"s-cr\"] = contentRef;\n elm[\"s-sn\"] = newVNode2.$name$ || \"\";\n elm[\"s-rf\"] = (_a = newVNode2.$attrs$) == null ? void 0 : _a.ref;\n oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];\n if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {\n {\n relocateToHostRoot(oldParentVNode.$elm$);\n }\n }\n }\n }\n return elm;\n};\nvar relocateToHostRoot = (parentElm) => {\n plt.$flags$ |= 1 /* isTmpDisconnected */;\n const host = parentElm.closest(hostTagName.toLowerCase());\n if (host != null) {\n const contentRefNode = Array.from(host.childNodes).find((ref) => ref[\"s-cr\"]);\n const childNodeArray = Array.from(parentElm.childNodes);\n for (const childNode of contentRefNode ? childNodeArray.reverse() : childNodeArray) {\n if (childNode[\"s-sh\"] != null) {\n insertBefore(host, childNode, contentRefNode != null ? contentRefNode : null);\n childNode[\"s-sh\"] = void 0;\n checkSlotRelocate = true;\n }\n }\n }\n plt.$flags$ &= ~1 /* isTmpDisconnected */;\n};\nvar putBackInOriginalLocation = (parentElm, recursive) => {\n plt.$flags$ |= 1 /* isTmpDisconnected */;\n const oldSlotChildNodes = Array.from(parentElm.childNodes);\n if (parentElm[\"s-sr\"] && BUILD.experimentalSlotFixes) {\n let node = parentElm;\n while (node = node.nextSibling) {\n if (node && node[\"s-sn\"] === parentElm[\"s-sn\"] && node[\"s-sh\"] === hostTagName) {\n oldSlotChildNodes.push(node);\n }\n }\n }\n for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {\n const childNode = oldSlotChildNodes[i2];\n if (childNode[\"s-hn\"] !== hostTagName && childNode[\"s-ol\"]) {\n insertBefore(parentReferenceNode(childNode), childNode, referenceNode(childNode));\n childNode[\"s-ol\"].remove();\n childNode[\"s-ol\"] = void 0;\n childNode[\"s-sh\"] = void 0;\n checkSlotRelocate = true;\n }\n if (recursive) {\n putBackInOriginalLocation(childNode, recursive);\n }\n }\n plt.$flags$ &= ~1 /* isTmpDisconnected */;\n};\nvar addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {\n let containerElm = parentElm[\"s-cr\"] && parentElm[\"s-cr\"].parentNode || parentElm;\n let childNode;\n if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {\n containerElm = containerElm.shadowRoot;\n }\n for (; startIdx <= endIdx; ++startIdx) {\n if (vnodes[startIdx]) {\n childNode = createElm(null, parentVNode, startIdx, parentElm);\n if (childNode) {\n vnodes[startIdx].$elm$ = childNode;\n insertBefore(containerElm, childNode, referenceNode(before) );\n }\n }\n }\n};\nvar removeVnodes = (vnodes, startIdx, endIdx) => {\n for (let index = startIdx; index <= endIdx; ++index) {\n const vnode = vnodes[index];\n if (vnode) {\n const elm = vnode.$elm$;\n nullifyVNodeRefs(vnode);\n if (elm) {\n {\n checkSlotFallbackVisibility = true;\n if (elm[\"s-ol\"]) {\n elm[\"s-ol\"].remove();\n } else {\n putBackInOriginalLocation(elm, true);\n }\n }\n elm.remove();\n }\n }\n }\n};\nvar updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {\n let oldStartIdx = 0;\n let newStartIdx = 0;\n let idxInOld = 0;\n let i2 = 0;\n let oldEndIdx = oldCh.length - 1;\n let oldStartVnode = oldCh[0];\n let oldEndVnode = oldCh[oldEndIdx];\n let newEndIdx = newCh.length - 1;\n let newStartVnode = newCh[0];\n let newEndVnode = newCh[newEndIdx];\n let node;\n let elmToMove;\n while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {\n if (oldStartVnode == null) {\n oldStartVnode = oldCh[++oldStartIdx];\n } else if (oldEndVnode == null) {\n oldEndVnode = oldCh[--oldEndIdx];\n } else if (newStartVnode == null) {\n newStartVnode = newCh[++newStartIdx];\n } else if (newEndVnode == null) {\n newEndVnode = newCh[--newEndIdx];\n } else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {\n patch(oldStartVnode, newStartVnode, isInitialRender);\n oldStartVnode = oldCh[++oldStartIdx];\n newStartVnode = newCh[++newStartIdx];\n } else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {\n patch(oldEndVnode, newEndVnode, isInitialRender);\n oldEndVnode = oldCh[--oldEndIdx];\n newEndVnode = newCh[--newEndIdx];\n } else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {\n if ((oldStartVnode.$tag$ === \"slot\" || newEndVnode.$tag$ === \"slot\")) {\n putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);\n }\n patch(oldStartVnode, newEndVnode, isInitialRender);\n insertBefore(parentElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);\n oldStartVnode = oldCh[++oldStartIdx];\n newEndVnode = newCh[--newEndIdx];\n } else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {\n if ((oldStartVnode.$tag$ === \"slot\" || newEndVnode.$tag$ === \"slot\")) {\n putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);\n }\n patch(oldEndVnode, newStartVnode, isInitialRender);\n insertBefore(parentElm, oldEndVnode.$elm$, oldStartVnode.$elm$);\n oldEndVnode = oldCh[--oldEndIdx];\n newStartVnode = newCh[++newStartIdx];\n } else {\n idxInOld = -1;\n {\n for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {\n if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {\n idxInOld = i2;\n break;\n }\n }\n }\n if (idxInOld >= 0) {\n elmToMove = oldCh[idxInOld];\n if (elmToMove.$tag$ !== newStartVnode.$tag$) {\n node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld, parentElm);\n } else {\n patch(elmToMove, newStartVnode, isInitialRender);\n oldCh[idxInOld] = void 0;\n node = elmToMove.$elm$;\n }\n newStartVnode = newCh[++newStartIdx];\n } else {\n node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx, parentElm);\n newStartVnode = newCh[++newStartIdx];\n }\n if (node) {\n {\n insertBefore(parentReferenceNode(oldStartVnode.$elm$), node, referenceNode(oldStartVnode.$elm$));\n }\n }\n }\n }\n if (oldStartIdx > oldEndIdx) {\n addVnodes(\n parentElm,\n newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,\n newVNode2,\n newCh,\n newStartIdx,\n newEndIdx\n );\n } else if (newStartIdx > newEndIdx) {\n removeVnodes(oldCh, oldStartIdx, oldEndIdx);\n }\n};\nvar isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {\n if (leftVNode.$tag$ === rightVNode.$tag$) {\n if (leftVNode.$tag$ === \"slot\") {\n if (\n // The component gets hydrated and no VDOM has been initialized.\n // Here the comparison can't happen as $name$ property is not set for `leftNode`.\n \"$nodeId$\" in leftVNode && isInitialRender && // `leftNode` is not from type HTMLComment which would cause many\n // hydration comments to be removed\n leftVNode.$elm$.nodeType !== 8\n ) {\n return false;\n }\n return leftVNode.$name$ === rightVNode.$name$;\n }\n if (!isInitialRender) {\n return leftVNode.$key$ === rightVNode.$key$;\n }\n return true;\n }\n return false;\n};\nvar referenceNode = (node) => {\n return node && node[\"s-ol\"] || node;\n};\nvar parentReferenceNode = (node) => (node[\"s-ol\"] ? node[\"s-ol\"] : node).parentNode;\nvar patch = (oldVNode, newVNode2, isInitialRender = false) => {\n const elm = newVNode2.$elm$ = oldVNode.$elm$;\n const oldChildren = oldVNode.$children$;\n const newChildren = newVNode2.$children$;\n const tag = newVNode2.$tag$;\n const text = newVNode2.$text$;\n let defaultHolder;\n if (text === null) {\n {\n isSvgMode = tag === \"svg\" ? true : tag === \"foreignObject\" ? false : isSvgMode;\n }\n {\n if (tag === \"slot\" && !useNativeShadowDom) {\n if (oldVNode.$name$ !== newVNode2.$name$) {\n newVNode2.$elm$[\"s-sn\"] = newVNode2.$name$ || \"\";\n relocateToHostRoot(newVNode2.$elm$.parentElement);\n }\n } else {\n updateElement(oldVNode, newVNode2, isSvgMode);\n }\n }\n if (oldChildren !== null && newChildren !== null) {\n updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);\n } else if (newChildren !== null) {\n if (oldVNode.$text$ !== null) {\n elm.textContent = \"\";\n }\n addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);\n } else if (\n // don't do this on initial render as it can cause non-hydrated content to be removed\n !isInitialRender && BUILD.updatable && oldChildren !== null\n ) {\n removeVnodes(oldChildren, 0, oldChildren.length - 1);\n }\n if (isSvgMode && tag === \"svg\") {\n isSvgMode = false;\n }\n } else if ((defaultHolder = elm[\"s-cr\"])) {\n defaultHolder.parentNode.textContent = text;\n } else if (oldVNode.$text$ !== text) {\n elm.data = text;\n }\n};\nvar updateFallbackSlotVisibility = (elm) => {\n const childNodes = elm.childNodes;\n for (const childNode of childNodes) {\n if (childNode.nodeType === 1 /* ElementNode */) {\n if (childNode[\"s-sr\"]) {\n const slotName = childNode[\"s-sn\"];\n childNode.hidden = false;\n for (const siblingNode of childNodes) {\n if (siblingNode !== childNode) {\n if (siblingNode[\"s-hn\"] !== childNode[\"s-hn\"] || slotName !== \"\") {\n if (siblingNode.nodeType === 1 /* ElementNode */ && (slotName === siblingNode.getAttribute(\"slot\") || slotName === siblingNode[\"s-sn\"]) || siblingNode.nodeType === 3 /* TextNode */ && slotName === siblingNode[\"s-sn\"]) {\n childNode.hidden = true;\n break;\n }\n } else {\n if (siblingNode.nodeType === 1 /* ElementNode */ || siblingNode.nodeType === 3 /* TextNode */ && siblingNode.textContent.trim() !== \"\") {\n childNode.hidden = true;\n break;\n }\n }\n }\n }\n }\n updateFallbackSlotVisibility(childNode);\n }\n }\n};\nvar relocateNodes = [];\nvar markSlotContentForRelocation = (elm) => {\n let node;\n let hostContentNodes;\n let j;\n for (const childNode of elm.childNodes) {\n if (childNode[\"s-sr\"] && (node = childNode[\"s-cr\"]) && node.parentNode) {\n hostContentNodes = node.parentNode.childNodes;\n const slotName = childNode[\"s-sn\"];\n for (j = hostContentNodes.length - 1; j >= 0; j--) {\n node = hostContentNodes[j];\n if (!node[\"s-cn\"] && !node[\"s-nr\"] && node[\"s-hn\"] !== childNode[\"s-hn\"] && (!node[\"s-sh\"] || node[\"s-sh\"] !== childNode[\"s-hn\"])) {\n if (isNodeLocatedInSlot(node, slotName)) {\n let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);\n checkSlotFallbackVisibility = true;\n node[\"s-sn\"] = node[\"s-sn\"] || slotName;\n if (relocateNodeData) {\n relocateNodeData.$nodeToRelocate$[\"s-sh\"] = childNode[\"s-hn\"];\n relocateNodeData.$slotRefNode$ = childNode;\n } else {\n node[\"s-sh\"] = childNode[\"s-hn\"];\n relocateNodes.push({\n $slotRefNode$: childNode,\n $nodeToRelocate$: node\n });\n }\n if (node[\"s-sr\"]) {\n relocateNodes.map((relocateNode) => {\n if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node[\"s-sn\"])) {\n relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);\n if (relocateNodeData && !relocateNode.$slotRefNode$) {\n relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;\n }\n }\n });\n }\n } else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {\n relocateNodes.push({\n $nodeToRelocate$: node\n });\n }\n }\n }\n }\n if (childNode.nodeType === 1 /* ElementNode */) {\n markSlotContentForRelocation(childNode);\n }\n }\n};\nvar isNodeLocatedInSlot = (nodeToRelocate, slotName) => {\n if (nodeToRelocate.nodeType === 1 /* ElementNode */) {\n if (nodeToRelocate.getAttribute(\"slot\") === null && slotName === \"\") {\n return true;\n }\n if (nodeToRelocate.getAttribute(\"slot\") === slotName) {\n return true;\n }\n return false;\n }\n if (nodeToRelocate[\"s-sn\"] === slotName) {\n return true;\n }\n return slotName === \"\";\n};\nvar nullifyVNodeRefs = (vNode) => {\n {\n vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);\n vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);\n }\n};\nvar insertBefore = (parent, newNode, reference) => {\n const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);\n {\n updateElementScopeIds(newNode, parent);\n }\n return inserted;\n};\nvar findScopeIds = (element) => {\n const scopeIds = [];\n if (element) {\n scopeIds.push(\n ...element[\"s-scs\"] || [],\n element[\"s-si\"],\n element[\"s-sc\"],\n ...findScopeIds(element.parentElement)\n );\n }\n return scopeIds;\n};\nvar updateElementScopeIds = (element, parent, iterateChildNodes = false) => {\n var _a;\n if (element && parent && element.nodeType === 1 /* ElementNode */) {\n const scopeIds = new Set(findScopeIds(parent).filter(Boolean));\n if (scopeIds.size) {\n (_a = element.classList) == null ? void 0 : _a.add(...element[\"s-scs\"] = [...scopeIds]);\n if (element[\"s-ol\"] || iterateChildNodes) {\n for (const childNode of Array.from(element.childNodes)) {\n updateElementScopeIds(childNode, element, true);\n }\n }\n }\n }\n};\nvar renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {\n var _a, _b, _c, _d, _e;\n const hostElm = hostRef.$hostElement$;\n const cmpMeta = hostRef.$cmpMeta$;\n const oldVNode = hostRef.$vnode$ || newVNode(null, null);\n const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);\n hostTagName = hostElm.tagName;\n if (cmpMeta.$attrsToReflect$) {\n rootVnode.$attrs$ = rootVnode.$attrs$ || {};\n cmpMeta.$attrsToReflect$.map(\n ([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]\n );\n }\n if (isInitialLoad && rootVnode.$attrs$) {\n for (const key of Object.keys(rootVnode.$attrs$)) {\n if (hostElm.hasAttribute(key) && ![\"key\", \"ref\", \"style\", \"class\"].includes(key)) {\n rootVnode.$attrs$[key] = hostElm[key];\n }\n }\n }\n rootVnode.$tag$ = null;\n rootVnode.$flags$ |= 4 /* isHost */;\n hostRef.$vnode$ = rootVnode;\n rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;\n {\n scopeId = hostElm[\"s-sc\"];\n }\n useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;\n {\n contentRef = hostElm[\"s-cr\"];\n checkSlotFallbackVisibility = false;\n }\n patch(oldVNode, rootVnode, isInitialLoad);\n {\n plt.$flags$ |= 1 /* isTmpDisconnected */;\n if (checkSlotRelocate) {\n markSlotContentForRelocation(rootVnode.$elm$);\n for (const relocateData of relocateNodes) {\n const nodeToRelocate = relocateData.$nodeToRelocate$;\n if (!nodeToRelocate[\"s-ol\"]) {\n const orgLocationNode = doc.createTextNode(\"\");\n orgLocationNode[\"s-nr\"] = nodeToRelocate;\n insertBefore(nodeToRelocate.parentNode, nodeToRelocate[\"s-ol\"] = orgLocationNode, nodeToRelocate);\n }\n }\n for (const relocateData of relocateNodes) {\n const nodeToRelocate = relocateData.$nodeToRelocate$;\n const slotRefNode = relocateData.$slotRefNode$;\n if (slotRefNode) {\n const parentNodeRef = slotRefNode.parentNode;\n let insertBeforeNode = slotRefNode.nextSibling;\n if (insertBeforeNode && insertBeforeNode.nodeType === 1 /* ElementNode */) {\n let orgLocationNode = (_a = nodeToRelocate[\"s-ol\"]) == null ? void 0 : _a.previousSibling;\n while (orgLocationNode) {\n let refNode = (_b = orgLocationNode[\"s-nr\"]) != null ? _b : null;\n if (refNode && refNode[\"s-sn\"] === nodeToRelocate[\"s-sn\"] && parentNodeRef === refNode.parentNode) {\n refNode = refNode.nextSibling;\n while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode[\"s-sr\"])) {\n refNode = refNode == null ? void 0 : refNode.nextSibling;\n }\n if (!refNode || !refNode[\"s-nr\"]) {\n insertBeforeNode = refNode;\n break;\n }\n }\n orgLocationNode = orgLocationNode.previousSibling;\n }\n }\n if (!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode || nodeToRelocate.nextSibling !== insertBeforeNode) {\n if (nodeToRelocate !== insertBeforeNode) {\n insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);\n if (nodeToRelocate.nodeType === 1 /* ElementNode */) {\n nodeToRelocate.hidden = (_c = nodeToRelocate[\"s-ih\"]) != null ? _c : false;\n }\n }\n }\n nodeToRelocate && typeof slotRefNode[\"s-rf\"] === \"function\" && slotRefNode[\"s-rf\"](nodeToRelocate);\n } else {\n if (nodeToRelocate.nodeType === 1 /* ElementNode */) {\n if (isInitialLoad) {\n nodeToRelocate[\"s-ih\"] = (_d = nodeToRelocate.hidden) != null ? _d : false;\n }\n nodeToRelocate.hidden = true;\n }\n }\n }\n }\n if (checkSlotFallbackVisibility) {\n updateFallbackSlotVisibility(rootVnode.$elm$);\n }\n plt.$flags$ &= ~1 /* isTmpDisconnected */;\n relocateNodes.length = 0;\n }\n if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {\n for (const childNode of rootVnode.$elm$.childNodes) {\n if (childNode[\"s-hn\"] !== hostTagName && !childNode[\"s-sh\"]) {\n if (isInitialLoad && childNode[\"s-ih\"] == null) {\n childNode[\"s-ih\"] = (_e = childNode.hidden) != null ? _e : false;\n }\n childNode.hidden = true;\n }\n }\n }\n contentRef = void 0;\n};\n\n// src/runtime/update-component.ts\nvar attachToAncestor = (hostRef, ancestorComponent) => {\n if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent[\"s-p\"]) {\n ancestorComponent[\"s-p\"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));\n }\n};\nvar scheduleUpdate = (hostRef, isInitialLoad) => {\n {\n hostRef.$flags$ |= 16 /* isQueuedForUpdate */;\n }\n if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {\n hostRef.$flags$ |= 512 /* needsRerender */;\n return;\n }\n attachToAncestor(hostRef, hostRef.$ancestorComponent$);\n const dispatch = () => dispatchHooks(hostRef, isInitialLoad);\n return writeTask(dispatch) ;\n};\nvar dispatchHooks = (hostRef, isInitialLoad) => {\n const elm = hostRef.$hostElement$;\n const endSchedule = createTime(\"scheduleUpdate\", hostRef.$cmpMeta$.$tagName$);\n const instance = hostRef.$lazyInstance$ ;\n if (!instance) {\n throw new Error(\n `Can't render component <${elm.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \\`externalRuntime: true\\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`\n );\n }\n let maybePromise;\n if (isInitialLoad) {\n {\n hostRef.$flags$ |= 256 /* isListenReady */;\n if (hostRef.$queuedListeners$) {\n hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));\n hostRef.$queuedListeners$ = void 0;\n }\n }\n {\n maybePromise = safeCall(instance, \"componentWillLoad\");\n }\n }\n {\n maybePromise = enqueue(maybePromise, () => safeCall(instance, \"componentWillRender\"));\n }\n endSchedule();\n return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));\n};\nvar enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {\n console.error(err2);\n fn();\n}) : fn();\nvar isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === \"function\";\nvar updateComponent = async (hostRef, instance, isInitialLoad) => {\n var _a;\n const elm = hostRef.$hostElement$;\n const endUpdate = createTime(\"update\", hostRef.$cmpMeta$.$tagName$);\n const rc = elm[\"s-rc\"];\n if (isInitialLoad) {\n attachStyles(hostRef);\n }\n const endRender = createTime(\"render\", hostRef.$cmpMeta$.$tagName$);\n {\n callRender(hostRef, instance, elm, isInitialLoad);\n }\n if (rc) {\n rc.map((cb) => cb());\n elm[\"s-rc\"] = void 0;\n }\n endRender();\n endUpdate();\n {\n const childrenPromises = (_a = elm[\"s-p\"]) != null ? _a : [];\n const postUpdate = () => postUpdateComponent(hostRef);\n if (childrenPromises.length === 0) {\n postUpdate();\n } else {\n Promise.all(childrenPromises).then(postUpdate);\n hostRef.$flags$ |= 4 /* isWaitingForChildren */;\n childrenPromises.length = 0;\n }\n }\n};\nvar callRender = (hostRef, instance, elm, isInitialLoad) => {\n try {\n instance = instance.render && instance.render();\n {\n hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;\n }\n {\n hostRef.$flags$ |= 2 /* hasRendered */;\n }\n {\n {\n {\n renderVdom(hostRef, instance, isInitialLoad);\n }\n }\n }\n } catch (e) {\n consoleError(e, hostRef.$hostElement$);\n }\n return null;\n};\nvar postUpdateComponent = (hostRef) => {\n const tagName = hostRef.$cmpMeta$.$tagName$;\n const elm = hostRef.$hostElement$;\n const endPostUpdate = createTime(\"postUpdate\", tagName);\n const instance = hostRef.$lazyInstance$ ;\n const ancestorComponent = hostRef.$ancestorComponent$;\n {\n safeCall(instance, \"componentDidRender\");\n }\n if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {\n hostRef.$flags$ |= 64 /* hasLoadedComponent */;\n {\n addHydratedFlag(elm);\n }\n {\n safeCall(instance, \"componentDidLoad\");\n }\n endPostUpdate();\n {\n hostRef.$onReadyResolve$(elm);\n if (!ancestorComponent) {\n appDidLoad();\n }\n }\n } else {\n {\n safeCall(instance, \"componentDidUpdate\");\n }\n endPostUpdate();\n }\n {\n hostRef.$onInstanceResolve$(elm);\n }\n {\n if (hostRef.$onRenderResolve$) {\n hostRef.$onRenderResolve$();\n hostRef.$onRenderResolve$ = void 0;\n }\n if (hostRef.$flags$ & 512 /* needsRerender */) {\n nextTick(() => scheduleUpdate(hostRef, false));\n }\n hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);\n }\n};\nvar forceUpdate = (ref) => {\n {\n const hostRef = getHostRef(ref);\n const isConnected = hostRef.$hostElement$.isConnected;\n if (isConnected && (hostRef.$flags$ & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {\n scheduleUpdate(hostRef, false);\n }\n return isConnected;\n }\n};\nvar appDidLoad = (who) => {\n {\n addHydratedFlag(doc.documentElement);\n }\n nextTick(() => emitEvent(win, \"appload\", { detail: { namespace: NAMESPACE } }));\n};\nvar safeCall = (instance, method, arg) => {\n if (instance && instance[method]) {\n try {\n return instance[method](arg);\n } catch (e) {\n consoleError(e);\n }\n }\n return void 0;\n};\nvar addHydratedFlag = (elm) => {\n var _a;\n return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : \"hydrated\") ;\n};\n\n// src/runtime/set-value.ts\nvar getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);\nvar setValue = (ref, propName, newVal, cmpMeta) => {\n const hostRef = getHostRef(ref);\n if (!hostRef) {\n throw new Error(\n `Couldn't find host element for \"${cmpMeta.$tagName$}\" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`\n );\n }\n const elm = hostRef.$hostElement$ ;\n const oldVal = hostRef.$instanceValues$.get(propName);\n const flags = hostRef.$flags$;\n const instance = hostRef.$lazyInstance$ ;\n newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);\n const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);\n const didValueChange = newVal !== oldVal && !areBothNaN;\n if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {\n hostRef.$instanceValues$.set(propName, newVal);\n if (instance) {\n if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {\n const watchMethods = cmpMeta.$watchers$[propName];\n if (watchMethods) {\n watchMethods.map((watchMethodName) => {\n try {\n instance[watchMethodName](newVal, oldVal, propName);\n } catch (e) {\n consoleError(e, elm);\n }\n });\n }\n }\n if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {\n scheduleUpdate(hostRef, false);\n }\n }\n }\n};\n\n// src/runtime/proxy-component.ts\nvar proxyComponent = (Cstr, cmpMeta, flags) => {\n var _a, _b;\n const prototype = Cstr.prototype;\n if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {\n if (Cstr.watchers && !cmpMeta.$watchers$) {\n cmpMeta.$watchers$ = Cstr.watchers;\n }\n const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});\n members.map(([memberName, [memberFlags]]) => {\n if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {\n Object.defineProperty(prototype, memberName, {\n get() {\n return getValue(this, memberName);\n },\n set(newValue) {\n setValue(this, memberName, newValue, cmpMeta);\n },\n configurable: true,\n enumerable: true\n });\n } else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {\n Object.defineProperty(prototype, memberName, {\n value(...args) {\n var _a2;\n const ref = getHostRef(this);\n return (_a2 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a2.then(() => {\n var _a3;\n return (_a3 = ref.$lazyInstance$) == null ? void 0 : _a3[memberName](...args);\n });\n }\n });\n }\n });\n if ((flags & 1 /* isElementConstructor */)) {\n const attrNameToPropName = /* @__PURE__ */ new Map();\n prototype.attributeChangedCallback = function(attrName, oldValue, newValue) {\n plt.jmp(() => {\n var _a2;\n const propName = attrNameToPropName.get(attrName);\n if (this.hasOwnProperty(propName)) {\n newValue = this[propName];\n delete this[propName];\n } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === \"number\" && // cast type to number to avoid TS compiler issues\n this[propName] == newValue) {\n return;\n } else if (propName == null) {\n const hostRef = getHostRef(this);\n const flags2 = hostRef == null ? void 0 : hostRef.$flags$;\n if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {\n const instance = hostRef.$lazyInstance$ ;\n const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];\n entry == null ? void 0 : entry.forEach((callbackName) => {\n if (instance[callbackName] != null) {\n instance[callbackName].call(instance, newValue, oldValue, attrName);\n }\n });\n }\n return;\n }\n this[propName] = newValue === null && typeof this[propName] === \"boolean\" ? false : newValue;\n });\n };\n Cstr.observedAttributes = Array.from(\n /* @__PURE__ */ new Set([\n ...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),\n ...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {\n var _a2;\n const attrName = m[1] || propName;\n attrNameToPropName.set(attrName, propName);\n if (m[0] & 512 /* ReflectAttr */) {\n (_a2 = cmpMeta.$attrsToReflect$) == null ? void 0 : _a2.push([propName, attrName]);\n }\n return attrName;\n })\n ])\n );\n }\n }\n return Cstr;\n};\n\n// src/runtime/initialize-component.ts\nvar initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {\n let Cstr;\n if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {\n hostRef.$flags$ |= 32 /* hasInitializedComponent */;\n const bundleId = cmpMeta.$lazyBundleId$;\n if (bundleId) {\n const CstrImport = loadModule(cmpMeta);\n if (CstrImport && \"then\" in CstrImport) {\n const endLoad = uniqueTime();\n Cstr = await CstrImport;\n endLoad();\n } else {\n Cstr = CstrImport;\n }\n if (!Cstr) {\n throw new Error(`Constructor for \"${cmpMeta.$tagName$}#${hostRef.$modeName$}\" was not found`);\n }\n if (!Cstr.isProxied) {\n {\n cmpMeta.$watchers$ = Cstr.watchers;\n }\n proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);\n Cstr.isProxied = true;\n }\n const endNewInstance = createTime(\"createInstance\", cmpMeta.$tagName$);\n {\n hostRef.$flags$ |= 8 /* isConstructingInstance */;\n }\n try {\n new Cstr(hostRef);\n } catch (e) {\n consoleError(e);\n }\n {\n hostRef.$flags$ &= ~8 /* isConstructingInstance */;\n }\n {\n hostRef.$flags$ |= 128 /* isWatchReady */;\n }\n endNewInstance();\n fireConnectedCallback(hostRef.$lazyInstance$);\n } else {\n Cstr = elm.constructor;\n const cmpTag = elm.localName;\n customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);\n }\n if (Cstr && Cstr.style) {\n let style;\n if (typeof Cstr.style === \"string\") {\n style = Cstr.style;\n } else if (typeof Cstr.style !== \"string\") {\n hostRef.$modeName$ = computeMode(elm);\n if (hostRef.$modeName$) {\n style = Cstr.style[hostRef.$modeName$];\n }\n }\n const scopeId2 = getScopeId(cmpMeta, hostRef.$modeName$);\n if (!styles.has(scopeId2)) {\n const endRegisterStyles = createTime(\"registerStyles\", cmpMeta.$tagName$);\n registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));\n endRegisterStyles();\n }\n }\n }\n const ancestorComponent = hostRef.$ancestorComponent$;\n const schedule = () => scheduleUpdate(hostRef, true);\n if (ancestorComponent && ancestorComponent[\"s-rc\"]) {\n ancestorComponent[\"s-rc\"].push(schedule);\n } else {\n schedule();\n }\n};\nvar fireConnectedCallback = (instance) => {\n {\n safeCall(instance, \"connectedCallback\");\n }\n};\n\n// src/runtime/connected-callback.ts\nvar connectedCallback = (elm) => {\n if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {\n const hostRef = getHostRef(elm);\n const cmpMeta = hostRef.$cmpMeta$;\n const endConnected = createTime(\"connectedCallback\", cmpMeta.$tagName$);\n if (!(hostRef.$flags$ & 1 /* hasConnected */)) {\n hostRef.$flags$ |= 1 /* hasConnected */;\n let hostId;\n {\n hostId = elm.getAttribute(HYDRATE_ID);\n if (hostId) {\n if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {\n const scopeId2 = addStyle(elm.shadowRoot, cmpMeta, elm.getAttribute(\"s-mode\")) ;\n elm.classList.remove(scopeId2 + \"-h\", scopeId2 + \"-s\");\n }\n initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);\n }\n }\n if (!hostId) {\n if (// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field\n cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */)) {\n setContentReference(elm);\n }\n }\n {\n let ancestorComponent = elm;\n while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {\n if (ancestorComponent.nodeType === 1 /* ElementNode */ && ancestorComponent.hasAttribute(\"s-id\") && ancestorComponent[\"s-p\"] || ancestorComponent[\"s-p\"]) {\n attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);\n break;\n }\n }\n }\n if (cmpMeta.$members$) {\n Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {\n if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {\n const value = elm[memberName];\n delete elm[memberName];\n elm[memberName] = value;\n }\n });\n }\n {\n initializeComponent(elm, hostRef, cmpMeta);\n }\n } else {\n addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);\n if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {\n fireConnectedCallback(hostRef.$lazyInstance$);\n } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {\n hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));\n }\n }\n endConnected();\n }\n};\nvar setContentReference = (elm) => {\n const contentRefElm = elm[\"s-cr\"] = doc.createComment(\n \"\"\n );\n contentRefElm[\"s-cn\"] = true;\n insertBefore(elm, contentRefElm, elm.firstChild);\n};\nvar disconnectInstance = (instance) => {\n {\n safeCall(instance, \"disconnectedCallback\");\n }\n};\nvar disconnectedCallback = async (elm) => {\n if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {\n const hostRef = getHostRef(elm);\n {\n if (hostRef.$rmListeners$) {\n hostRef.$rmListeners$.map((rmListener) => rmListener());\n hostRef.$rmListeners$ = void 0;\n }\n }\n if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {\n disconnectInstance(hostRef.$lazyInstance$);\n } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {\n hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));\n }\n }\n};\nvar patchPseudoShadowDom = (hostElementPrototype, descriptorPrototype) => {\n patchCloneNode(hostElementPrototype);\n patchSlotAppendChild(hostElementPrototype);\n patchSlotAppend(hostElementPrototype);\n patchSlotPrepend(hostElementPrototype);\n patchSlotInsertAdjacentElement(hostElementPrototype);\n patchSlotInsertAdjacentHTML(hostElementPrototype);\n patchSlotInsertAdjacentText(hostElementPrototype);\n patchTextContent(hostElementPrototype);\n patchChildSlotNodes(hostElementPrototype, descriptorPrototype);\n patchSlotRemoveChild(hostElementPrototype);\n};\nvar patchCloneNode = (HostElementPrototype) => {\n const orgCloneNode = HostElementPrototype.cloneNode;\n HostElementPrototype.cloneNode = function(deep) {\n const srcNode = this;\n const isShadowDom = srcNode.shadowRoot && supportsShadow ;\n const clonedNode = orgCloneNode.call(srcNode, isShadowDom ? deep : false);\n if (!isShadowDom && deep) {\n let i2 = 0;\n let slotted, nonStencilNode;\n const stencilPrivates = [\n \"s-id\",\n \"s-cr\",\n \"s-lr\",\n \"s-rc\",\n \"s-sc\",\n \"s-p\",\n \"s-cn\",\n \"s-sr\",\n \"s-sn\",\n \"s-hn\",\n \"s-ol\",\n \"s-nr\",\n \"s-si\",\n \"s-rf\",\n \"s-scs\"\n ];\n for (; i2 < srcNode.childNodes.length; i2++) {\n slotted = srcNode.childNodes[i2][\"s-nr\"];\n nonStencilNode = stencilPrivates.every((privateField) => !srcNode.childNodes[i2][privateField]);\n if (slotted) {\n if (clonedNode.__appendChild) {\n clonedNode.__appendChild(slotted.cloneNode(true));\n } else {\n clonedNode.appendChild(slotted.cloneNode(true));\n }\n }\n if (nonStencilNode) {\n clonedNode.appendChild(srcNode.childNodes[i2].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nvar patchSlotAppendChild = (HostElementPrototype) => {\n HostElementPrototype.__appendChild = HostElementPrototype.appendChild;\n HostElementPrototype.appendChild = function(newChild) {\n const slotName = newChild[\"s-sn\"] = getSlotName(newChild);\n const slotNode = getHostSlotNode(this.childNodes, slotName, this.tagName);\n if (slotNode) {\n const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);\n const appendAfter = slotChildNodes[slotChildNodes.length - 1];\n const insertedNode = insertBefore(appendAfter.parentNode, newChild, appendAfter.nextSibling);\n updateFallbackSlotVisibility(this);\n return insertedNode;\n }\n return this.__appendChild(newChild);\n };\n};\nvar patchSlotRemoveChild = (ElementPrototype) => {\n ElementPrototype.__removeChild = ElementPrototype.removeChild;\n ElementPrototype.removeChild = function(toRemove) {\n if (toRemove && typeof toRemove[\"s-sn\"] !== \"undefined\") {\n const slotNode = getHostSlotNode(this.childNodes, toRemove[\"s-sn\"], this.tagName);\n if (slotNode) {\n const slotChildNodes = getHostSlotChildNodes(slotNode, toRemove[\"s-sn\"]);\n const existingNode = slotChildNodes.find((n) => n === toRemove);\n if (existingNode) {\n existingNode.remove();\n updateFallbackSlotVisibility(this);\n return;\n }\n }\n }\n return this.__removeChild(toRemove);\n };\n};\nvar patchSlotPrepend = (HostElementPrototype) => {\n const originalPrepend = HostElementPrototype.prepend;\n HostElementPrototype.prepend = function(...newChildren) {\n newChildren.forEach((newChild) => {\n if (typeof newChild === \"string\") {\n newChild = this.ownerDocument.createTextNode(newChild);\n }\n const slotName = newChild[\"s-sn\"] = getSlotName(newChild);\n const slotNode = getHostSlotNode(this.childNodes, slotName, this.tagName);\n if (slotNode) {\n const slotPlaceholder = document.createTextNode(\"\");\n slotPlaceholder[\"s-nr\"] = newChild;\n slotNode[\"s-cr\"].parentNode.__appendChild(slotPlaceholder);\n newChild[\"s-ol\"] = slotPlaceholder;\n const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);\n const appendAfter = slotChildNodes[0];\n return insertBefore(appendAfter.parentNode, newChild, appendAfter.nextSibling);\n }\n if (newChild.nodeType === 1 && !!newChild.getAttribute(\"slot\")) {\n newChild.hidden = true;\n }\n return originalPrepend.call(this, newChild);\n });\n };\n};\nvar patchSlotAppend = (HostElementPrototype) => {\n HostElementPrototype.append = function(...newChildren) {\n newChildren.forEach((newChild) => {\n if (typeof newChild === \"string\") {\n newChild = this.ownerDocument.createTextNode(newChild);\n }\n this.appendChild(newChild);\n });\n };\n};\nvar patchSlotInsertAdjacentHTML = (HostElementPrototype) => {\n const originalInsertAdjacentHtml = HostElementPrototype.insertAdjacentHTML;\n HostElementPrototype.insertAdjacentHTML = function(position, text) {\n if (position !== \"afterbegin\" && position !== \"beforeend\") {\n return originalInsertAdjacentHtml.call(this, position, text);\n }\n const container = this.ownerDocument.createElement(\"_\");\n let node;\n container.innerHTML = text;\n if (position === \"afterbegin\") {\n while (node = container.firstChild) {\n this.prepend(node);\n }\n } else if (position === \"beforeend\") {\n while (node = container.firstChild) {\n this.append(node);\n }\n }\n };\n};\nvar patchSlotInsertAdjacentText = (HostElementPrototype) => {\n HostElementPrototype.insertAdjacentText = function(position, text) {\n this.insertAdjacentHTML(position, text);\n };\n};\nvar patchSlotInsertAdjacentElement = (HostElementPrototype) => {\n const originalInsertAdjacentElement = HostElementPrototype.insertAdjacentElement;\n HostElementPrototype.insertAdjacentElement = function(position, element) {\n if (position !== \"afterbegin\" && position !== \"beforeend\") {\n return originalInsertAdjacentElement.call(this, position, element);\n }\n if (position === \"afterbegin\") {\n this.prepend(element);\n return element;\n } else if (position === \"beforeend\") {\n this.append(element);\n return element;\n }\n return element;\n };\n};\nvar patchTextContent = (hostElementPrototype) => {\n const descriptor = Object.getOwnPropertyDescriptor(Node.prototype, \"textContent\");\n Object.defineProperty(hostElementPrototype, \"__textContent\", descriptor);\n {\n Object.defineProperty(hostElementPrototype, \"textContent\", {\n // To mimic shadow root behavior, we need to return the text content of all\n // nodes in a slot reference node\n get() {\n const slotRefNodes = getAllChildSlotNodes(this.childNodes);\n const textContent = slotRefNodes.map((node) => {\n var _a, _b;\n const text = [];\n let slotContent = node.nextSibling;\n while (slotContent && slotContent[\"s-sn\"] === node[\"s-sn\"]) {\n if (slotContent.nodeType === 3 /* TEXT_NODE */ || slotContent.nodeType === 1 /* ELEMENT_NODE */) {\n text.push((_b = (_a = slotContent.textContent) == null ? void 0 : _a.trim()) != null ? _b : \"\");\n }\n slotContent = slotContent.nextSibling;\n }\n return text.filter((ref) => ref !== \"\").join(\" \");\n }).filter((text) => text !== \"\").join(\" \");\n return \" \" + textContent + \" \";\n },\n // To mimic shadow root behavior, we need to overwrite all nodes in a slot\n // reference node. If a default slot reference node exists, the text content will be\n // placed there. Otherwise, the new text node will be hidden\n set(value) {\n const slotRefNodes = getAllChildSlotNodes(this.childNodes);\n slotRefNodes.forEach((node) => {\n let slotContent = node.nextSibling;\n while (slotContent && slotContent[\"s-sn\"] === node[\"s-sn\"]) {\n const tmp = slotContent;\n slotContent = slotContent.nextSibling;\n tmp.remove();\n }\n if (node[\"s-sn\"] === \"\") {\n const textNode = this.ownerDocument.createTextNode(value);\n textNode[\"s-sn\"] = \"\";\n insertBefore(node.parentElement, textNode, node.nextSibling);\n } else {\n node.remove();\n }\n });\n }\n });\n }\n};\nvar patchChildSlotNodes = (elm, cmpMeta) => {\n class FakeNodeList extends Array {\n item(n) {\n return this[n];\n }\n }\n if (cmpMeta.$flags$ & 8 /* needsShadowDomShim */) {\n const childNodesFn = elm.__lookupGetter__(\"childNodes\");\n Object.defineProperty(elm, \"children\", {\n get() {\n return this.childNodes.map((n) => n.nodeType === 1);\n }\n });\n Object.defineProperty(elm, \"childElementCount\", {\n get() {\n return elm.children.length;\n }\n });\n Object.defineProperty(elm, \"childNodes\", {\n get() {\n const childNodes = childNodesFn.call(this);\n if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0 && getHostRef(this).$flags$ & 2 /* hasRendered */) {\n const result = new FakeNodeList();\n for (let i2 = 0; i2 < childNodes.length; i2++) {\n const slot = childNodes[i2][\"s-nr\"];\n if (slot) {\n result.push(slot);\n }\n }\n return result;\n }\n return FakeNodeList.from(childNodes);\n }\n });\n }\n};\nvar getAllChildSlotNodes = (childNodes) => {\n const slotRefNodes = [];\n for (const childNode of Array.from(childNodes)) {\n if (childNode[\"s-sr\"]) {\n slotRefNodes.push(childNode);\n }\n slotRefNodes.push(...getAllChildSlotNodes(childNode.childNodes));\n }\n return slotRefNodes;\n};\nvar getSlotName = (node) => node[\"s-sn\"] || node.nodeType === 1 && node.getAttribute(\"slot\") || \"\";\nvar getHostSlotNode = (childNodes, slotName, hostName) => {\n let i2 = 0;\n let childNode;\n for (; i2 < childNodes.length; i2++) {\n childNode = childNodes[i2];\n if (childNode[\"s-sr\"] && childNode[\"s-sn\"] === slotName && childNode[\"s-hn\"] === hostName) {\n return childNode;\n }\n childNode = getHostSlotNode(childNode.childNodes, slotName, hostName);\n if (childNode) {\n return childNode;\n }\n }\n return null;\n};\nvar getHostSlotChildNodes = (n, slotName) => {\n const childNodes = [n];\n while ((n = n.nextSibling) && n[\"s-sn\"] === slotName) {\n childNodes.push(n);\n }\n return childNodes;\n};\n\n// src/runtime/bootstrap-lazy.ts\nvar bootstrapLazy = (lazyBundles, options = {}) => {\n var _a;\n const endBootstrap = createTime();\n const cmpTags = [];\n const exclude = options.exclude || [];\n const customElements2 = win.customElements;\n const head = doc.head;\n const metaCharset = /* @__PURE__ */ head.querySelector(\"meta[charset]\");\n const dataStyles = /* @__PURE__ */ doc.createElement(\"style\");\n const deferredConnectedCallbacks = [];\n let appLoadFallback;\n let isBootstrapping = true;\n Object.assign(plt, options);\n plt.$resourcesUrl$ = new URL(options.resourcesUrl || \"./\", doc.baseURI).href;\n {\n plt.$flags$ |= 2 /* appLoaded */;\n }\n let hasSlotRelocation = false;\n lazyBundles.map((lazyBundle) => {\n lazyBundle[1].map((compactMeta) => {\n var _a2;\n const cmpMeta = {\n $flags$: compactMeta[0],\n $tagName$: compactMeta[1],\n $members$: compactMeta[2],\n $listeners$: compactMeta[3]\n };\n if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {\n hasSlotRelocation = true;\n }\n {\n cmpMeta.$members$ = compactMeta[2];\n }\n {\n cmpMeta.$listeners$ = compactMeta[3];\n }\n {\n cmpMeta.$attrsToReflect$ = [];\n }\n {\n cmpMeta.$watchers$ = (_a2 = compactMeta[4]) != null ? _a2 : {};\n }\n const tagName = cmpMeta.$tagName$;\n const HostElement = class extends HTMLElement {\n // StencilLazyHost\n constructor(self) {\n super(self);\n this.hasRegisteredEventListeners = false;\n self = this;\n registerHost(self, cmpMeta);\n if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {\n {\n if (!self.shadowRoot) {\n {\n self.attachShadow({\n mode: \"open\",\n delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */)\n });\n }\n } else {\n if (self.shadowRoot.mode !== \"open\") {\n throw new Error(\n `Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${self.shadowRoot.mode} but Stencil only supports open shadow roots.`\n );\n }\n }\n }\n }\n }\n connectedCallback() {\n const hostRef = getHostRef(this);\n if (!this.hasRegisteredEventListeners) {\n this.hasRegisteredEventListeners = true;\n addHostEventListeners(this, hostRef, cmpMeta.$listeners$);\n }\n if (appLoadFallback) {\n clearTimeout(appLoadFallback);\n appLoadFallback = null;\n }\n if (isBootstrapping) {\n deferredConnectedCallbacks.push(this);\n } else {\n plt.jmp(() => connectedCallback(this));\n }\n }\n disconnectedCallback() {\n plt.jmp(() => disconnectedCallback(this));\n }\n componentOnReady() {\n return getHostRef(this).$onReadyPromise$;\n }\n };\n {\n if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {\n patchPseudoShadowDom(HostElement.prototype, cmpMeta);\n }\n }\n cmpMeta.$lazyBundleId$ = lazyBundle[0];\n if (!exclude.includes(tagName) && !customElements2.get(tagName)) {\n cmpTags.push(tagName);\n customElements2.define(\n tagName,\n proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */)\n );\n }\n });\n });\n if (cmpTags.length > 0) {\n if (hasSlotRelocation) {\n dataStyles.textContent += SLOT_FB_CSS;\n }\n {\n dataStyles.textContent += cmpTags.sort() + HYDRATED_CSS;\n }\n if (dataStyles.innerHTML.length) {\n dataStyles.setAttribute(\"data-styles\", \"\");\n const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n dataStyles.setAttribute(\"nonce\", nonce);\n }\n head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);\n }\n }\n isBootstrapping = false;\n if (deferredConnectedCallbacks.length) {\n deferredConnectedCallbacks.map((host) => host.connectedCallback());\n } else {\n {\n plt.jmp(() => appLoadFallback = setTimeout(appDidLoad, 30));\n }\n }\n endBootstrap();\n};\nvar addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {\n if (listeners) {\n listeners.map(([flags, name, method]) => {\n const target = getHostListenerTarget(elm, flags) ;\n const handler = hostListenerProxy(hostRef, method);\n const opts = hostListenerOpts(flags);\n plt.ael(target, name, handler, opts);\n (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));\n });\n }\n};\nvar hostListenerProxy = (hostRef, methodName) => (ev) => {\n var _a;\n try {\n {\n if (hostRef.$flags$ & 256 /* isListenReady */) {\n (_a = hostRef.$lazyInstance$) == null ? void 0 : _a[methodName](ev);\n } else {\n (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);\n }\n }\n } catch (e) {\n consoleError(e);\n }\n};\nvar getHostListenerTarget = (elm, flags) => {\n if (flags & 4 /* TargetDocument */) return doc;\n if (flags & 8 /* TargetWindow */) return win;\n if (flags & 16 /* TargetBody */) return doc.body;\n return elm;\n};\nvar hostListenerOpts = (flags) => supportsListenerOptions ? {\n passive: (flags & 1 /* Passive */) !== 0,\n capture: (flags & 2 /* Capture */) !== 0\n} : (flags & 2 /* Capture */) !== 0;\n\n// src/runtime/nonce.ts\nvar setNonce = (nonce) => plt.$nonce$ = nonce;\n\nexport { Build as B, H, setPlatformHelpers as a, bootstrapLazy as b, setMode as c, createEvent as d, readTask as e, Host as f, getMode as g, h, getElement as i, forceUpdate as j, getAssetPath as k, promiseResolve as p, registerInstance as r, setNonce as s, writeTask as w };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { G as GESTURE_CONTROLLER } from './gesture-controller-314a54f6.js';\nexport { G as GESTURE_CONTROLLER } from './gesture-controller-314a54f6.js';\n\nconst addEventListener = (el, // TODO(FW-2832): type\neventName, callback, opts) => {\n // use event listener options when supported\n // otherwise it's just a boolean for the \"capture\" arg\n const listenerOpts = supportsPassive(el)\n ? {\n capture: !!opts.capture,\n passive: !!opts.passive,\n }\n : !!opts.capture;\n let add;\n let remove;\n if (el['__zone_symbol__addEventListener']) {\n add = '__zone_symbol__addEventListener';\n remove = '__zone_symbol__removeEventListener';\n }\n else {\n add = 'addEventListener';\n remove = 'removeEventListener';\n }\n el[add](eventName, callback, listenerOpts);\n return () => {\n el[remove](eventName, callback, listenerOpts);\n };\n};\nconst supportsPassive = (node) => {\n if (_sPassive === undefined) {\n try {\n const opts = Object.defineProperty({}, 'passive', {\n get: () => {\n _sPassive = true;\n },\n });\n node.addEventListener('optsTest', () => {\n return;\n }, opts);\n }\n catch (e) {\n _sPassive = false;\n }\n }\n return !!_sPassive;\n};\nlet _sPassive;\n\nconst MOUSE_WAIT = 2000;\n// TODO(FW-2832): types\nconst createPointerEvents = (el, pointerDown, pointerMove, pointerUp, options) => {\n let rmTouchStart;\n let rmTouchMove;\n let rmTouchEnd;\n let rmTouchCancel;\n let rmMouseStart;\n let rmMouseMove;\n let rmMouseUp;\n let lastTouchEvent = 0;\n const handleTouchStart = (ev) => {\n lastTouchEvent = Date.now() + MOUSE_WAIT;\n if (!pointerDown(ev)) {\n return;\n }\n if (!rmTouchMove && pointerMove) {\n rmTouchMove = addEventListener(el, 'touchmove', pointerMove, options);\n }\n /**\n * Events are dispatched on the element that is tapped and bubble up to\n * the reference element in the gesture. In the event that the element this\n * event was first dispatched on is removed from the DOM, the event will no\n * longer bubble up to our reference element. This leaves the gesture in an\n * unusable state. To account for this, the touchend and touchcancel listeners\n * should be added to the event target so that they still fire even if the target\n * is removed from the DOM.\n */\n if (!rmTouchEnd) {\n rmTouchEnd = addEventListener(ev.target, 'touchend', handleTouchEnd, options);\n }\n if (!rmTouchCancel) {\n rmTouchCancel = addEventListener(ev.target, 'touchcancel', handleTouchEnd, options);\n }\n };\n const handleMouseDown = (ev) => {\n if (lastTouchEvent > Date.now()) {\n return;\n }\n if (!pointerDown(ev)) {\n return;\n }\n if (!rmMouseMove && pointerMove) {\n rmMouseMove = addEventListener(getDocument(el), 'mousemove', pointerMove, options);\n }\n if (!rmMouseUp) {\n rmMouseUp = addEventListener(getDocument(el), 'mouseup', handleMouseUp, options);\n }\n };\n const handleTouchEnd = (ev) => {\n stopTouch();\n if (pointerUp) {\n pointerUp(ev);\n }\n };\n const handleMouseUp = (ev) => {\n stopMouse();\n if (pointerUp) {\n pointerUp(ev);\n }\n };\n const stopTouch = () => {\n if (rmTouchMove) {\n rmTouchMove();\n }\n if (rmTouchEnd) {\n rmTouchEnd();\n }\n if (rmTouchCancel) {\n rmTouchCancel();\n }\n rmTouchMove = rmTouchEnd = rmTouchCancel = undefined;\n };\n const stopMouse = () => {\n if (rmMouseMove) {\n rmMouseMove();\n }\n if (rmMouseUp) {\n rmMouseUp();\n }\n rmMouseMove = rmMouseUp = undefined;\n };\n const stop = () => {\n stopTouch();\n stopMouse();\n };\n const enable = (isEnabled = true) => {\n if (!isEnabled) {\n if (rmTouchStart) {\n rmTouchStart();\n }\n if (rmMouseStart) {\n rmMouseStart();\n }\n rmTouchStart = rmMouseStart = undefined;\n stop();\n }\n else {\n if (!rmTouchStart) {\n rmTouchStart = addEventListener(el, 'touchstart', handleTouchStart, options);\n }\n if (!rmMouseStart) {\n rmMouseStart = addEventListener(el, 'mousedown', handleMouseDown, options);\n }\n }\n };\n const destroy = () => {\n enable(false);\n pointerUp = pointerMove = pointerDown = undefined;\n };\n return {\n enable,\n stop,\n destroy,\n };\n};\nconst getDocument = (node) => {\n return node instanceof Document ? node : node.ownerDocument;\n};\n\nconst createPanRecognizer = (direction, thresh, maxAngle) => {\n const radians = maxAngle * (Math.PI / 180);\n const isDirX = direction === 'x';\n const maxCosine = Math.cos(radians);\n const threshold = thresh * thresh;\n let startX = 0;\n let startY = 0;\n let dirty = false;\n let isPan = 0;\n return {\n start(x, y) {\n startX = x;\n startY = y;\n isPan = 0;\n dirty = true;\n },\n detect(x, y) {\n if (!dirty) {\n return false;\n }\n const deltaX = x - startX;\n const deltaY = y - startY;\n const distance = deltaX * deltaX + deltaY * deltaY;\n if (distance < threshold) {\n return false;\n }\n const hypotenuse = Math.sqrt(distance);\n const cosine = (isDirX ? deltaX : deltaY) / hypotenuse;\n if (cosine > maxCosine) {\n isPan = 1;\n }\n else if (cosine < -maxCosine) {\n isPan = -1;\n }\n else {\n isPan = 0;\n }\n dirty = false;\n return true;\n },\n isGesture() {\n return isPan !== 0;\n },\n getDirection() {\n return isPan;\n },\n };\n};\n\n// TODO(FW-2832): types\nconst createGesture = (config) => {\n let hasCapturedPan = false;\n let hasStartedPan = false;\n let hasFiredStart = true;\n let isMoveQueued = false;\n const finalConfig = Object.assign({ disableScroll: false, direction: 'x', gesturePriority: 0, passive: true, maxAngle: 40, threshold: 10 }, config);\n const canStart = finalConfig.canStart;\n const onWillStart = finalConfig.onWillStart;\n const onStart = finalConfig.onStart;\n const onEnd = finalConfig.onEnd;\n const notCaptured = finalConfig.notCaptured;\n const onMove = finalConfig.onMove;\n const threshold = finalConfig.threshold;\n const passive = finalConfig.passive;\n const blurOnStart = finalConfig.blurOnStart;\n const detail = {\n type: 'pan',\n startX: 0,\n startY: 0,\n startTime: 0,\n currentX: 0,\n currentY: 0,\n velocityX: 0,\n velocityY: 0,\n deltaX: 0,\n deltaY: 0,\n currentTime: 0,\n event: undefined,\n data: undefined,\n };\n const pan = createPanRecognizer(finalConfig.direction, finalConfig.threshold, finalConfig.maxAngle);\n const gesture = GESTURE_CONTROLLER.createGesture({\n name: config.gestureName,\n priority: config.gesturePriority,\n disableScroll: config.disableScroll,\n });\n const pointerDown = (ev) => {\n const timeStamp = now(ev);\n if (hasStartedPan || !hasFiredStart) {\n return false;\n }\n updateDetail(ev, detail);\n detail.startX = detail.currentX;\n detail.startY = detail.currentY;\n detail.startTime = detail.currentTime = timeStamp;\n detail.velocityX = detail.velocityY = detail.deltaX = detail.deltaY = 0;\n detail.event = ev;\n // Check if gesture can start\n if (canStart && canStart(detail) === false) {\n return false;\n }\n // Release fallback\n gesture.release();\n // Start gesture\n if (!gesture.start()) {\n return false;\n }\n hasStartedPan = true;\n if (threshold === 0) {\n return tryToCapturePan();\n }\n pan.start(detail.startX, detail.startY);\n return true;\n };\n const pointerMove = (ev) => {\n // fast path, if gesture is currently captured\n // do minimum job to get user-land even dispatched\n if (hasCapturedPan) {\n if (!isMoveQueued && hasFiredStart) {\n isMoveQueued = true;\n calcGestureData(detail, ev);\n requestAnimationFrame(fireOnMove);\n }\n return;\n }\n // gesture is currently being detected\n calcGestureData(detail, ev);\n if (pan.detect(detail.currentX, detail.currentY)) {\n if (!pan.isGesture() || !tryToCapturePan()) {\n abortGesture();\n }\n }\n };\n const fireOnMove = () => {\n // Since fireOnMove is called inside a RAF, onEnd() might be called,\n // we must double check hasCapturedPan\n if (!hasCapturedPan) {\n return;\n }\n isMoveQueued = false;\n if (onMove) {\n onMove(detail);\n }\n };\n const tryToCapturePan = () => {\n if (!gesture.capture()) {\n return false;\n }\n hasCapturedPan = true;\n hasFiredStart = false;\n // reset start position since the real user-land event starts here\n // If the pan detector threshold is big, not resetting the start position\n // will cause a jump in the animation equal to the detector threshold.\n // the array of positions used to calculate the gesture velocity does not\n // need to be cleaned, more points in the positions array always results in a\n // more accurate value of the velocity.\n detail.startX = detail.currentX;\n detail.startY = detail.currentY;\n detail.startTime = detail.currentTime;\n if (onWillStart) {\n onWillStart(detail).then(fireOnStart);\n }\n else {\n fireOnStart();\n }\n return true;\n };\n const blurActiveElement = () => {\n if (typeof document !== 'undefined') {\n const activeElement = document.activeElement;\n if (activeElement === null || activeElement === void 0 ? void 0 : activeElement.blur) {\n activeElement.blur();\n }\n }\n };\n const fireOnStart = () => {\n if (blurOnStart) {\n blurActiveElement();\n }\n if (onStart) {\n onStart(detail);\n }\n hasFiredStart = true;\n };\n const reset = () => {\n hasCapturedPan = false;\n hasStartedPan = false;\n isMoveQueued = false;\n hasFiredStart = true;\n gesture.release();\n };\n // END *************************\n const pointerUp = (ev) => {\n const tmpHasCaptured = hasCapturedPan;\n const tmpHasFiredStart = hasFiredStart;\n reset();\n if (!tmpHasFiredStart) {\n return;\n }\n calcGestureData(detail, ev);\n // Try to capture press\n if (tmpHasCaptured) {\n if (onEnd) {\n onEnd(detail);\n }\n return;\n }\n // Not captured any event\n if (notCaptured) {\n notCaptured(detail);\n }\n };\n const pointerEvents = createPointerEvents(finalConfig.el, pointerDown, pointerMove, pointerUp, {\n capture: false,\n passive,\n });\n const abortGesture = () => {\n reset();\n pointerEvents.stop();\n if (notCaptured) {\n notCaptured(detail);\n }\n };\n return {\n enable(enable = true) {\n if (!enable) {\n if (hasCapturedPan) {\n pointerUp(undefined);\n }\n reset();\n }\n pointerEvents.enable(enable);\n },\n destroy() {\n gesture.destroy();\n pointerEvents.destroy();\n },\n };\n};\nconst calcGestureData = (detail, ev) => {\n if (!ev) {\n return;\n }\n const prevX = detail.currentX;\n const prevY = detail.currentY;\n const prevT = detail.currentTime;\n updateDetail(ev, detail);\n const currentX = detail.currentX;\n const currentY = detail.currentY;\n const timestamp = (detail.currentTime = now(ev));\n const timeDelta = timestamp - prevT;\n if (timeDelta > 0 && timeDelta < 100) {\n const velocityX = (currentX - prevX) / timeDelta;\n const velocityY = (currentY - prevY) / timeDelta;\n detail.velocityX = velocityX * 0.7 + detail.velocityX * 0.3;\n detail.velocityY = velocityY * 0.7 + detail.velocityY * 0.3;\n }\n detail.deltaX = currentX - detail.startX;\n detail.deltaY = currentY - detail.startY;\n detail.event = ev;\n};\nconst updateDetail = (ev, detail) => {\n // get X coordinates for either a mouse click\n // or a touch depending on the given event\n let x = 0;\n let y = 0;\n if (ev) {\n const changedTouches = ev.changedTouches;\n if (changedTouches && changedTouches.length > 0) {\n const touch = changedTouches[0];\n x = touch.clientX;\n y = touch.clientY;\n }\n else if (ev.pageX !== undefined) {\n x = ev.pageX;\n y = ev.pageY;\n }\n }\n detail.currentX = x;\n detail.currentY = y;\n};\nconst now = (ev) => {\n return ev.timeStamp || Date.now();\n};\n\nexport { createGesture };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { c as config } from './ionic-global-c81d82ab.js';\nimport { w as writeTask, B as Build } from './index-28849c61.js';\nimport { p as printIonWarning } from './index-9b0d46f4.js';\nimport { r as raf } from './helpers-da915de8.js';\n\nconst LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';\nconst LIFECYCLE_DID_ENTER = 'ionViewDidEnter';\nconst LIFECYCLE_WILL_LEAVE = 'ionViewWillLeave';\nconst LIFECYCLE_DID_LEAVE = 'ionViewDidLeave';\nconst LIFECYCLE_WILL_UNLOAD = 'ionViewWillUnload';\n\n/**\n * Moves focus to a specified element. Note that we do not remove the tabindex\n * because that can result in an unintentional blur. Non-focusables can't be\n * focused, so the body will get focused again.\n */\nconst moveFocus = (el) => {\n el.tabIndex = -1;\n el.focus();\n};\n/**\n * Elements that are hidden using `display: none` should not be focused even if\n * they are present in the DOM.\n */\nconst isVisible = (el) => {\n return el.offsetParent !== null;\n};\n/**\n * The focus controller allows us to manage focus within a view so assistive\n * technologies can inform users of changes to the navigation state. Traditional\n * native apps have a way of informing assistive technology about a navigation\n * state change. Mobile browsers have this too, but only when doing a full page\n * load. In a single page app we do not do that, so we need to build this\n * integration ourselves.\n */\nconst createFocusController = () => {\n const saveViewFocus = (referenceEl) => {\n const focusManagerEnabled = config.get('focusManagerPriority', false);\n /**\n * When going back to a previously visited page focus should typically be moved\n * back to the element that was last focused when the user was on this view.\n */\n if (focusManagerEnabled) {\n const activeEl = document.activeElement;\n if (activeEl !== null && (referenceEl === null || referenceEl === void 0 ? void 0 : referenceEl.contains(activeEl))) {\n activeEl.setAttribute(LAST_FOCUS, 'true');\n }\n }\n };\n const setViewFocus = (referenceEl) => {\n const focusManagerPriorities = config.get('focusManagerPriority', false);\n /**\n * If the focused element is a descendant of the referenceEl then it's possible\n * that the app developer manually moved focus, so we do not want to override that.\n * This can happen with inputs the are focused when a view transitions in.\n */\n if (Array.isArray(focusManagerPriorities) && !referenceEl.contains(document.activeElement)) {\n /**\n * When going back to a previously visited view focus should always be moved back\n * to the element that the user was last focused on when they were on this view.\n */\n const lastFocus = referenceEl.querySelector(`[${LAST_FOCUS}]`);\n if (lastFocus && isVisible(lastFocus)) {\n moveFocus(lastFocus);\n return;\n }\n for (const priority of focusManagerPriorities) {\n /**\n * For each recognized case (excluding the default case) make sure to return\n * so that the fallback focus behavior does not run.\n *\n * We intentionally query for specific roles/semantic elements so that the\n * transition manager can work with both Ionic and non-Ionic UI components.\n *\n * If new selectors are added, be sure to remove the outline ring by adding\n * new selectors to rule in core.scss.\n */\n switch (priority) {\n case 'content':\n const content = referenceEl.querySelector('main, [role=\"main\"]');\n if (content && isVisible(content)) {\n moveFocus(content);\n return;\n }\n break;\n case 'heading':\n const headingOne = referenceEl.querySelector('h1, [role=\"heading\"][aria-level=\"1\"]');\n if (headingOne && isVisible(headingOne)) {\n moveFocus(headingOne);\n return;\n }\n break;\n case 'banner':\n const header = referenceEl.querySelector('header, [role=\"banner\"]');\n if (header && isVisible(header)) {\n moveFocus(header);\n return;\n }\n break;\n default:\n printIonWarning(`Unrecognized focus manager priority value ${priority}`);\n break;\n }\n }\n /**\n * If there is nothing to focus then focus the page so focus at least moves to\n * the correct view. The browser will then determine where within the page to\n * move focus to.\n */\n moveFocus(referenceEl);\n }\n };\n return {\n saveViewFocus,\n setViewFocus,\n };\n};\nconst LAST_FOCUS = 'ion-last-focus';\n\nconst iosTransitionAnimation = () => import('./ios.transition-4ee1a3af.js');\nconst mdTransitionAnimation = () => import('./md.transition-5106a0d2.js');\nconst focusController = createFocusController();\n// TODO(FW-2832): types\nconst transition = (opts) => {\n return new Promise((resolve, reject) => {\n writeTask(() => {\n beforeTransition(opts);\n runTransition(opts).then((result) => {\n if (result.animation) {\n result.animation.destroy();\n }\n afterTransition(opts);\n resolve(result);\n }, (error) => {\n afterTransition(opts);\n reject(error);\n });\n });\n });\n};\nconst beforeTransition = (opts) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n focusController.saveViewFocus(leavingEl);\n setZIndex(enteringEl, leavingEl, opts.direction);\n if (opts.showGoBack) {\n enteringEl.classList.add('can-go-back');\n }\n else {\n enteringEl.classList.remove('can-go-back');\n }\n setPageHidden(enteringEl, false);\n /**\n * When transitioning, the page should not\n * respond to click events. This resolves small\n * issues like users double tapping the ion-back-button.\n * These pointer events are removed in `afterTransition`.\n */\n enteringEl.style.setProperty('pointer-events', 'none');\n if (leavingEl) {\n setPageHidden(leavingEl, false);\n leavingEl.style.setProperty('pointer-events', 'none');\n }\n};\nconst runTransition = async (opts) => {\n const animationBuilder = await getAnimationBuilder(opts);\n const ani = animationBuilder && Build.isBrowser ? animation(animationBuilder, opts) : noAnimation(opts); // fast path for no animation\n return ani;\n};\nconst afterTransition = (opts) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n enteringEl.classList.remove('ion-page-invisible');\n enteringEl.style.removeProperty('pointer-events');\n if (leavingEl !== undefined) {\n leavingEl.classList.remove('ion-page-invisible');\n leavingEl.style.removeProperty('pointer-events');\n }\n focusController.setViewFocus(enteringEl);\n};\nconst getAnimationBuilder = async (opts) => {\n if (!opts.leavingEl || !opts.animated || opts.duration === 0) {\n return undefined;\n }\n if (opts.animationBuilder) {\n return opts.animationBuilder;\n }\n const getAnimation = opts.mode === 'ios'\n ? (await iosTransitionAnimation()).iosTransitionAnimation\n : (await mdTransitionAnimation()).mdTransitionAnimation;\n return getAnimation;\n};\nconst animation = async (animationBuilder, opts) => {\n await waitForReady(opts, true);\n const trans = animationBuilder(opts.baseEl, opts);\n fireWillEvents(opts.enteringEl, opts.leavingEl);\n const didComplete = await playTransition(trans, opts);\n if (opts.progressCallback) {\n opts.progressCallback(undefined);\n }\n if (didComplete) {\n fireDidEvents(opts.enteringEl, opts.leavingEl);\n }\n return {\n hasCompleted: didComplete,\n animation: trans,\n };\n};\nconst noAnimation = async (opts) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n const focusManagerEnabled = config.get('focusManagerPriority', false);\n /**\n * If the focus manager is enabled then we need to wait for Ionic components to be\n * rendered otherwise the component to focus may not be focused because it is hidden.\n */\n await waitForReady(opts, focusManagerEnabled);\n fireWillEvents(enteringEl, leavingEl);\n fireDidEvents(enteringEl, leavingEl);\n return {\n hasCompleted: true,\n };\n};\nconst waitForReady = async (opts, defaultDeep) => {\n const deep = opts.deepWait !== undefined ? opts.deepWait : defaultDeep;\n if (deep) {\n await Promise.all([deepReady(opts.enteringEl), deepReady(opts.leavingEl)]);\n }\n await notifyViewReady(opts.viewIsReady, opts.enteringEl);\n};\nconst notifyViewReady = async (viewIsReady, enteringEl) => {\n if (viewIsReady) {\n await viewIsReady(enteringEl);\n }\n};\nconst playTransition = (trans, opts) => {\n const progressCallback = opts.progressCallback;\n const promise = new Promise((resolve) => {\n trans.onFinish((currentStep) => resolve(currentStep === 1));\n });\n // cool, let's do this, start the transition\n if (progressCallback) {\n // this is a swipe to go back, just get the transition progress ready\n // kick off the swipe animation start\n trans.progressStart(true);\n progressCallback(trans);\n }\n else {\n // only the top level transition should actually start \"play\"\n // kick it off and let it play through\n // ******** DOM WRITE ****************\n trans.play();\n }\n // create a callback for when the animation is done\n return promise;\n};\nconst fireWillEvents = (enteringEl, leavingEl) => {\n lifecycle(leavingEl, LIFECYCLE_WILL_LEAVE);\n lifecycle(enteringEl, LIFECYCLE_WILL_ENTER);\n};\nconst fireDidEvents = (enteringEl, leavingEl) => {\n lifecycle(enteringEl, LIFECYCLE_DID_ENTER);\n lifecycle(leavingEl, LIFECYCLE_DID_LEAVE);\n};\nconst lifecycle = (el, eventName) => {\n if (el) {\n const ev = new CustomEvent(eventName, {\n bubbles: false,\n cancelable: false,\n });\n el.dispatchEvent(ev);\n }\n};\n/**\n * Wait two request animation frame loops.\n * This allows the framework implementations enough time to mount\n * the user-defined contents. This is often needed when using inline\n * modals and popovers that accept user components. For popover,\n * the contents must be mounted for the popover to be sized correctly.\n * For modals, the contents must be mounted for iOS to run the\n * transition correctly.\n *\n * On Angular and React, a single raf is enough time, but for Vue\n * we need to wait two rafs. As a result we are using two rafs for\n * all frameworks to ensure contents are mounted.\n */\nconst waitForMount = () => {\n return new Promise((resolve) => raf(() => raf(() => resolve())));\n};\nconst deepReady = async (el) => {\n const element = el;\n if (element) {\n if (element.componentOnReady != null) {\n // eslint-disable-next-line custom-rules/no-component-on-ready-method\n const stencilEl = await element.componentOnReady();\n if (stencilEl != null) {\n return;\n }\n /**\n * Custom elements in Stencil will have __registerHost.\n */\n }\n else if (element.__registerHost != null) {\n /**\n * Non-lazy loaded custom elements need to wait\n * one frame for component to be loaded.\n */\n const waitForCustomElement = new Promise((resolve) => raf(resolve));\n await waitForCustomElement;\n return;\n }\n await Promise.all(Array.from(element.children).map(deepReady));\n }\n};\nconst setPageHidden = (el, hidden) => {\n if (hidden) {\n el.setAttribute('aria-hidden', 'true');\n el.classList.add('ion-page-hidden');\n }\n else {\n el.hidden = false;\n el.removeAttribute('aria-hidden');\n el.classList.remove('ion-page-hidden');\n }\n};\nconst setZIndex = (enteringEl, leavingEl, direction) => {\n if (enteringEl !== undefined) {\n enteringEl.style.zIndex = direction === 'back' ? '99' : '101';\n }\n if (leavingEl !== undefined) {\n leavingEl.style.zIndex = '100';\n }\n};\nconst getIonPageElement = (element) => {\n if (element.classList.contains('ion-page')) {\n return element;\n }\n const ionPage = element.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs');\n if (ionPage) {\n return ionPage;\n }\n // idk, return the original element so at least something animates and we don't have a null pointer\n return element;\n};\n\nexport { LIFECYCLE_WILL_ENTER as L, LIFECYCLE_DID_ENTER as a, LIFECYCLE_WILL_LEAVE as b, LIFECYCLE_DID_LEAVE as c, LIFECYCLE_WILL_UNLOAD as d, deepReady as e, getIonPageElement as g, lifecycle as l, setPageHidden as s, transition as t, waitForMount as w };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\n/**\n * Logs a warning to the console with an Ionic prefix\n * to indicate the library that is warning the developer.\n *\n * @param message - The string message to be logged to the console.\n */\nconst printIonWarning = (message, ...params) => {\n return console.warn(`[Ionic Warning]: ${message}`, ...params);\n};\n/*\n * Logs an error to the console with an Ionic prefix\n * to indicate the library that is warning the developer.\n *\n * @param message - The string message to be logged to the console.\n * @param params - Additional arguments to supply to the console.error.\n */\nconst printIonError = (message, ...params) => {\n return console.error(`[Ionic Error]: ${message}`, ...params);\n};\n/**\n * Prints an error informing developers that an implementation requires an element to be used\n * within a specific selector.\n *\n * @param el The web component element this is requiring the element.\n * @param targetSelectors The selector or selectors that were not found.\n */\nconst printRequiredElementError = (el, ...targetSelectors) => {\n return console.error(`<${el.tagName.toLowerCase()}> must be used inside ${targetSelectors.join(' or ')}.`);\n};\n\nexport { printIonError as a, printRequiredElementError as b, printIonWarning as p };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nconst win = typeof window !== 'undefined' ? window : undefined;\nconst doc = typeof document !== 'undefined' ? document : undefined;\n\nexport { doc as d, win as w };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { a as setPlatformHelpers, g as getMode, c as setMode } from './index-28849c61.js';\n\n// TODO(FW-2832): types\nclass Config {\n constructor() {\n this.m = new Map();\n }\n reset(configObj) {\n this.m = new Map(Object.entries(configObj));\n }\n get(key, fallback) {\n const value = this.m.get(key);\n return value !== undefined ? value : fallback;\n }\n getBoolean(key, fallback = false) {\n const val = this.m.get(key);\n if (val === undefined) {\n return fallback;\n }\n if (typeof val === 'string') {\n return val === 'true';\n }\n return !!val;\n }\n getNumber(key, fallback) {\n const val = parseFloat(this.m.get(key));\n return isNaN(val) ? (fallback !== undefined ? fallback : NaN) : val;\n }\n set(key, value) {\n this.m.set(key, value);\n }\n}\nconst config = /*@__PURE__*/ new Config();\nconst configFromSession = (win) => {\n try {\n const configStr = win.sessionStorage.getItem(IONIC_SESSION_KEY);\n return configStr !== null ? JSON.parse(configStr) : {};\n }\n catch (e) {\n return {};\n }\n};\nconst saveConfig = (win, c) => {\n try {\n win.sessionStorage.setItem(IONIC_SESSION_KEY, JSON.stringify(c));\n }\n catch (e) {\n return;\n }\n};\nconst configFromURL = (win) => {\n const configObj = {};\n win.location.search\n .slice(1)\n .split('&')\n .map((entry) => entry.split('='))\n .map(([key, value]) => {\n try {\n return [decodeURIComponent(key), decodeURIComponent(value)];\n }\n catch (e) {\n return ['', ''];\n }\n })\n .filter(([key]) => startsWith(key, IONIC_PREFIX))\n .map(([key, value]) => [key.slice(IONIC_PREFIX.length), value])\n .forEach(([key, value]) => {\n configObj[key] = value;\n });\n return configObj;\n};\nconst startsWith = (input, search) => {\n return input.substr(0, search.length) === search;\n};\nconst IONIC_PREFIX = 'ionic:';\nconst IONIC_SESSION_KEY = 'ionic-persist-config';\n\nconst getPlatforms = (win) => setupPlatforms(win);\nconst isPlatform = (winOrPlatform, platform) => {\n if (typeof winOrPlatform === 'string') {\n platform = winOrPlatform;\n winOrPlatform = undefined;\n }\n return getPlatforms(winOrPlatform).includes(platform);\n};\nconst setupPlatforms = (win = window) => {\n if (typeof win === 'undefined') {\n return [];\n }\n win.Ionic = win.Ionic || {};\n let platforms = win.Ionic.platforms;\n if (platforms == null) {\n platforms = win.Ionic.platforms = detectPlatforms(win);\n platforms.forEach((p) => win.document.documentElement.classList.add(`plt-${p}`));\n }\n return platforms;\n};\nconst detectPlatforms = (win) => {\n const customPlatformMethods = config.get('platform');\n return Object.keys(PLATFORMS_MAP).filter((p) => {\n const customMethod = customPlatformMethods === null || customPlatformMethods === void 0 ? void 0 : customPlatformMethods[p];\n return typeof customMethod === 'function' ? customMethod(win) : PLATFORMS_MAP[p](win);\n });\n};\nconst isMobileWeb = (win) => isMobile(win) && !isHybrid(win);\nconst isIpad = (win) => {\n // iOS 12 and below\n if (testUserAgent(win, /iPad/i)) {\n return true;\n }\n // iOS 13+\n if (testUserAgent(win, /Macintosh/i) && isMobile(win)) {\n return true;\n }\n return false;\n};\nconst isIphone = (win) => testUserAgent(win, /iPhone/i);\nconst isIOS = (win) => testUserAgent(win, /iPhone|iPod/i) || isIpad(win);\nconst isAndroid = (win) => testUserAgent(win, /android|sink/i);\nconst isAndroidTablet = (win) => {\n return isAndroid(win) && !testUserAgent(win, /mobile/i);\n};\nconst isPhablet = (win) => {\n const width = win.innerWidth;\n const height = win.innerHeight;\n const smallest = Math.min(width, height);\n const largest = Math.max(width, height);\n return smallest > 390 && smallest < 520 && largest > 620 && largest < 800;\n};\nconst isTablet = (win) => {\n const width = win.innerWidth;\n const height = win.innerHeight;\n const smallest = Math.min(width, height);\n const largest = Math.max(width, height);\n return isIpad(win) || isAndroidTablet(win) || (smallest > 460 && smallest < 820 && largest > 780 && largest < 1400);\n};\nconst isMobile = (win) => matchMedia(win, '(any-pointer:coarse)');\nconst isDesktop = (win) => !isMobile(win);\nconst isHybrid = (win) => isCordova(win) || isCapacitorNative(win);\nconst isCordova = (win) => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);\nconst isCapacitorNative = (win) => {\n const capacitor = win['Capacitor'];\n return !!(capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNative);\n};\nconst isElectron = (win) => testUserAgent(win, /electron/i);\nconst isPWA = (win) => { var _a; return !!(((_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, '(display-mode: standalone)').matches) || win.navigator.standalone); };\nconst testUserAgent = (win, expr) => expr.test(win.navigator.userAgent);\nconst matchMedia = (win, query) => { var _a; return (_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, query).matches; };\nconst PLATFORMS_MAP = {\n ipad: isIpad,\n iphone: isIphone,\n ios: isIOS,\n android: isAndroid,\n phablet: isPhablet,\n tablet: isTablet,\n cordova: isCordova,\n capacitor: isCapacitorNative,\n electron: isElectron,\n pwa: isPWA,\n mobile: isMobile,\n mobileweb: isMobileWeb,\n desktop: isDesktop,\n hybrid: isHybrid,\n};\n\n// TODO(FW-2832): types\nlet defaultMode;\nconst getIonMode = (ref) => {\n return (ref && getMode(ref)) || defaultMode;\n};\nconst initialize = (userConfig = {}) => {\n if (typeof window === 'undefined') {\n return;\n }\n const doc = window.document;\n const win = window;\n const Ionic = (win.Ionic = win.Ionic || {});\n const platformHelpers = {};\n if (userConfig._ael) {\n platformHelpers.ael = userConfig._ael;\n }\n if (userConfig._rel) {\n platformHelpers.rel = userConfig._rel;\n }\n if (userConfig._ce) {\n platformHelpers.ce = userConfig._ce;\n }\n setPlatformHelpers(platformHelpers);\n // create the Ionic.config from raw config object (if it exists)\n // and convert Ionic.config into a ConfigApi that has a get() fn\n const configObj = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, configFromSession(win)), { persistConfig: false }), Ionic.config), configFromURL(win)), userConfig);\n config.reset(configObj);\n if (config.getBoolean('persistConfig')) {\n saveConfig(win, configObj);\n }\n // Setup platforms\n setupPlatforms(win);\n // first see if the mode was set as an attribute on \n // which could have been set by the user, or by pre-rendering\n // otherwise get the mode via config settings, and fallback to md\n Ionic.config = config;\n Ionic.mode = defaultMode = config.get('mode', doc.documentElement.getAttribute('mode') || (isPlatform(win, 'ios') ? 'ios' : 'md'));\n config.set('mode', defaultMode);\n doc.documentElement.setAttribute('mode', defaultMode);\n doc.documentElement.classList.add(defaultMode);\n if (config.getBoolean('_testing')) {\n config.set('animated', false);\n }\n const isIonicElement = (elm) => { var _a; return (_a = elm.tagName) === null || _a === void 0 ? void 0 : _a.startsWith('ION-'); };\n const isAllowedIonicModeValue = (elmMode) => ['ios', 'md'].includes(elmMode);\n setMode((elm) => {\n while (elm) {\n const elmMode = elm.mode || elm.getAttribute('mode');\n if (elmMode) {\n if (isAllowedIonicModeValue(elmMode)) {\n return elmMode;\n }\n else if (isIonicElement(elm)) {\n console.warn('Invalid ionic mode: \"' + elmMode + '\", expected: \"ios\" or \"md\"');\n }\n }\n elm = elm.parentElement;\n }\n return defaultMode;\n });\n};\n\nexport { isPlatform as a, getIonMode as b, config as c, getPlatforms as g, initialize as i };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { c as createAnimation } from './animation-eab5a4ca.js';\nimport { g as getIonPageElement } from './index-3ad7f18b.js';\nimport './index-a5d50daf.js';\nimport './ionic-global-c81d82ab.js';\nimport './index-28849c61.js';\nimport './index-9b0d46f4.js';\nimport './helpers-da915de8.js';\n\nconst DURATION = 540;\n// TODO(FW-2832): types\nconst getClonedElement = (tagName) => {\n return document.querySelector(`${tagName}.ion-cloned-element`);\n};\nconst shadow = (el) => {\n return el.shadowRoot || el;\n};\nconst getLargeTitle = (refEl) => {\n const tabs = refEl.tagName === 'ION-TABS' ? refEl : refEl.querySelector('ion-tabs');\n const query = 'ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large';\n if (tabs != null) {\n const activeTab = tabs.querySelector('ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)');\n return activeTab != null ? activeTab.querySelector(query) : null;\n }\n return refEl.querySelector(query);\n};\nconst getBackButton = (refEl, backDirection) => {\n const tabs = refEl.tagName === 'ION-TABS' ? refEl : refEl.querySelector('ion-tabs');\n let buttonsList = [];\n if (tabs != null) {\n const activeTab = tabs.querySelector('ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)');\n if (activeTab != null) {\n buttonsList = activeTab.querySelectorAll('ion-buttons');\n }\n }\n else {\n buttonsList = refEl.querySelectorAll('ion-buttons');\n }\n for (const buttons of buttonsList) {\n const parentHeader = buttons.closest('ion-header');\n const activeHeader = parentHeader && !parentHeader.classList.contains('header-collapse-condense-inactive');\n const backButton = buttons.querySelector('ion-back-button');\n const buttonsCollapse = buttons.classList.contains('buttons-collapse');\n const startSlot = buttons.slot === 'start' || buttons.slot === '';\n if (backButton !== null && startSlot && ((buttonsCollapse && activeHeader && backDirection) || !buttonsCollapse)) {\n return backButton;\n }\n }\n return null;\n};\nconst createLargeTitleTransition = (rootAnimation, rtl, backDirection, enteringEl, leavingEl) => {\n const enteringBackButton = getBackButton(enteringEl, backDirection);\n const leavingLargeTitle = getLargeTitle(leavingEl);\n const enteringLargeTitle = getLargeTitle(enteringEl);\n const leavingBackButton = getBackButton(leavingEl, backDirection);\n const shouldAnimationForward = enteringBackButton !== null && leavingLargeTitle !== null && !backDirection;\n const shouldAnimationBackward = enteringLargeTitle !== null && leavingBackButton !== null && backDirection;\n if (shouldAnimationForward) {\n const leavingLargeTitleBox = leavingLargeTitle.getBoundingClientRect();\n const enteringBackButtonBox = enteringBackButton.getBoundingClientRect();\n const enteringBackButtonTextEl = shadow(enteringBackButton).querySelector('.button-text');\n // Text element not rendered if developers pass text=\"\" to the back button\n const enteringBackButtonTextBox = enteringBackButtonTextEl === null || enteringBackButtonTextEl === void 0 ? void 0 : enteringBackButtonTextEl.getBoundingClientRect();\n const leavingLargeTitleTextEl = shadow(leavingLargeTitle).querySelector('.toolbar-title');\n const leavingLargeTitleTextBox = leavingLargeTitleTextEl.getBoundingClientRect();\n animateLargeTitle(rootAnimation, rtl, backDirection, leavingLargeTitle, leavingLargeTitleBox, leavingLargeTitleTextBox, enteringBackButtonBox, enteringBackButtonTextEl, enteringBackButtonTextBox);\n animateBackButton(rootAnimation, rtl, backDirection, enteringBackButton, enteringBackButtonBox, enteringBackButtonTextEl, enteringBackButtonTextBox, leavingLargeTitle, leavingLargeTitleTextBox);\n }\n else if (shouldAnimationBackward) {\n const enteringLargeTitleBox = enteringLargeTitle.getBoundingClientRect();\n const leavingBackButtonBox = leavingBackButton.getBoundingClientRect();\n const leavingBackButtonTextEl = shadow(leavingBackButton).querySelector('.button-text');\n // Text element not rendered if developers pass text=\"\" to the back button\n const leavingBackButtonTextBox = leavingBackButtonTextEl === null || leavingBackButtonTextEl === void 0 ? void 0 : leavingBackButtonTextEl.getBoundingClientRect();\n const enteringLargeTitleTextEl = shadow(enteringLargeTitle).querySelector('.toolbar-title');\n const enteringLargeTitleTextBox = enteringLargeTitleTextEl.getBoundingClientRect();\n animateLargeTitle(rootAnimation, rtl, backDirection, enteringLargeTitle, enteringLargeTitleBox, enteringLargeTitleTextBox, leavingBackButtonBox, leavingBackButtonTextEl, leavingBackButtonTextBox);\n animateBackButton(rootAnimation, rtl, backDirection, leavingBackButton, leavingBackButtonBox, leavingBackButtonTextEl, leavingBackButtonTextBox, enteringLargeTitle, enteringLargeTitleTextBox);\n }\n return {\n forward: shouldAnimationForward,\n backward: shouldAnimationBackward,\n };\n};\nconst animateBackButton = (rootAnimation, rtl, backDirection, backButtonEl, backButtonBox, backButtonTextEl, backButtonTextBox, largeTitleEl, largeTitleTextBox) => {\n var _a, _b;\n const BACK_BUTTON_START_OFFSET = rtl ? `calc(100% - ${backButtonBox.right + 4}px)` : `${backButtonBox.left - 4}px`;\n const TEXT_ORIGIN_X = rtl ? 'right' : 'left';\n const ICON_ORIGIN_X = rtl ? 'left' : 'right';\n const CONTAINER_ORIGIN_X = rtl ? 'right' : 'left';\n let WIDTH_SCALE = 1;\n let HEIGHT_SCALE = 1;\n let TEXT_START_SCALE = `scale(${HEIGHT_SCALE})`;\n const TEXT_END_SCALE = 'scale(1)';\n if (backButtonTextEl && backButtonTextBox) {\n /**\n * When the title and back button texts match then they should overlap during the\n * page transition. If the texts do not match up then the back button text scale\n * adjusts to not perfectly match the large title text otherwise the proportions\n * will be incorrect. When the texts match we scale both the width and height to\n * account for font weight differences between the title and back button.\n */\n const doTitleAndButtonTextsMatch = ((_a = backButtonTextEl.textContent) === null || _a === void 0 ? void 0 : _a.trim()) === ((_b = largeTitleEl.textContent) === null || _b === void 0 ? void 0 : _b.trim());\n WIDTH_SCALE = largeTitleTextBox.width / backButtonTextBox.width;\n /**\n * Subtract an offset to account for slight sizing/padding differences between the\n * title and the back button.\n */\n HEIGHT_SCALE = (largeTitleTextBox.height - LARGE_TITLE_SIZE_OFFSET) / backButtonTextBox.height;\n /**\n * Even though we set TEXT_START_SCALE to HEIGHT_SCALE above, we potentially need\n * to re-compute this here since the HEIGHT_SCALE may have changed.\n */\n TEXT_START_SCALE = doTitleAndButtonTextsMatch ? `scale(${WIDTH_SCALE}, ${HEIGHT_SCALE})` : `scale(${HEIGHT_SCALE})`;\n }\n const backButtonIconEl = shadow(backButtonEl).querySelector('ion-icon');\n const backButtonIconBox = backButtonIconEl.getBoundingClientRect();\n /**\n * We need to offset the container by the icon dimensions\n * so that the back button text aligns with the large title\n * text. Otherwise, the back button icon will align with the\n * large title text but the back button text will not.\n */\n const CONTAINER_START_TRANSLATE_X = rtl\n ? `${backButtonIconBox.width / 2 - (backButtonIconBox.right - backButtonBox.right)}px`\n : `${backButtonBox.left - backButtonIconBox.width / 2}px`;\n const CONTAINER_END_TRANSLATE_X = rtl ? `-${window.innerWidth - backButtonBox.right}px` : `${backButtonBox.left}px`;\n /**\n * Back button container should be\n * aligned to the top of the title container\n * so the texts overlap as the back button\n * text begins to fade in.\n */\n const CONTAINER_START_TRANSLATE_Y = `${largeTitleTextBox.top}px`;\n /**\n * The cloned back button should align exactly with the\n * real back button on the entering page otherwise there will\n * be a layout shift.\n */\n const CONTAINER_END_TRANSLATE_Y = `${backButtonBox.top}px`;\n /**\n * In the forward direction, the cloned back button\n * container should translate from over the large title\n * to over the back button. In the backward direction,\n * it should translate from over the back button to over\n * the large title.\n */\n const FORWARD_CONTAINER_KEYFRAMES = [\n { offset: 0, transform: `translate3d(${CONTAINER_START_TRANSLATE_X}, ${CONTAINER_START_TRANSLATE_Y}, 0)` },\n { offset: 1, transform: `translate3d(${CONTAINER_END_TRANSLATE_X}, ${CONTAINER_END_TRANSLATE_Y}, 0)` },\n ];\n const BACKWARD_CONTAINER_KEYFRAMES = [\n { offset: 0, transform: `translate3d(${CONTAINER_END_TRANSLATE_X}, ${CONTAINER_END_TRANSLATE_Y}, 0)` },\n { offset: 1, transform: `translate3d(${CONTAINER_START_TRANSLATE_X}, ${CONTAINER_START_TRANSLATE_Y}, 0)` },\n ];\n const CONTAINER_KEYFRAMES = backDirection ? BACKWARD_CONTAINER_KEYFRAMES : FORWARD_CONTAINER_KEYFRAMES;\n /**\n * In the forward direction, the text in the cloned back button\n * should start to be (roughly) the size of the large title\n * and then scale down to be the size of the actual back button.\n * The text should also translate, but that translate is handled\n * by the container keyframes.\n */\n const FORWARD_TEXT_KEYFRAMES = [\n { offset: 0, opacity: 0, transform: TEXT_START_SCALE },\n { offset: 1, opacity: 1, transform: TEXT_END_SCALE },\n ];\n const BACKWARD_TEXT_KEYFRAMES = [\n { offset: 0, opacity: 1, transform: TEXT_END_SCALE },\n { offset: 1, opacity: 0, transform: TEXT_START_SCALE },\n ];\n const TEXT_KEYFRAMES = backDirection ? BACKWARD_TEXT_KEYFRAMES : FORWARD_TEXT_KEYFRAMES;\n /**\n * The icon should scale in/out in the second\n * half of the animation. The icon should also\n * translate, but that translate is handled by the\n * container keyframes.\n */\n const FORWARD_ICON_KEYFRAMES = [\n { offset: 0, opacity: 0, transform: 'scale(0.6)' },\n { offset: 0.6, opacity: 0, transform: 'scale(0.6)' },\n { offset: 1, opacity: 1, transform: 'scale(1)' },\n ];\n const BACKWARD_ICON_KEYFRAMES = [\n { offset: 0, opacity: 1, transform: 'scale(1)' },\n { offset: 0.2, opacity: 0, transform: 'scale(0.6)' },\n { offset: 1, opacity: 0, transform: 'scale(0.6)' },\n ];\n const ICON_KEYFRAMES = backDirection ? BACKWARD_ICON_KEYFRAMES : FORWARD_ICON_KEYFRAMES;\n const enteringBackButtonTextAnimation = createAnimation();\n const enteringBackButtonIconAnimation = createAnimation();\n const enteringBackButtonAnimation = createAnimation();\n const clonedBackButtonEl = getClonedElement('ion-back-button');\n const clonedBackButtonTextEl = shadow(clonedBackButtonEl).querySelector('.button-text');\n const clonedBackButtonIconEl = shadow(clonedBackButtonEl).querySelector('ion-icon');\n clonedBackButtonEl.text = backButtonEl.text;\n clonedBackButtonEl.mode = backButtonEl.mode;\n clonedBackButtonEl.icon = backButtonEl.icon;\n clonedBackButtonEl.color = backButtonEl.color;\n clonedBackButtonEl.disabled = backButtonEl.disabled;\n clonedBackButtonEl.style.setProperty('display', 'block');\n clonedBackButtonEl.style.setProperty('position', 'fixed');\n enteringBackButtonIconAnimation.addElement(clonedBackButtonIconEl);\n enteringBackButtonTextAnimation.addElement(clonedBackButtonTextEl);\n enteringBackButtonAnimation.addElement(clonedBackButtonEl);\n enteringBackButtonAnimation\n .beforeStyles({\n position: 'absolute',\n top: '0px',\n [CONTAINER_ORIGIN_X]: '0px',\n })\n /**\n * The write hooks must be set on this animation as it is guaranteed to run. Other\n * animations such as the back button text animation will not run if the back button\n * has no visible text.\n */\n .beforeAddWrite(() => {\n backButtonEl.style.setProperty('display', 'none');\n clonedBackButtonEl.style.setProperty(TEXT_ORIGIN_X, BACK_BUTTON_START_OFFSET);\n })\n .afterAddWrite(() => {\n backButtonEl.style.setProperty('display', '');\n clonedBackButtonEl.style.setProperty('display', 'none');\n clonedBackButtonEl.style.removeProperty(TEXT_ORIGIN_X);\n })\n .keyframes(CONTAINER_KEYFRAMES);\n enteringBackButtonTextAnimation\n .beforeStyles({\n 'transform-origin': `${TEXT_ORIGIN_X} top`,\n })\n .keyframes(TEXT_KEYFRAMES);\n enteringBackButtonIconAnimation\n .beforeStyles({\n 'transform-origin': `${ICON_ORIGIN_X} center`,\n })\n .keyframes(ICON_KEYFRAMES);\n rootAnimation.addAnimation([\n enteringBackButtonTextAnimation,\n enteringBackButtonIconAnimation,\n enteringBackButtonAnimation,\n ]);\n};\nconst animateLargeTitle = (rootAnimation, rtl, backDirection, largeTitleEl, largeTitleBox, largeTitleTextBox, backButtonBox, backButtonTextEl, backButtonTextBox) => {\n var _a, _b;\n /**\n * The horizontal transform origin for the large title\n */\n const ORIGIN_X = rtl ? 'right' : 'left';\n const TITLE_START_OFFSET = rtl ? `calc(100% - ${largeTitleBox.right}px)` : `${largeTitleBox.left}px`;\n /**\n * The cloned large should align exactly with the\n * real large title on the leaving page otherwise there will\n * be a layout shift.\n */\n const START_TRANSLATE_X = '0px';\n const START_TRANSLATE_Y = `${largeTitleBox.top}px`;\n /**\n * How much to offset the large title translation by.\n * This accounts for differences in sizing between the large\n * title and the back button due to padding and font weight.\n */\n const LARGE_TITLE_TRANSLATION_OFFSET = 8;\n let END_TRANSLATE_X = rtl\n ? `-${window.innerWidth - backButtonBox.right - LARGE_TITLE_TRANSLATION_OFFSET}px`\n : `${backButtonBox.x + LARGE_TITLE_TRANSLATION_OFFSET}px`;\n /**\n * How much to scale the large title up/down by.\n */\n let HEIGHT_SCALE = 0.5;\n /**\n * The large title always starts full size.\n */\n const START_SCALE = 'scale(1)';\n /**\n * By default, we don't worry about having the large title scaled to perfectly\n * match the back button because we don't know if the back button's text matches\n * the large title's text.\n */\n let END_SCALE = `scale(${HEIGHT_SCALE})`;\n // Text element not rendered if developers pass text=\"\" to the back button\n if (backButtonTextEl && backButtonTextBox) {\n /**\n * The scaled title should (roughly) overlap the back button. This ensures that\n * the back button and title overlap during the animation. Note that since both\n * elements either fade in or fade out over the course of the animation, neither\n * element will be fully visible on top of the other. As a result, the overlap\n * does not need to be perfect, so approximate values are acceptable here.\n */\n END_TRANSLATE_X = rtl\n ? `-${window.innerWidth - backButtonTextBox.right - LARGE_TITLE_TRANSLATION_OFFSET}px`\n : `${backButtonTextBox.x - LARGE_TITLE_TRANSLATION_OFFSET}px`;\n /**\n * In the forward direction, the large title should start at its normal size and\n * then scale down to be (roughly) the size of the back button on the other view.\n * In the backward direction, the large title should start at (roughly) the size\n * of the back button and then scale up to its original size.\n * Note that since both elements either fade in or fade out over the course of the\n * animation, neither element will be fully visible on top of the other. As a result,\n * the overlap does not need to be perfect, so approximate values are acceptable here.\n */\n /**\n * When the title and back button texts match then they should overlap during the\n * page transition. If the texts do not match up then the large title text scale\n * adjusts to not perfectly match the back button text otherwise the proportions\n * will be incorrect. When the texts match we scale both the width and height to\n * account for font weight differences between the title and back button.\n */\n const doTitleAndButtonTextsMatch = ((_a = backButtonTextEl.textContent) === null || _a === void 0 ? void 0 : _a.trim()) === ((_b = largeTitleEl.textContent) === null || _b === void 0 ? void 0 : _b.trim());\n const WIDTH_SCALE = backButtonTextBox.width / largeTitleTextBox.width;\n HEIGHT_SCALE = backButtonTextBox.height / (largeTitleTextBox.height - LARGE_TITLE_SIZE_OFFSET);\n /**\n * Even though we set TEXT_START_SCALE to HEIGHT_SCALE above, we potentially need\n * to re-compute this here since the HEIGHT_SCALE may have changed.\n */\n END_SCALE = doTitleAndButtonTextsMatch ? `scale(${WIDTH_SCALE}, ${HEIGHT_SCALE})` : `scale(${HEIGHT_SCALE})`;\n }\n /**\n * The midpoints of the back button and the title should align such that the back\n * button and title appear to be centered with each other.\n */\n const backButtonMidPoint = backButtonBox.top + backButtonBox.height / 2;\n const titleMidPoint = (largeTitleBox.height * HEIGHT_SCALE) / 2;\n const END_TRANSLATE_Y = `${backButtonMidPoint - titleMidPoint}px`;\n const BACKWARDS_KEYFRAMES = [\n { offset: 0, opacity: 0, transform: `translate3d(${END_TRANSLATE_X}, ${END_TRANSLATE_Y}, 0) ${END_SCALE}` },\n { offset: 0.1, opacity: 0 },\n { offset: 1, opacity: 1, transform: `translate3d(${START_TRANSLATE_X}, ${START_TRANSLATE_Y}, 0) ${START_SCALE}` },\n ];\n const FORWARDS_KEYFRAMES = [\n {\n offset: 0,\n opacity: 0.99,\n transform: `translate3d(${START_TRANSLATE_X}, ${START_TRANSLATE_Y}, 0) ${START_SCALE}`,\n },\n { offset: 0.6, opacity: 0 },\n { offset: 1, opacity: 0, transform: `translate3d(${END_TRANSLATE_X}, ${END_TRANSLATE_Y}, 0) ${END_SCALE}` },\n ];\n const KEYFRAMES = backDirection ? BACKWARDS_KEYFRAMES : FORWARDS_KEYFRAMES;\n const clonedTitleEl = getClonedElement('ion-title');\n const clonedLargeTitleAnimation = createAnimation();\n clonedTitleEl.innerText = largeTitleEl.innerText;\n clonedTitleEl.size = largeTitleEl.size;\n clonedTitleEl.color = largeTitleEl.color;\n clonedLargeTitleAnimation.addElement(clonedTitleEl);\n clonedLargeTitleAnimation\n .beforeStyles({\n 'transform-origin': `${ORIGIN_X} top`,\n /**\n * Since font size changes will cause\n * the dimension of the large title to change\n * we need to set the cloned title height\n * equal to that of the original large title height.\n */\n height: `${largeTitleBox.height}px`,\n display: '',\n position: 'relative',\n [ORIGIN_X]: TITLE_START_OFFSET,\n })\n .beforeAddWrite(() => {\n largeTitleEl.style.setProperty('opacity', '0');\n })\n .afterAddWrite(() => {\n largeTitleEl.style.setProperty('opacity', '');\n clonedTitleEl.style.setProperty('display', 'none');\n })\n .keyframes(KEYFRAMES);\n rootAnimation.addAnimation(clonedLargeTitleAnimation);\n};\nconst iosTransitionAnimation = (navEl, opts) => {\n var _a;\n try {\n const EASING = 'cubic-bezier(0.32,0.72,0,1)';\n const OPACITY = 'opacity';\n const TRANSFORM = 'transform';\n const CENTER = '0%';\n const OFF_OPACITY = 0.8;\n const isRTL = navEl.ownerDocument.dir === 'rtl';\n const OFF_RIGHT = isRTL ? '-99.5%' : '99.5%';\n const OFF_LEFT = isRTL ? '33%' : '-33%';\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n const backDirection = opts.direction === 'back';\n const contentEl = enteringEl.querySelector(':scope > ion-content');\n const headerEls = enteringEl.querySelectorAll(':scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *');\n const enteringToolBarEls = enteringEl.querySelectorAll(':scope > ion-header > ion-toolbar');\n const rootAnimation = createAnimation();\n const enteringContentAnimation = createAnimation();\n rootAnimation\n .addElement(enteringEl)\n .duration(((_a = opts.duration) !== null && _a !== void 0 ? _a : 0) || DURATION)\n .easing(opts.easing || EASING)\n .fill('both')\n .beforeRemoveClass('ion-page-invisible');\n // eslint-disable-next-line @typescript-eslint/prefer-optional-chain\n if (leavingEl && navEl !== null && navEl !== undefined) {\n const navDecorAnimation = createAnimation();\n navDecorAnimation.addElement(navEl);\n rootAnimation.addAnimation(navDecorAnimation);\n }\n if (!contentEl && enteringToolBarEls.length === 0 && headerEls.length === 0) {\n enteringContentAnimation.addElement(enteringEl.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs')); // REVIEW\n }\n else {\n enteringContentAnimation.addElement(contentEl); // REVIEW\n enteringContentAnimation.addElement(headerEls);\n }\n rootAnimation.addAnimation(enteringContentAnimation);\n if (backDirection) {\n enteringContentAnimation\n .beforeClearStyles([OPACITY])\n .fromTo('transform', `translateX(${OFF_LEFT})`, `translateX(${CENTER})`)\n .fromTo(OPACITY, OFF_OPACITY, 1);\n }\n else {\n // entering content, forward direction\n enteringContentAnimation\n .beforeClearStyles([OPACITY])\n .fromTo('transform', `translateX(${OFF_RIGHT})`, `translateX(${CENTER})`);\n }\n if (contentEl) {\n const enteringTransitionEffectEl = shadow(contentEl).querySelector('.transition-effect');\n if (enteringTransitionEffectEl) {\n const enteringTransitionCoverEl = enteringTransitionEffectEl.querySelector('.transition-cover');\n const enteringTransitionShadowEl = enteringTransitionEffectEl.querySelector('.transition-shadow');\n const enteringTransitionEffect = createAnimation();\n const enteringTransitionCover = createAnimation();\n const enteringTransitionShadow = createAnimation();\n enteringTransitionEffect\n .addElement(enteringTransitionEffectEl)\n .beforeStyles({ opacity: '1', display: 'block' })\n .afterStyles({ opacity: '', display: '' });\n enteringTransitionCover\n .addElement(enteringTransitionCoverEl) // REVIEW\n .beforeClearStyles([OPACITY])\n .fromTo(OPACITY, 0, 0.1);\n enteringTransitionShadow\n .addElement(enteringTransitionShadowEl) // REVIEW\n .beforeClearStyles([OPACITY])\n .fromTo(OPACITY, 0.03, 0.7);\n enteringTransitionEffect.addAnimation([enteringTransitionCover, enteringTransitionShadow]);\n enteringContentAnimation.addAnimation([enteringTransitionEffect]);\n }\n }\n const enteringContentHasLargeTitle = enteringEl.querySelector('ion-header.header-collapse-condense');\n const { forward, backward } = createLargeTitleTransition(rootAnimation, isRTL, backDirection, enteringEl, leavingEl);\n enteringToolBarEls.forEach((enteringToolBarEl) => {\n const enteringToolBar = createAnimation();\n enteringToolBar.addElement(enteringToolBarEl);\n rootAnimation.addAnimation(enteringToolBar);\n const enteringTitle = createAnimation();\n enteringTitle.addElement(enteringToolBarEl.querySelector('ion-title')); // REVIEW\n const enteringToolBarButtons = createAnimation();\n const buttons = Array.from(enteringToolBarEl.querySelectorAll('ion-buttons,[menuToggle]'));\n const parentHeader = enteringToolBarEl.closest('ion-header');\n const inactiveHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.classList.contains('header-collapse-condense-inactive');\n let buttonsToAnimate;\n if (backDirection) {\n buttonsToAnimate = buttons.filter((button) => {\n const isCollapseButton = button.classList.contains('buttons-collapse');\n return (isCollapseButton && !inactiveHeader) || !isCollapseButton;\n });\n }\n else {\n buttonsToAnimate = buttons.filter((button) => !button.classList.contains('buttons-collapse'));\n }\n enteringToolBarButtons.addElement(buttonsToAnimate);\n const enteringToolBarItems = createAnimation();\n enteringToolBarItems.addElement(enteringToolBarEl.querySelectorAll(':scope > *:not(ion-title):not(ion-buttons):not([menuToggle])'));\n const enteringToolBarBg = createAnimation();\n enteringToolBarBg.addElement(shadow(enteringToolBarEl).querySelector('.toolbar-background')); // REVIEW\n const enteringBackButton = createAnimation();\n const backButtonEl = enteringToolBarEl.querySelector('ion-back-button');\n if (backButtonEl) {\n enteringBackButton.addElement(backButtonEl);\n }\n enteringToolBar.addAnimation([\n enteringTitle,\n enteringToolBarButtons,\n enteringToolBarItems,\n enteringToolBarBg,\n enteringBackButton,\n ]);\n enteringToolBarButtons.fromTo(OPACITY, 0.01, 1);\n enteringToolBarItems.fromTo(OPACITY, 0.01, 1);\n if (backDirection) {\n if (!inactiveHeader) {\n enteringTitle\n .fromTo('transform', `translateX(${OFF_LEFT})`, `translateX(${CENTER})`)\n .fromTo(OPACITY, 0.01, 1);\n }\n enteringToolBarItems.fromTo('transform', `translateX(${OFF_LEFT})`, `translateX(${CENTER})`);\n // back direction, entering page has a back button\n enteringBackButton.fromTo(OPACITY, 0.01, 1);\n }\n else {\n // entering toolbar, forward direction\n if (!enteringContentHasLargeTitle) {\n enteringTitle\n .fromTo('transform', `translateX(${OFF_RIGHT})`, `translateX(${CENTER})`)\n .fromTo(OPACITY, 0.01, 1);\n }\n enteringToolBarItems.fromTo('transform', `translateX(${OFF_RIGHT})`, `translateX(${CENTER})`);\n enteringToolBarBg.beforeClearStyles([OPACITY, 'transform']);\n const translucentHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.translucent;\n if (!translucentHeader) {\n enteringToolBarBg.fromTo(OPACITY, 0.01, 'var(--opacity)');\n }\n else {\n enteringToolBarBg.fromTo('transform', isRTL ? 'translateX(-100%)' : 'translateX(100%)', 'translateX(0px)');\n }\n // forward direction, entering page has a back button\n if (!forward) {\n enteringBackButton.fromTo(OPACITY, 0.01, 1);\n }\n if (backButtonEl && !forward) {\n const enteringBackBtnText = createAnimation();\n enteringBackBtnText\n .addElement(shadow(backButtonEl).querySelector('.button-text')) // REVIEW\n .fromTo(`transform`, isRTL ? 'translateX(-100px)' : 'translateX(100px)', 'translateX(0px)');\n enteringToolBar.addAnimation(enteringBackBtnText);\n }\n }\n });\n // setup leaving view\n if (leavingEl) {\n const leavingContent = createAnimation();\n const leavingContentEl = leavingEl.querySelector(':scope > ion-content');\n const leavingToolBarEls = leavingEl.querySelectorAll(':scope > ion-header > ion-toolbar');\n const leavingHeaderEls = leavingEl.querySelectorAll(':scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *');\n if (!leavingContentEl && leavingToolBarEls.length === 0 && leavingHeaderEls.length === 0) {\n leavingContent.addElement(leavingEl.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs')); // REVIEW\n }\n else {\n leavingContent.addElement(leavingContentEl); // REVIEW\n leavingContent.addElement(leavingHeaderEls);\n }\n rootAnimation.addAnimation(leavingContent);\n if (backDirection) {\n // leaving content, back direction\n leavingContent\n .beforeClearStyles([OPACITY])\n .fromTo('transform', `translateX(${CENTER})`, isRTL ? 'translateX(-100%)' : 'translateX(100%)');\n const leavingPage = getIonPageElement(leavingEl);\n rootAnimation.afterAddWrite(() => {\n if (rootAnimation.getDirection() === 'normal') {\n leavingPage.style.setProperty('display', 'none');\n }\n });\n }\n else {\n // leaving content, forward direction\n leavingContent\n .fromTo('transform', `translateX(${CENTER})`, `translateX(${OFF_LEFT})`)\n .fromTo(OPACITY, 1, OFF_OPACITY);\n }\n if (leavingContentEl) {\n const leavingTransitionEffectEl = shadow(leavingContentEl).querySelector('.transition-effect');\n if (leavingTransitionEffectEl) {\n const leavingTransitionCoverEl = leavingTransitionEffectEl.querySelector('.transition-cover');\n const leavingTransitionShadowEl = leavingTransitionEffectEl.querySelector('.transition-shadow');\n const leavingTransitionEffect = createAnimation();\n const leavingTransitionCover = createAnimation();\n const leavingTransitionShadow = createAnimation();\n leavingTransitionEffect\n .addElement(leavingTransitionEffectEl)\n .beforeStyles({ opacity: '1', display: 'block' })\n .afterStyles({ opacity: '', display: '' });\n leavingTransitionCover\n .addElement(leavingTransitionCoverEl) // REVIEW\n .beforeClearStyles([OPACITY])\n .fromTo(OPACITY, 0.1, 0);\n leavingTransitionShadow\n .addElement(leavingTransitionShadowEl) // REVIEW\n .beforeClearStyles([OPACITY])\n .fromTo(OPACITY, 0.7, 0.03);\n leavingTransitionEffect.addAnimation([leavingTransitionCover, leavingTransitionShadow]);\n leavingContent.addAnimation([leavingTransitionEffect]);\n }\n }\n leavingToolBarEls.forEach((leavingToolBarEl) => {\n const leavingToolBar = createAnimation();\n leavingToolBar.addElement(leavingToolBarEl);\n const leavingTitle = createAnimation();\n leavingTitle.addElement(leavingToolBarEl.querySelector('ion-title')); // REVIEW\n const leavingToolBarButtons = createAnimation();\n const buttons = leavingToolBarEl.querySelectorAll('ion-buttons,[menuToggle]');\n const parentHeader = leavingToolBarEl.closest('ion-header');\n const inactiveHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.classList.contains('header-collapse-condense-inactive');\n const buttonsToAnimate = Array.from(buttons).filter((button) => {\n const isCollapseButton = button.classList.contains('buttons-collapse');\n return (isCollapseButton && !inactiveHeader) || !isCollapseButton;\n });\n leavingToolBarButtons.addElement(buttonsToAnimate);\n const leavingToolBarItems = createAnimation();\n const leavingToolBarItemEls = leavingToolBarEl.querySelectorAll(':scope > *:not(ion-title):not(ion-buttons):not([menuToggle])');\n if (leavingToolBarItemEls.length > 0) {\n leavingToolBarItems.addElement(leavingToolBarItemEls);\n }\n const leavingToolBarBg = createAnimation();\n leavingToolBarBg.addElement(shadow(leavingToolBarEl).querySelector('.toolbar-background')); // REVIEW\n const leavingBackButton = createAnimation();\n const backButtonEl = leavingToolBarEl.querySelector('ion-back-button');\n if (backButtonEl) {\n leavingBackButton.addElement(backButtonEl);\n }\n leavingToolBar.addAnimation([\n leavingTitle,\n leavingToolBarButtons,\n leavingToolBarItems,\n leavingBackButton,\n leavingToolBarBg,\n ]);\n rootAnimation.addAnimation(leavingToolBar);\n // fade out leaving toolbar items\n leavingBackButton.fromTo(OPACITY, 0.99, 0);\n leavingToolBarButtons.fromTo(OPACITY, 0.99, 0);\n leavingToolBarItems.fromTo(OPACITY, 0.99, 0);\n if (backDirection) {\n if (!inactiveHeader) {\n // leaving toolbar, back direction\n leavingTitle\n .fromTo('transform', `translateX(${CENTER})`, isRTL ? 'translateX(-100%)' : 'translateX(100%)')\n .fromTo(OPACITY, 0.99, 0);\n }\n leavingToolBarItems.fromTo('transform', `translateX(${CENTER})`, isRTL ? 'translateX(-100%)' : 'translateX(100%)');\n leavingToolBarBg.beforeClearStyles([OPACITY, 'transform']);\n // leaving toolbar, back direction, and there's no entering toolbar\n // should just slide out, no fading out\n const translucentHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.translucent;\n if (!translucentHeader) {\n leavingToolBarBg.fromTo(OPACITY, 'var(--opacity)', 0);\n }\n else {\n leavingToolBarBg.fromTo('transform', 'translateX(0px)', isRTL ? 'translateX(-100%)' : 'translateX(100%)');\n }\n if (backButtonEl && !backward) {\n const leavingBackBtnText = createAnimation();\n leavingBackBtnText\n .addElement(shadow(backButtonEl).querySelector('.button-text')) // REVIEW\n .fromTo('transform', `translateX(${CENTER})`, `translateX(${(isRTL ? -124 : 124) + 'px'})`);\n leavingToolBar.addAnimation(leavingBackBtnText);\n }\n }\n else {\n // leaving toolbar, forward direction\n if (!inactiveHeader) {\n leavingTitle\n .fromTo('transform', `translateX(${CENTER})`, `translateX(${OFF_LEFT})`)\n .fromTo(OPACITY, 0.99, 0)\n .afterClearStyles([TRANSFORM, OPACITY]);\n }\n leavingToolBarItems\n .fromTo('transform', `translateX(${CENTER})`, `translateX(${OFF_LEFT})`)\n .afterClearStyles([TRANSFORM, OPACITY]);\n leavingBackButton.afterClearStyles([OPACITY]);\n leavingTitle.afterClearStyles([OPACITY]);\n leavingToolBarButtons.afterClearStyles([OPACITY]);\n }\n });\n }\n return rootAnimation;\n }\n catch (err) {\n throw err;\n }\n};\n/**\n * The scale of the back button during the animation\n * is computed based on the scale of the large title\n * and vice versa. However, we need to account for slight\n * variations in the size of the large title due to\n * padding and font weight. This value should be used to subtract\n * a small amount from the large title height when computing scales\n * to get more accurate scale results.\n */\nconst LARGE_TITLE_SIZE_OFFSET = 10;\n\nexport { iosTransitionAnimation, shadow };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { c as createAnimation } from './animation-eab5a4ca.js';\nimport { g as getIonPageElement } from './index-3ad7f18b.js';\nimport './index-a5d50daf.js';\nimport './ionic-global-c81d82ab.js';\nimport './index-28849c61.js';\nimport './index-9b0d46f4.js';\nimport './helpers-da915de8.js';\n\nconst mdTransitionAnimation = (_, opts) => {\n var _a, _b, _c;\n const OFF_BOTTOM = '40px';\n const CENTER = '0px';\n const backDirection = opts.direction === 'back';\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n const ionPageElement = getIonPageElement(enteringEl);\n const enteringToolbarEle = ionPageElement.querySelector('ion-toolbar');\n const rootTransition = createAnimation();\n rootTransition.addElement(ionPageElement).fill('both').beforeRemoveClass('ion-page-invisible');\n // animate the component itself\n if (backDirection) {\n rootTransition.duration(((_a = opts.duration) !== null && _a !== void 0 ? _a : 0) || 200).easing('cubic-bezier(0.47,0,0.745,0.715)');\n }\n else {\n rootTransition\n .duration(((_b = opts.duration) !== null && _b !== void 0 ? _b : 0) || 280)\n .easing('cubic-bezier(0.36,0.66,0.04,1)')\n .fromTo('transform', `translateY(${OFF_BOTTOM})`, `translateY(${CENTER})`)\n .fromTo('opacity', 0.01, 1);\n }\n // Animate toolbar if it's there\n if (enteringToolbarEle) {\n const enteringToolBar = createAnimation();\n enteringToolBar.addElement(enteringToolbarEle);\n rootTransition.addAnimation(enteringToolBar);\n }\n // setup leaving view\n if (leavingEl && backDirection) {\n // leaving content\n rootTransition.duration(((_c = opts.duration) !== null && _c !== void 0 ? _c : 0) || 200).easing('cubic-bezier(0.47,0,0.745,0.715)');\n const leavingPage = createAnimation();\n leavingPage\n .addElement(getIonPageElement(leavingEl))\n .onFinish((currentStep) => {\n if (currentStep === 1 && leavingPage.elements.length > 0) {\n leavingPage.elements[0].style.setProperty('display', 'none');\n }\n })\n .fromTo('transform', `translateY(${CENTER})`, `translateY(${OFF_BOTTOM})`)\n .fromTo('opacity', 1, 0);\n rootTransition.addAnimation(leavingPage);\n }\n return rootTransition;\n};\n\nexport { mdTransitionAnimation };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { d as doc } from './index-a5d50daf.js';\nimport { f as focusVisibleElement, c as componentOnReady, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers-da915de8.js';\nimport { OVERLAY_BACK_BUTTON_PRIORITY, shouldUseCloseWatcher } from './hardware-back-button-06ef3c3e.js';\nimport { b as getIonMode, c as config, a as isPlatform } from './ionic-global-c81d82ab.js';\nimport { C as CoreDelegate } from './framework-delegate-63d1a679.js';\nimport { B as BACKDROP_NO_SCROLL } from './gesture-controller-314a54f6.js';\nimport { p as printIonWarning } from './index-9b0d46f4.js';\n\n/**\n * This query string selects elements that\n * are eligible to receive focus. We select\n * interactive elements that meet the following\n * criteria:\n * 1. Element does not have a negative tabindex\n * 2. Element does not have `hidden`\n * 3. Element does not have `disabled` for non-Ionic components.\n * 4. Element does not have `disabled` or `disabled=\"true\"` for Ionic components.\n * Note: We need this distinction because `disabled=\"false\"` is\n * valid usage for the disabled property on ion-button.\n */\nconst focusableQueryString = '[tabindex]:not([tabindex^=\"-\"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^=\"-\"]):not([hidden]):not([disabled]), textarea:not([tabindex^=\"-\"]):not([hidden]):not([disabled]), button:not([tabindex^=\"-\"]):not([hidden]):not([disabled]), select:not([tabindex^=\"-\"]):not([hidden]):not([disabled]), ion-checkbox:not([tabindex^=\"-\"]):not([hidden]):not([disabled]), ion-radio:not([tabindex^=\"-\"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^=\"-\"]):not([hidden]):not([disabled]), .ion-focusable[disabled=\"false\"]:not([tabindex^=\"-\"]):not([hidden])';\n/**\n * Focuses the first descendant in a context\n * that can receive focus. If none exists,\n * a fallback element will be focused.\n * This fallback is typically an ancestor\n * container such as a menu or overlay so focus does not\n * leave the container we are trying to trap focus in.\n *\n * If no fallback is specified then we focus the container itself.\n */\nconst focusFirstDescendant = (ref, fallbackElement) => {\n const firstInput = ref.querySelector(focusableQueryString);\n focusElementInContext(firstInput, fallbackElement !== null && fallbackElement !== void 0 ? fallbackElement : ref);\n};\n/**\n * Focuses the last descendant in a context\n * that can receive focus. If none exists,\n * a fallback element will be focused.\n * This fallback is typically an ancestor\n * container such as a menu or overlay so focus does not\n * leave the container we are trying to trap focus in.\n *\n * If no fallback is specified then we focus the container itself.\n */\nconst focusLastDescendant = (ref, fallbackElement) => {\n const inputs = Array.from(ref.querySelectorAll(focusableQueryString));\n const lastInput = inputs.length > 0 ? inputs[inputs.length - 1] : null;\n focusElementInContext(lastInput, fallbackElement !== null && fallbackElement !== void 0 ? fallbackElement : ref);\n};\n/**\n * Focuses a particular element in a context. If the element\n * doesn't have anything focusable associated with it then\n * a fallback element will be focused.\n *\n * This fallback is typically an ancestor\n * container such as a menu or overlay so focus does not\n * leave the container we are trying to trap focus in.\n * This should be used instead of the focus() method\n * on most elements because the focusable element\n * may not be the host element.\n *\n * For example, if an ion-button should be focused\n * then we should actually focus the native